Felix Stupp
86e9fb11fb
Media|Collection: Implement all UriHolder abstracts
1 year ago
Felix Stupp
2f132ee701
Fix circular dependency with UriHolder by using abstract _clear_uri_set
...
- instead of abstract _set_uri_set
- removed circular dependency on UriHolder.add_uris
1 year ago
Felix Stupp
414765f221
.preferences/init: Add __all__ entries
1 year ago
Felix Stupp
f7e53f3097
Reformat code
1 year ago
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
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
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
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
Felix Stupp
1e748c4f1a
youtube: Ignore trailing slashes and fragments on URIs
2 years ago
Felix Stupp
088269f272
youtube: Add tags for keywords
2 years ago
Felix Stupp
49c5d47893
Extracted youtube datatypes to extractors/all module
2 years ago
Felix Stupp
3a19ecbfcc
youtube: Add support for working with extracted keywords
2 years ago
Felix Stupp
6a232bfab9
extractors/*/youtube: Also allow mobile URIs
2 years ago
Felix Stupp
15bb848610
tag_scoring: Rework share_score to be recursive on direct tags
2 years ago
Felix Stupp
52c7934acb
Decouple tag_scoring from model entities
...
By using Protocol typing
2 years ago