Felix Stupp
447785286b
Remove not needed import
1 year ago
Felix Stupp
6c5ca895f0
Reformat code
1 year ago
Felix Stupp
b6fcb55fbc
tmdb: Fix retrieval of tags
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
ee6d235a6c
TMDB: Use TagKey for predefined & genre tags
1 year ago
Felix Stupp
0d84f14eec
Add "type: ignore" to packages without types
1 year ago
Felix Stupp
2af78f0a81
extractors/media/tmdb: Remove unused import
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
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
eaa2bcbfe2
Improved change detection for updates
2 years ago
Felix Stupp
c97559ed62
Reworked ExtractedData classes, split into Offline & Online
2 years ago
Felix Stupp
0d75fa72bd
Add TMDB extraction support
2 years ago
Felix Stupp
1139219e23
Add support for TVMaze extraction
2 years ago
Felix Stupp
d6768135f3
MediaExtractor: Fix type hints to Generic from super class
2 years ago
Felix Stupp
9c7fd0d4cd
Extract media_extract_uri_new from media_extract_uri
2 years ago
Felix Stupp
51c1ee5c08
Add missing Optional on _load_object & use explcit is None checks
2 years ago
Felix Stupp
39b3ac278b
extractors: Add & Fix return types
...
tt_rss's _update_object_raw should have never returned a str
2 years ago
Felix Stupp
49cff6f300
uri_suitable: Explicitly check for "is not None" & use helper methods
...
- helper for convertion from boolean to SuitableLevel
2 years ago
Felix Stupp
2e97563e0e
YtdlMediaExtractor._update_object_raw: Add return type
2 years ago
Felix Stupp
babdf8ff64
extr/media/youtube: Reraise exceptions from extraction as ExtractionErrors
2 years ago
Felix Stupp
33ac573a57
extr/media/youtube: Ignore live streams until they are available as VOD
2 years ago
Felix Stupp
922c9fd5a2
extr/media/youtube: Rename extractor to "youtube"
2 years ago
Felix Stupp
0debf4d875
extr/media/youtube: support embed & shorts video links
2 years ago
Felix Stupp
5479db90b8
extr/media/youtube: Also support youtube-nocookie links
2 years ago
Felix Stupp
35024597df
extr/media/youtube: Rewrite URI so extractor works deteministicly
2 years ago
Felix Stupp
6bb65981c9
extr/media/youtube: Explicit check for suitable URI
2 years ago
Felix Stupp
96e12f6fe8
extr/coll,media/youtube: Move setting URLs to media extractor
2 years ago
Felix Stupp
4e62a3fe70
extr/media/youtube: Extract description
2 years ago
Felix Stupp
c9c60d4e2b
extr/media/ytdl: Extract description
2 years ago
Felix Stupp
683a7a2555
extr/media/ytdl: Add thumbnail of video
2 years ago
Felix Stupp
cfa3012798
extr/media/ytdl: Restrict to https?:// urls
2 years ago
Felix Stupp
f0af32c099
Extract media thumbnail automatically from YouTube
2 years ago
Felix Stupp
dfee06106f
ent_dec/extr/med/base:MediaExtractor._get_auth_d: Fix not using TypeVar
2 years ago
Felix Stupp
f236db4084
Format code
...
- server/entertainment_decider/common.py
- server/entertainment_decider/extractors/all/tt_rss.py
- server/entertainment_decider/extractors/all/ytdl.py
- server/entertainment_decider/extractors/collection/__init__.py
- server/entertainment_decider/extractors/collection/tt_rss.py
- server/entertainment_decider/extractors/collection/youtube.py
- server/entertainment_decider/extractors/generic.py
- server/entertainment_decider/extractors/helpers.py
- server/entertainment_decider/extractors/media/__init__.py
- server/entertainment_decider/extractors/media/base.py
- server/entertainment_decider/extractors/media/youtube.py
- server/entertainment_decider/extractors/media/ytdl.py
Applied automatically using black
2 years ago
Felix Stupp
bd72ad77bb
Reformat code (partially using black)
2 years ago
Felix Stupp
d0c2aab529
Added youtube media extractor based on new version of youtubesearchpython
3 years ago
Felix Stupp
5b78e8120c
add MediaCollection|MediaElement.add_single_uri and rewrite appropiate usages
3 years ago
Felix Stupp
6b45d0fbd1
extractors/{collection,media}: Add *_update method
3 years ago
Felix Stupp
4d5f5ea4d4
extractors/{collection,media}: Extract *_expect_extractor "partial" method
3 years ago
Felix Stupp
1bca3104bd
Normalize auto-generated collection titles
3 years ago
Felix Stupp
bc68e40ad7
extractors/media/base: Made 4 functions for author collections private
3 years ago
Felix Stupp
37d24b0cee
Fix searching in extractor list instead of keys
3 years ago
Felix Stupp
6f88153932
model: Added before_update handlers for auto uri linking
3 years ago
Felix Stupp
e41175f0fa
Extracted extractors.all.ytdl module
3 years ago