Felix Stupp
dc8fe05649
models/sql_helpers: add sql_condition_join
9 months ago
Felix Stupp
4554988b6a
MediaCollectionLink.sorted: add arg reverse
9 months ago
Felix Stupp
4b448b364d
models/entities: reformat code
9 months ago
Felix Stupp
7f7971b9e6
Add Media(Element|Collection).json_summary
10 months ago
Felix Stupp
2e81fc188f
models: Extract db into own file to prevent circular dependency
11 months ago
Felix Stupp
c2c7cd69ed
Rename models/extras/exids_base to exidkeys
11 months ago
Felix Stupp
bf8744a700
UriHolder._clear_uri_set: Change docstring to reflect clearing
11 months ago
Felix Stupp
0d6ebd25e6
UriHolder: disable uri_set setter due to already known reason
12 months ago
Felix Stupp
457eeea6db
entities: UriHolder subclasses call super & avoid doubled action
12 months ago
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
12 months ago
Felix Stupp
fe35fe57a5
entities: add support for UriHolder._set_primary_uri return value
12 months ago
Felix Stupp
de9d3380fe
add foundation for exid data structures
12 months 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
12 months ago
Felix Stupp
7d47b95aa2
UriHolder: remove bool return values for setters/adders/removers
12 months ago
Felix Stupp
738a362b16
UriHolder.uri_set setter: set return type to None
12 months ago
Felix Stupp
062936ad1d
models/extras/uris: Reformat code
12 months ago
Felix Stupp
10fb1438a9
models/entities: Reformat code
12 months ago
Felix Stupp
9b4b38c093
models/extras/init: add all var
12 months ago
Felix Stupp
cb549319c7
models/extras/init: Reformat code
12 months ago
Felix Stupp
8c2f01fdae
models/entities: Use custom Set type for better typing
12 months ago
Felix Stupp
4ff8bef871
Add navigatable pages for tags
12 months ago
Felix Stupp
3a1b2725bc
MediaElement: Add sort_key
12 months ago
Felix Stupp
9abf3ead12
UriHolder: Add setter to uri_set
12 months ago
Felix Stupp
86e9fb11fb
Media|Collection: Implement all UriHolder abstracts
12 months 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
12 months ago
Felix Stupp
f7e53f3097
Reformat code
12 months ago
Felix Stupp
70be1210d3
entities: Make {collection,media}_list public in Tag
12 months ago
Felix Stupp
6c5ca895f0
Reformat code
12 months 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)
12 months ago
Felix Stupp
44a630c074
Split models/entities into multiple files
1 year ago
Felix Stupp
a3ea1548aa
entertainment_decider/models/init: Add __all__
1 year ago
Felix Stupp
fc8389b3b2
models/entities: Make CUSTOM_TABLE_DEF's SQLs lazy
...
because _table_ is not yet available, but later when needed
1 year ago
Felix Stupp
8d5ac34bc6
Separate MediaThumbnail & *Cache tables
1 year ago
Felix Stupp
0271728366
Reformat code
1 year ago
Felix Stupp
e6fa101c1d
MediaThumbnail.download: Raise error if thumbnail has no valid mime type
1 year ago
Felix Stupp
6cba603d9c
Define a set of predefined tags (video, movie, series)
1 year ago
Felix Stupp
bc6a25b914
MediaCollection.add_episode: Do not update season/episode info if set to 0
1 year 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
1 year ago
Felix Stupp
dd583e9aea
TagKey: Allow Tag objects for super_tags
...
Subsequently for get_tag as well
1 year ago
Felix Stupp
c5eb23ebff
Add TagKey
...
- tags generated automatically & managed by the system & extractors
- can be found by searching for their tag keys
1 year ago
Felix Stupp
b5ac2ab931
Add module for localization tags (namely country & language tags)
1 year 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