23 Commits (master)

Author SHA1 Message Date
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 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 203a9abaaa
Reformat code 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 9ffb34b972
Use ExtractedDataLight where data cannot be supplied 2 years ago
Felix Stupp 51c1ee5c08
Add missing Optional on _load_object & use explcit is None checks 2 years ago
Felix Stupp 6ab8781520
Add way to inject object while extracting
To save extracting work, if e.g. updating a collection also receives
data about medias in it (which then do not need any more requests)
2 years ago
Felix Stupp ae047a0c47
extractors/generic: Clean code
- Reformat
- Add return types
- Remove unrequired imports
2 years ago
Felix Stupp 54748a9540
_check_cache_expired modified to be able to access full object
for more advanced calculations about caching
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 075b0a544c
extractors.SuitableLevel: Added methods for fancy tenary's 3 years ago
Felix Stupp c77e0ac81e
entertainment_decider/extractors/generic: Add debug log for skipped elements due to cache timeout 3 years ago
Felix Stupp 6330443876
Allow unextracted elements and collections to exists, add/use reflecting property 3 years ago
Felix Stupp d0b3795484
extractors/generic: Add Optional to load_* type hints 3 years ago
Felix Stupp 6f88153932
model: Added before_update handlers for auto uri linking 3 years ago
Felix Stupp c01d522749
extractors: Added mechanic to update last_updated date 3 years ago
Felix Stupp 86520ae30e
Added search for suitable extractor automatically 3 years ago
Felix Stupp beaf99e539
Remove extractor_cache and further usages of it 3 years ago
Felix Stupp a39ad912b5
models: Renamed extractor_cache_date to last_updated for MediaCollection and MediaElement 3 years ago
Felix Stupp 83b88fb89e
Init flask / ponyorm server 3 years ago