Commit graph

31 commits

Author SHA1 Message Date
Markus Nyman
ad00347714 Split stuff to own files 2023-01-17 02:04:53 +02:00
Markus Nyman
d236d8d337 Small cleanup 2023-01-17 02:04:53 +02:00
Markus Nyman
52349668d7 Move common logic to base Processor class 2023-01-17 02:04:53 +02:00
Markus Nyman
fc13aa9a78 Process TV Shows and Movies using Processor class 2023-01-17 02:04:53 +02:00
Markus Nyman
e668a6dec5 Make Searcher abstract 2023-01-17 02:04:53 +02:00
Markus Nyman
118e5f8882 Add TVTimeShow class 2023-01-17 02:04:53 +02:00
Markus Nyman
bfc6b171b3 Remove redundant dataclass annotation 2023-01-17 02:04:53 +02:00
Markus Nyman
9082e176fc WIP: Processor class 2023-01-17 02:04:53 +02:00
Markus Nyman
8a5453c8b2 Implement general Searcher to search and handle search results 2023-01-17 02:04:53 +02:00
Markus Nyman
8e92ce7934 Extract finding single result to common function 2023-01-17 02:04:53 +02:00
Markus Nyman
fdc924ee0f Introduce common get_item function 2023-01-17 02:04:53 +02:00
Markus Nyman
076562c106 WIP: refactor 2023-01-17 02:04:53 +02:00
Markus Nyman
5d2143c6f6 Fix TinyDB movie name 2023-01-17 02:04:53 +02:00
Markus Nyman
b03bfab5cb Remove unnecessary param 2023-01-17 02:04:53 +02:00
Markus Nyman
9482979988 Extract getting same name items to common function 2023-01-17 02:04:53 +02:00
Markus Nyman
c2e644fad0 Simple refactor 2023-01-17 02:04:53 +02:00
Markus Nyman
2a78d7ecbe Fix movie query 2023-01-17 02:04:53 +02:00
Markus Nyman
f31879f985 Extract menu selection to own function 2023-01-17 02:04:53 +02:00
Markus Nyman
c58ef45fed Specify TV Shows and Movies as default action 2023-01-17 02:04:53 +02:00
Markus Nyman
2b8c393c6a Remove old Title fields 2023-01-17 02:04:53 +02:00
Markus Nyman
f81be51903 Remove use of Exodus class 2023-01-17 02:04:53 +02:00
Markus Nyman
e9c3d99c53 Naming to snake_case 2023-01-17 02:04:53 +02:00
Markus Nyman
0ab9772b33 Prompt config if it doesn't exist 2023-01-17 02:04:53 +02:00
Markus Nyman
7d8117afba Config to dataclass 2023-01-17 02:04:53 +02:00
7974a2c5d0 Add bell on manual input prompt (suggested by @WeirdAlex03) 2023-01-17 02:04:53 +02:00
134eb720e8 Just use one database 2023-01-17 02:04:53 +02:00
d452f28fee Present menu before authentication. add entries 2023-01-17 02:04:52 +02:00
5ec8c1323e Merged scripts 2023-01-17 02:04:06 +02:00
SinTan1729
01ab7897c2
Added support for movies (#17)
* Initial working

* Removed .vscode

* Cleanup

* Merged scripts

* Updated README.md

* Present menu before authentication. add entries

* Just use one database

* Remove irrelevant entries

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

* Separate file is no longer used for movies

* 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

Co-authored-by: Markus Nyman <markus@nyman.dev>
2023-01-15 15:00:52 +00:00
Alex M
577f7e09b6
Add bell to manual input prompt
A small but significant quality-of-life improvement to get the user's attention when the script stops to wait for them to select a match
2023-01-03 22:52:38 -05:00
Ádám Kocsis
91a58e66ad Fixes the filename of the main python script to match what is in the README.
Adds the pytrakt.json to avoid error for first run.
Changes the path of pytrakt.json to the working directory instead of home folder.
2022-03-04 09:12:54 +01:00
Renamed from TimeToTrackt.py (Browse further)