Felix Stupp
70be1210d3
entities: Make {collection,media}_list public in Tag
1 year ago
Felix Stupp
d901d3739e
tvmaze: Use extractor name in title dynamically
1 year ago
Felix Stupp
838840d1a0
common: Add (unused) all_same
1 year ago
Felix Stupp
6cfc1fcf3a
common: Add already used helpers fix_iter & iter_lookahead
1 year ago
Felix Stupp
afe0ef0a56
tvmaze: Ignore missing language when generating tags
1 year ago
Felix Stupp
447785286b
Remove not needed import
1 year ago
Felix Stupp
a3dd645cb7
Introduce gen_api_error for all API requests
1 year ago
Felix Stupp
0d9a3a54e1
app: Fix preference_from_base64 for generic PreferenceScore
1 year ago
Felix Stupp
029651821b
Decrease log level for included modules
1 year ago
Felix Stupp
d608d0c98e
Improve logging format to include module_name & level
1 year ago
Felix Stupp
4779d7ba7f
vscode: Add settings for python linting & testing
1 year ago
Felix Stupp
6c5ca895f0
Reformat code
1 year ago
Felix Stupp
b6fcb55fbc
tmdb: Fix retrieval of tags
1 year ago
Felix Stupp
1e27f7b3d1
UriHolder: Make uri & uri_set proper properties
...
- to avoid direct DB access
- to allow for getter & setter functions
- makes consistency checks on each lookup unneccesary
- propose async consistency checks (TODO)
1 year ago
Felix Stupp
44a630c074
Split models/entities into multiple files
2 years ago
Felix Stupp
a3ea1548aa
entertainment_decider/models/init: Add __all__
2 years ago
Felix Stupp
cf66f47b2e
Rebuild configuration loading mechanisms with Flask tools
...
- and extract Flask app initialization mostly into module
2 years ago
Felix Stupp
ffc0550342
Reformat code
2 years ago
Felix Stupp
2c92ffe552
app.py: Remove not required import
2 years ago
Felix Stupp
e7ece868dd
time_since filter: Do show absolute time format if media is too old
...
Currently set to one year
2 years ago
Felix Stupp
437d907a1d
time_since filter: Do not show year as relative time
2 years ago
Felix Stupp
fc8389b3b2
models/entities: Make CUSTOM_TABLE_DEF's SQLs lazy
...
because _table_ is not yet available, but later when needed
2 years ago
Felix Stupp
f3ec68fa73
Add TypeAlias LazyValue
2 years ago
Felix Stupp
1b05346185
extras/__init__: Declare __all__
2 years ago
Felix Stupp
8d5ac34bc6
Separate MediaThumbnail & *Cache tables
2 years ago
Felix Stupp
332b2b076d
Add endpoint for thumbnails and redirect to it
2 years ago
Felix Stupp
b084c82c5a
app.show_media_thumb: add TODO for sending 404 with default thumbnail
2 years ago
Felix Stupp
5853bf9f40
app.show_media_thumb: Explain why only sending 404 on invalid element
2 years ago
Felix Stupp
0271728366
Reformat code
2 years ago
Felix Stupp
e6fa101c1d
MediaThumbnail.download: Raise error if thumbnail has no valid mime type
2 years ago
Felix Stupp
518e0fd675
Add rss extractor
2 years ago
Felix Stupp
159e8842e4
TVMaze: Auto remove older episodes
2 years ago
Felix Stupp
4d7b3a09ab
extractors/collection/tmdb: Remove unused imports
2 years ago
Felix Stupp
ee6d235a6c
TMDB: Use TagKey for predefined & genre tags
2 years ago
Felix Stupp
4d10e70fb2
TMDB: Add new type for GenreTitle
2 years ago
Felix Stupp
e24b5b2458
TVMaze: use predefined series tag instead of general video tag
2 years ago
Felix Stupp
0d84f14eec
Add "type: ignore" to packages without types
2 years ago
Felix Stupp
327919d469
Reformat code
2 years ago
Felix Stupp
2af78f0a81
extractors/media/tmdb: Remove unused import
2 years ago
Felix Stupp
6cba603d9c
Define a set of predefined tags (video, movie, series)
2 years ago
Felix Stupp
bc6a25b914
MediaCollection.add_episode: Do not update season/episode info if set to 0
2 years ago
Felix Stupp
30ac2b1240
Tag: On non-preference tags see super tags as assigned ones
...
- hence letting a non-preference tag be accounted for nothing
- but using its "super tags" as the direct replacements for it
2 years ago
Felix Stupp
dd583e9aea
TagKey: Allow Tag objects for super_tags
...
Subsequently for get_tag as well
2 years ago
Felix Stupp
e97b09f495
Add super "extractor" tag for extractor's tags
2 years ago
Felix Stupp
952fd088c9
Add tag based on extractor used
2 years ago
Felix Stupp
ecd43706fd
Add long_name, key to general extractor attributes
2 years ago
Felix Stupp
a3a07e6ce0
tvmaze: Assign tags based on country, language, network/webchannel, genre, type based on TagKey
...
- type & genre were already supported before but now use TagKey instead of correctly titled tags
2 years ago
Felix Stupp
c5eb23ebff
Add TagKey
...
- tags generated automatically & managed by the system & extractors
- can be found by searching for their tag keys
2 years ago
Felix Stupp
b5ac2ab931
Add module for localization tags (namely country & language tags)
2 years ago
Felix Stupp
203a9abaaa
Reformat code
2 years ago