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
ffc0550342
Reformat code
2 years ago
Felix Stupp
2c92ffe552
app.py: Remove not required import
2 years ago
Felix Stupp
e7ece868dd
time_since filter: Do show absolute time format if media is too old
...
Currently set to one year
2 years ago
Felix Stupp
437d907a1d
time_since filter: Do not show year as relative time
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
332b2b076d
Add endpoint for thumbnails and redirect to it
2 years ago
Felix Stupp
b084c82c5a
app.show_media_thumb: add TODO for sending 404 with default thumbnail
2 years ago
Felix Stupp
5853bf9f40
app.show_media_thumb: Explain why only sending 404 on invalid element
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
e043265b23
Add support for configuring DB charset
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
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
059111068a
update_element_lookup_cache on forced single update
2 years ago
Felix Stupp
eaa2bcbfe2
Improved change detection for updates
2 years ago
Felix Stupp
5bbef2a5a1
recommendations/adaptive: Require max_length, ask if not given
...
- to speed up usage of adaptive recommendations
- as users had no chance of inserting a max length (which speeds up
calculation) before a first general search was started
- now users can insert a max length before starting a first calculation
2 years ago
Felix Stupp
328f234711
Refractor models.py into 2 submodules
2 years ago