Felix Stupp
3ec73222b0
MediaCollection: fix name for UriHolder overwrite _add_uri_to_set
...
I have honestly no idea, why the code worked before,.
I probably should investigate that
3 years ago
Felix Stupp
fe35fe57a5
entities: add support for UriHolder._set_primary_uri return value
3 years ago
Felix Stupp
de9d3380fe
add foundation for exid data structures
3 years ago
Felix Stupp
fa91114e71
UriHolder: use returns of changers to indicate an action
...
- it now does not need to check for changes
- rather, its return value is usuable for overriding methods as they now
know if the super already did something if they choose to call it
3 years ago
Felix Stupp
7d47b95aa2
UriHolder: remove bool return values for setters/adders/removers
3 years ago
Felix Stupp
738a362b16
UriHolder.uri_set setter: set return type to None
3 years ago
Felix Stupp
062936ad1d
models/extras/uris: Reformat code
3 years ago
Felix Stupp
10fb1438a9
models/entities: Reformat code
3 years ago
Felix Stupp
9b4b38c093
models/extras/init: add all var
3 years ago
Felix Stupp
cb549319c7
models/extras/init: Reformat code
3 years ago
Felix Stupp
8c2f01fdae
models/entities: Use custom Set type for better typing
3 years ago
Felix Stupp
61a6257534
Add common.search_source_by_keys method
3 years ago
Felix Stupp
f8d80ed209
Remove empty common.py file after migration
3 years ago
Felix Stupp
cdea170178
Add common.trim for strings method
3 years ago
Felix Stupp
90600abf4a
Add common converters date_to_datetime & to_just_number
3 years ago
Felix Stupp
5b4dd2e18b
common: Remove unused import
3 years ago
Felix Stupp
ab4a5eaec8
common: Move update_bool_value to ./_setting_handler
3 years ago
Felix Stupp
ae8f8af954
common: Move call to ./_subprocess
3 years ago
Felix Stupp
1de9c82d4a
common/_itertools: Add documentation to all_same
3 years ago
Felix Stupp
f91f15e81f
common: Move all_same into _itertools
3 years ago
Felix Stupp
0bdc11d5b2
common/_itertools: Add docstrings & comments
3 years ago
Felix Stupp
38772d64e2
Migrate parts of common to common/_itertools
3 years ago
Felix Stupp
4ff8bef871
Add navigatable pages for tags
3 years ago
Felix Stupp
3a1b2725bc
MediaElement: Add sort_key
3 years ago
Felix Stupp
9abf3ead12
UriHolder: Add setter to uri_set
3 years ago
Felix Stupp
86e9fb11fb
Media|Collection: Implement all UriHolder abstracts
3 years 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
3 years ago
Felix Stupp
414765f221
.preferences/init: Add __all__ entries
3 years ago
Felix Stupp
f7e53f3097
Reformat code
3 years ago
Felix Stupp
70be1210d3
entities: Make {collection,media}_list public in Tag
3 years ago
Felix Stupp
d901d3739e
tvmaze: Use extractor name in title dynamically
3 years ago
Felix Stupp
838840d1a0
common: Add (unused) all_same
3 years ago
Felix Stupp
6cfc1fcf3a
common: Add already used helpers fix_iter & iter_lookahead
3 years ago
Felix Stupp
afe0ef0a56
tvmaze: Ignore missing language when generating tags
3 years ago
Felix Stupp
447785286b
Remove not needed import
3 years ago
Felix Stupp
a3dd645cb7
Introduce gen_api_error for all API requests
3 years ago
Felix Stupp
6c5ca895f0
Reformat code
3 years ago
Felix Stupp
b6fcb55fbc
tmdb: Fix retrieval of tags
3 years 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)
3 years ago
Felix Stupp
44a630c074
Split models/entities into multiple files
3 years ago
Felix Stupp
a3ea1548aa
entertainment_decider/models/init: Add __all__
3 years ago
Felix Stupp
cf66f47b2e
Rebuild configuration loading mechanisms with Flask tools
...
- and extract Flask app initialization mostly into module
3 years ago
Felix Stupp
fc8389b3b2
models/entities: Make CUSTOM_TABLE_DEF's SQLs lazy
...
because _table_ is not yet available, but later when needed
3 years ago
Felix Stupp
f3ec68fa73
Add TypeAlias LazyValue
3 years ago
Felix Stupp
1b05346185
extras/__init__: Declare __all__
3 years ago
Felix Stupp
8d5ac34bc6
Separate MediaThumbnail & *Cache tables
3 years ago
Felix Stupp
0271728366
Reformat code
3 years ago
Felix Stupp
e6fa101c1d
MediaThumbnail.download: Raise error if thumbnail has no valid mime type
3 years ago
Felix Stupp
518e0fd675
Add rss extractor
3 years ago
Felix Stupp
159e8842e4
TVMaze: Auto remove older episodes
3 years ago