36 Commits (3ec73222b0aa2b10e276feadd696fd3973c20113)

Author SHA1 Message Date
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 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 f7e53f3097
Reformat code 3 years ago
Felix Stupp 70be1210d3
entities: Make {collection,media}_list public in Tag 3 years ago
Felix Stupp 6c5ca895f0
Reformat code 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 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 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 6cba603d9c
Define a set of predefined tags (video, movie, series) 3 years ago
Felix Stupp bc6a25b914
MediaCollection.add_episode: Do not update season/episode info if set to 0 3 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
3 years ago
Felix Stupp dd583e9aea
TagKey: Allow Tag objects for super_tags
Subsequently for get_tag as well
3 years ago
Felix Stupp c5eb23ebff
Add TagKey
- tags generated automatically & managed by the system & extractors
- can be found by searching for their tag keys
3 years ago
Felix Stupp b5ac2ab931
Add module for localization tags (namely country & language tags) 3 years ago
Felix Stupp 52c7934acb
Decouple tag_scoring from model entities
By using Protocol typing
3 years ago
Felix Stupp 8472fc4c0d
Add maintenance page with button to scrub temporary tags 3 years ago
Felix Stupp ed1e5b3f26
Extract temporary tag management in own methods
Also added way to uniquely identifiying them
3 years ago
Felix Stupp 328f234711
Refractor models.py into 2 submodules 3 years ago