Commit graph

56 commits

Author SHA1 Message Date
Scott Wallace cc89e95403
Refactoring:
* Remove the movie poster parsing
* Fix some code issues
* Increase blurb trunctation length
2024-11-28 09:04:03 +00:00
Scott Wallace 0c400fb4d5
Fix bad image downloads 2023-05-31 11:53:09 +01:00
lomion 94917d0b98
Fixed flake8 2023-03-06 16:59:02 +00:00
lomion 78eedc51de
Minor cleanups
Improved text for popular result
2023-03-06 16:59:01 +00:00
lomion 0f3cb6b3d3
First implementation of event database for popular 2023-03-06 16:59:01 +00:00
markus 09a59717be
Changed command order in help and README. Improved README text. 2023-03-06 16:59:01 +00:00
markus f583af7e4f
Fixed missing await 2023-03-06 16:59:01 +00:00
lomion 50482ea2ca
Added details to popular 2023-03-06 16:59:00 +00:00
markus 8d32883c71
Added vote average 2023-03-06 16:59:00 +00:00
Scott Wallace 4d9f76b9e0
Add year searches to TV shows 2021-12-12 10:26:28 +00:00
Lomion 80782de641 Merge remote-tracking branch 'origin/aiohttp' into develop 2021-11-11 13:44:11 +01:00
lomion e0497912d0 Merge remote-tracking branch 'refs/remotes/origin/aiohttp' into aiohttp 2021-11-08 22:40:34 +01:00
lomion 81ce86fc60 Clean up
Removes search for id
2021-11-08 22:33:30 +01:00
lomion 16336d61f3 Fixed MoviesPopular 2021-11-08 22:28:34 +01:00
lomion 954a55e628 Made Popular async as well
Fixed unittests
TODO: Use self.api in all routines
2021-09-23 22:09:49 +02:00
lomion 28c2a9e474 Improved Movie and TvShow search 2021-09-23 13:39:40 +02:00
lomion aecf52a095 Renamed aiphttp_tester.py to aiohttp_tester.py
Fixes flake
2021-09-22 09:54:27 +02:00
lomion 42555849b2 Fix "No answer if no movie was found" 2021-08-20 10:07:57 +02:00
lomion 2ff78cfd4a Working 2021-07-03 09:29:08 +02:00
lomion 460cb51d86 First tests. Gathering 2 requests takes longer than serial handling 2021-05-14 17:15:13 +02:00
lomion 483372284c Add "Most Popular" - Part2 2021-03-16 21:45:27 +01:00
lomion 53d14f153c Add "Most Popular" - Part 1 2021-03-16 17:56:02 +01:00
lomion bb8b6f63f1 Include TmdbBot class 2021-03-16 16:51:57 +01:00
lomion 24a84e508f Fixed Flake error "F541 f-string is missing placeholders" 2021-03-16 16:40:00 +01:00
lomion 2eb62a790f Added flake to drone.yaml
Changes proposed by flake
2021-03-16 16:35:02 +01:00
lomion 2d40cd9444 Removed mime type from upload_media call for better preview compatibility. Works better in Android Web and Fluffy Chat. 2021-03-06 21:28:55 +01:00
lomion 41180653ac Merge branch 'develop' of codeberg.org:lomion/tmdb-bot into develop 2021-03-04 21:28:38 +01:00
lomion 91ac13cf29 Forced image upload to mimetype "image/jpg"
Test result: Image download working with all clients. Image preview is working with Element Android and FluffyChat but not in Element Web.
Todo: Get mimetype from downloaded image or make sure its always jpg
2021-02-17 12:54:35 +01:00
lomion 92f89dc9a8 Added mime type to poster message. This might address #10 but needs to be verified (not reproduceable). 2021-02-16 15:00:01 +01:00
lomion e3ce109ceb Merge branch 'master' into develop 2021-01-16 10:56:46 +01:00
lomion aba4a0e5da Moved construct_html_message into own class. Next step: additional method to create body. 2021-01-16 09:23:51 +01:00
lomion 94baaf9296 Fixed handling of poster size and language if user did not set these values 2020-09-29 09:49:16 +02:00
lomion 40ea8c0086 Minor fix in search_movies 2020-09-16 17:00:42 +02:00
lomion 3b971ffc7f Updated README.md for poster size command.
Final tas kfor #6
2020-09-11 12:35:55 +02:00
lomion 7b92383d0c Finalized poster size feature 2020-09-11 11:15:04 +02:00
lomion 0127ad1f66 Initial creation of poster size implementation 2020-09-09 15:18:22 +02:00
lomion 14d9ff8654 Ticket #9: Changed default language to english 2020-08-18 15:33:19 +02:00
lomion 90476dd9eb Ticket #8: Changed HTML format of help text since <br> tag seams not to work with the brand new element for Android ... 2020-08-18 15:31:13 +02:00
lomion 03a63987ef Improved command parser for wrong command syntax 2020-07-20 14:07:19 +02:00
lomion fbaf6c6666 Unifed command (see ticket #7) 2020-07-03 15:06:33 +02:00
lomion 14c3b7a043 Merge branch 'develop' 2020-06-26 18:19:21 +02:00
lomion 8408c63191 Added help command !movie-help or !tvshow-help 2020-06-26 17:43:13 +02:00
lomion 0eafc0fc3c Enhanced movie search by release year 2020-06-26 16:41:44 +02:00
lomion 59a6ce50bf Handling for Tv Shows (tmdb part) 2020-06-24 11:17:19 +02:00
lomion 984ce533e5 Turned movie title into link 2020-06-24 10:51:42 +02:00
lomion 10955cc96f Handling for Tv Shows (tmdb_api part) 2020-06-24 10:45:18 +02:00
lomion 2c5d3607f3 Changed release to 0.1.0
Some flake8 improvements
2020-06-23 20:12:43 +02:00
lomion 4d2f386b4f Started refactoring tmdb_api 2020-06-23 17:47:37 +02:00
lomion 75d2682458 Moved database to own file 2020-06-23 17:34:34 +02:00
lomion 053f7a3785 Created unittest for HTML creation and refactored code to use it 2020-06-23 15:47:40 +02:00