Felix Stupp
6c5ca895f0
Reformat code
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
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
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
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
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
52c7934acb
Decouple tag_scoring from model entities
...
By using Protocol typing
2 years ago
Felix Stupp
8472fc4c0d
Add maintenance page with button to scrub temporary tags
2 years ago
Felix Stupp
ed1e5b3f26
Extract temporary tag management in own methods
...
Also added way to uniquely identifiying them
2 years ago
Felix Stupp
328f234711
Refractor models.py into 2 submodules
2 years ago