Commit Graph

2 Commits

Author SHA1 Message Date
Thibault Le Cornec d721a28ba4
Update Trakt dependency from trakt==3.4.0 to pytrakt~=3.4.30 (#43)
* Update Trakt dependency from trakt==3.4.0 to pytrakt~=3.4.30

Resolve issue #42

* Fix retrieve of the season number
2024-03-02 15:48:17 +00:00
Markus Nyman 26cd599e45
Movie support and refactoring (#26)
* Initial working

* Cleanup

* Merged scripts

* Present menu before authentication. add entries

* Just use one database

* Add bell on manual input prompt (suggested by @WeirdAlex03)

* Config to dataclass

* Prompt config if it doesn't exist

* Naming to snake_case

* Remove use of Exodus class

* Remove old Title fields

* Specify TV Shows and Movies as default action

* Extract menu selection to own function

* Fix movie query

* Simple refactor

* Extract getting same name items to common function

* Remove unnecessary param

* Fix TinyDB movie name

* WIP: refactor

* Introduce common get_item function

* Extract finding single result to common function

* Implement general Searcher to search and handle search results

* WIP: Processor class

* Remove redundant dataclass annotation

* Add TVTimeShow class

* Make Searcher abstract

* Process TV Shows and Movies using Processor class

* Move common logic to base Processor class

* Small cleanup

* Split stuff to own files

* Fix error

* Fix search bug

* Improve logging

* Change is not to is None

* Handle general exception when processing

* Fix grammar

* Fix typo

* Fix case where nothing is found

* Read release date where possible

* Progress to percentage

Co-authored-by: SinTan1729 <sayantan.santra689@gmail.com>
2023-01-17 11:12:52 +00:00