490 Commits (master)

Author SHA1 Message Date
Felix Stupp 86e9fb11fb
Media|Collection: Implement all UriHolder abstracts 11 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
11 months ago
Felix Stupp dde3395d14
requirements: Add types for requests and pyyaml for development 11 months ago
Felix Stupp 6f05900c71
requirements: Use custom version for Jinja 11 months ago
Felix Stupp bcfa92dfb9
requirements: Add already used libraries 11 months ago
Felix Stupp 36f4bf9ec4
requirements: Use mysqlclient for Pony as speed up 11 months ago
Felix Stupp a475a234fe
requirements: Use github for tinytinypy 11 months ago
Felix Stupp 9181f4b292
requirements: Use github for python-jsoncache library 11 months ago
Felix Stupp 3ac9a87cbf
requirements: Replace youtube-search-python with custom version 11 months ago
Felix Stupp 4bbe0e3f87
Replace youtube-dl with yt-dlp 11 months ago
Felix Stupp 9b24333346
requirements: Replace flask dependency with custom variant 11 months ago
Felix Stupp fb28eb99ea
Also update element lookup cache on mass extract collections with errors 11 months ago
Felix Stupp 414765f221
.preferences/init: Add __all__ entries 11 months ago
Felix Stupp f7e53f3097
Reformat code 11 months ago
Felix Stupp 70be1210d3
entities: Make {collection,media}_list public in Tag 11 months ago
Felix Stupp d901d3739e
tvmaze: Use extractor name in title dynamically 11 months ago
Felix Stupp 838840d1a0
common: Add (unused) all_same 11 months ago
Felix Stupp 6cfc1fcf3a
common: Add already used helpers fix_iter & iter_lookahead 11 months ago
Felix Stupp afe0ef0a56
tvmaze: Ignore missing language when generating tags 11 months ago
Felix Stupp 447785286b
Remove not needed import 11 months ago
Felix Stupp a3dd645cb7
Introduce gen_api_error for all API requests 11 months ago
Felix Stupp 0d9a3a54e1
app: Fix preference_from_base64 for generic PreferenceScore 11 months ago
Felix Stupp 029651821b
Decrease log level for included modules 11 months ago
Felix Stupp d608d0c98e
Improve logging format to include module_name & level 11 months ago
Felix Stupp 4779d7ba7f
vscode: Add settings for python linting & testing 11 months ago
Felix Stupp 6c5ca895f0
Reformat code 11 months ago
Felix Stupp b6fcb55fbc
tmdb: Fix retrieval of tags 11 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)
11 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 cf66f47b2e
Rebuild configuration loading mechanisms with Flask tools
- and extract Flask app initialization mostly into module
1 year ago
Felix Stupp ffc0550342
Reformat code 1 year ago
Felix Stupp 2c92ffe552
app.py: Remove not required import 1 year ago
Felix Stupp e7ece868dd
time_since filter: Do show absolute time format if media is too old
Currently set to one year
1 year ago
Felix Stupp 437d907a1d
time_since filter: Do not show year as relative time 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 f3ec68fa73
Add TypeAlias LazyValue 1 year ago
Felix Stupp 1b05346185
extras/__init__: Declare __all__ 1 year ago
Felix Stupp 8d5ac34bc6
Separate MediaThumbnail & *Cache tables 1 year ago
Felix Stupp 332b2b076d
Add endpoint for thumbnails and redirect to it 1 year ago
Felix Stupp b084c82c5a
app.show_media_thumb: add TODO for sending 404 with default thumbnail 1 year ago
Felix Stupp 5853bf9f40
app.show_media_thumb: Explain why only sending 404 on invalid element 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 518e0fd675
Add rss extractor 1 year ago
Felix Stupp 159e8842e4
TVMaze: Auto remove older episodes 1 year ago
Felix Stupp 4d7b3a09ab
extractors/collection/tmdb: Remove unused imports 1 year ago
Felix Stupp ee6d235a6c
TMDB: Use TagKey for predefined & genre tags 1 year ago
Felix Stupp 4d10e70fb2
TMDB: Add new type for GenreTitle 1 year ago
Felix Stupp e24b5b2458
TVMaze: use predefined series tag instead of general video tag 1 year ago
Felix Stupp 0d84f14eec
Add "type: ignore" to packages without types 1 year ago
Felix Stupp 327919d469
Reformat code 1 year ago
Felix Stupp 2af78f0a81
extractors/media/tmdb: Remove unused import 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 e97b09f495
Add super "extractor" tag for extractor's tags 1 year ago
Felix Stupp 952fd088c9
Add tag based on extractor used 1 year ago
Felix Stupp ecd43706fd
Add long_name, key to general extractor attributes 1 year 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
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 203a9abaaa
Reformat code 1 year ago
Felix Stupp 1e748c4f1a
youtube: Ignore trailing slashes and fragments on URIs 1 year ago
Felix Stupp 088269f272
youtube: Add tags for keywords 1 year ago
Felix Stupp 49c5d47893
Extracted youtube datatypes to extractors/all module 1 year ago
Felix Stupp 3a19ecbfcc
youtube: Add support for working with extracted keywords 1 year ago
Felix Stupp 6a232bfab9
extractors/*/youtube: Also allow mobile URIs 1 year ago
Felix Stupp e043265b23
Add support for configuring DB charset 1 year ago
Felix Stupp 15bb848610
tag_scoring: Rework share_score to be recursive on direct tags 1 year ago
Felix Stupp 52c7934acb
Decouple tag_scoring from model entities
By using Protocol typing
1 year ago
Felix Stupp 8472fc4c0d
Add maintenance page with button to scrub temporary tags 1 year ago
Felix Stupp ed1e5b3f26
Extract temporary tag management in own methods
Also added way to uniquely identifiying them
1 year ago
Felix Stupp 059111068a
update_element_lookup_cache on forced single update 1 year ago
Felix Stupp eaa2bcbfe2
Improved change detection for updates 1 year 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
1 year ago
Felix Stupp 328f234711
Refractor models.py into 2 submodules 1 year ago
Felix Stupp 9fabb39f86
models: Reformat generate_preference_list in sub-methods 1 year ago
Felix Stupp da6c58e058
generate_preference_list: Add list prefilter 2 years ago
Felix Stupp a29da46bfe
generate_preference_list: Use SQL to retrieve tags of elements 2 years ago
Felix Stupp 5a16fc5dc6
models: generate_preference_list: Add comments 2 years ago
Felix Stupp c4f9d7aac1
models.py: Reformat code 2 years ago
Felix Stupp 8810f4cc6d
models.py: Declare TypeAlias explicitly 2 years ago
Felix Stupp d6d65574bd
Add adaptive recommendations 2 years ago
Felix Stupp 5b875a6e05
models: generate_preference_list:gen_score: rewrite 2 years ago
Felix Stupp 4775ee582b
Tag: make notes nullable 2 years ago
Felix Stupp 4a7381ea8e
tag_list: Show tag notes 2 years ago
Felix Stupp d8bfb5061d
Allow to manually set single media dependencies 2 years ago
Felix Stupp e964b3f3f3
Add button to show recommendation per media 2 years ago
Felix Stupp b41e40dea8
Add sidebar with common recommendations (short filler, series episode, movies) 2 years ago
Felix Stupp c51a9acbe9
generate_preference_list: Declare base as optional 2 years ago
Felix Stupp 073af5d2e6
thumbnail view: Allow selecting multiple elements to mark as
first JavaScript supported feature
2 years ago
Felix Stupp 9fd314115a
thumbnail view: Hide common trails on media titles in collections 2 years ago
Felix Stupp 73343f0f82
macros/thumbnail_view_list: Allow faster mass check for considerable overlay 2 years ago
Felix Stupp 688433d22a
thumbnail view: Add overlay to unconsidered media
- calling functions can define, if overlay or check for considerable is required
2 years ago
Felix Stupp 4866901159
thumbnail view: Search for collection link if requested
- uses one found, if only one was found to prevent issues when multiple
would be possible
2 years ago
Felix Stupp e8ee39aa29
thumbnail view: Link to collection if known & requested 2 years ago
Felix Stupp a2c7ad2bbe
thumbnail view: show left time when video started 2 years ago
Felix Stupp d1a303caa5
thumbnail view: Show colored marker when video already started 2 years ago