110 Commits (e486dccf8ebdd2b7cc957695ea4cb8a00e636342)

Author SHA1 Message Date
Felix Stupp e486dccf8e
Add capability to mark TT-RSS feed items as read 3 years ago
Felix Stupp 321847446b
Add sorting mechanism post collection update
e.g. sort some collections strictly on release date
(if collection author is not capable of sorting them ...)
3 years ago
Felix Stupp f51cbc31c3
CollectionExtractor._add_episode: Only log on link change 3 years ago
Felix Stupp a1b64d8644
extractors/collection/base: Reformat code 3 years ago
Felix Stupp ed8fc4439e
Introduce dynamic cache calculation for YouTube collection 3 years ago
Felix Stupp 49cff6f300
uri_suitable: Explicitly check for "is not None" & use helper methods
- helper for convertion from boolean to SuitableLevel
3 years ago
Felix Stupp 54748a9540
_check_cache_expired modified to be able to access full object
for more advanced calculations about caching
3 years ago
Felix Stupp 2e97563e0e
YtdlMediaExtractor._update_object_raw: Add return type 3 years ago
Felix Stupp bdfcd43a5f
models: Extract common Uri methods to own class 3 years ago
Felix Stupp f282ad7ff1
Add property MediaElement.average_release_per_week{,_now} 3 years ago
Felix Stupp 9e4b2bab5e
Add property MediaElement.started 3 years ago
Felix Stupp 3f68d4c5fd
MediaThumbnail.data: Add reason for lazy setting 3 years ago
Felix Stupp a9cae7ab1e
MediaCollection: Add indices to keep_updated, pinned, watch_in_order
for faster DB requests
3 years ago
Felix Stupp abf01da286
MediaElement: Add indeces to watched & ignored & compositum of both 3 years ago
Felix Stupp 5267f98cad
Add MediaCollection.description attribute / column 3 years ago
Felix Stupp 214cfdffba
MediaCollection.add_episode: automatically mark new episodes or ignored colls as ignored 3 years ago
Felix Stupp fac70231e8
MediaCollection.add_episde: detect change & act accordingly
- only apply changes if episode is new or new data is given
- flush only if changes are given
- return link only on changes / creation
3 years ago
Felix Stupp 4a0a6b918a
models.py: Reformat code 3 years ago
Felix Stupp 52a5aa29d7
models: Make table names non-hardcoded 3 years ago
Felix Stupp 66c37e72aa
models: Extract table name "element_lookup_cache" to constant 3 years ago
Felix Stupp f810591c2c
Revert "Add ConsideredMediaGenerator"
This reverts commit a5844cc424,
because developed method was not fast enough & it was faster to use a
SQL native method developed afterwards
3 years ago
Felix Stupp a5844cc424
Add ConsideredMediaGenerator
Developed for faster method to find considerable media
3 years ago
Felix Stupp 7e5e58c487
models.py: Reformated code 3 years ago
Felix Stupp ef09aea0b5
MediaElement: Add index to release_date 3 years ago
Felix Stupp e5dc2db760
MediaElement.watched: Fix column name 3 years ago
Felix Stupp 7ea87a1e0d
Use element_lookup_cache
- caches by what elements other elements are blocked
- resolves lookups for ordered playlists
3 years ago
Felix Stupp 05fcd9fb6a
MediaElement: add direct blockings 3 years ago
Felix Stupp 53185505b1
MediaElement.left_length: return 0 if watched 3 years ago
Felix Stupp a923d99e82
MediaElement.can_considered: Only request data for ordered collections 3 years ago
Felix Stupp cc8cb6b072
models: Redefine Query to be more usable for type hinting 3 years ago
Felix Stupp 85363aed4b
MediaElement.can_considered: verify video already released 3 years ago
Felix Stupp 5c97fe4b77
Implemented element_lookup_cache
- not used for now
3 years ago
Felix Stupp 96774bc43e
Add support for custom tables 3 years ago
Felix Stupp 2a7654bf9f
Add helper annotation for profiling functions 3 years ago
Felix Stupp babdf8ff64
extr/media/youtube: Reraise exceptions from extraction as ExtractionErrors 3 years ago
Felix Stupp 33ac573a57
extr/media/youtube: Ignore live streams until they are available as VOD 3 years ago
Felix Stupp 922c9fd5a2
extr/media/youtube: Rename extractor to "youtube" 3 years ago
Felix Stupp 0debf4d875
extr/media/youtube: support embed & shorts video links 3 years ago
Felix Stupp 5479db90b8
extr/media/youtube: Also support youtube-nocookie links 3 years ago
Felix Stupp 35024597df
extr/media/youtube: Rewrite URI so extractor works deteministicly 3 years ago
Felix Stupp 6bb65981c9
extr/media/youtube: Explicit check for suitable URI 3 years ago
Felix Stupp 902dd1a6bf
models:MediaCollection: Add creator / created_collections relation 3 years ago
Felix Stupp 6f9adbfc25
models: Make Query Type hacky typeable 3 years ago
Felix Stupp 96e12f6fe8
extr/coll,media/youtube: Move setting URLs to media extractor 3 years ago
Felix Stupp 4e62a3fe70
extr/media/youtube: Extract description 3 years ago
Felix Stupp c9c60d4e2b
extr/media/ytdl: Extract description 3 years ago
Felix Stupp 2e9df67e86
models: Add optional description to MediaElement 3 years ago
Felix Stupp 683a7a2555
extr/media/ytdl: Add thumbnail of video 3 years ago
Felix Stupp cfa3012798
extr/media/ytdl: Restrict to https?:// urls 3 years ago
Felix Stupp f0af32c099
Extract media thumbnail automatically from YouTube 3 years ago