Commit Graph

175 Commits

Author SHA1 Message Date
Simon 11ab314649
refact CommentList to use RedisQueue 2024-05-15 00:37:01 +02:00
Simon d58d133baf
refactor decouple DownloadPostProcess 2024-05-15 00:18:43 +02:00
Simon db080e97bb
better queue total management with score 2024-05-14 23:25:33 +02:00
Simon 5235af3d91
refactor download post processing to redis queue 2024-05-14 19:17:13 +02:00
Simon 86d157699a
better 404 handling in views 2024-05-14 17:05:47 +02:00
Simon c176405b32
untangle channel_overwrites in video index and queue 2024-05-13 20:54:39 +02:00
Simon 6e7cb74366
clean up, remove unused 2024-05-13 19:51:25 +02:00
Simon 05cfeb9d99
fix stop iterator, better channel overwrite unpack 2024-05-13 19:37:46 +02:00
Simon 4edb5adead
thumb clean up notification, call in task 2024-05-13 18:26:17 +02:00
Simon c17627a911
clean up thumbs from cache 2024-05-12 23:00:58 +02:00
Simon 36a738d5d7
move get_channel_overwrites to helper 2024-05-12 21:11:21 +02:00
Simon d6c4a6ea46
remove redundant playlistcheck in _process_entry 2024-05-12 21:09:48 +02:00
Simon 77ee9cfc13
use video class for channel_id extraction 2024-05-12 21:08:37 +02:00
Simon c413811e17
fix _parse_playlist, add existing playlist to queue, #634 2024-05-12 01:02:01 +02:00
Simon 2a9769d154
simplify channel overwrite handling in posprocessing 2024-05-12 00:34:03 +02:00
Simon d9ce9641e2
rewrite playlist postprocess, ensure refresh, #686 2024-05-11 23:59:36 +02:00
Simon 97bc03f855
split channel rescan checking with existing index, #500 2024-05-11 21:47:40 +02:00
Simon 770990c568
split playlist parsing in find_missing in playlist 2024-05-11 21:23:27 +02:00
Simon ddc4685811
decouple playlist video id matching to individual 2024-05-11 19:16:35 +02:00
Simon fd039de53d
add to queue notification, #714 2024-05-11 11:10:26 +02:00
Simon 8bf7f71351
ensure 100 download progress is sent 2024-04-03 16:31:36 +02:00
Greg 090d88c336
Feature 590 custom playlist (#620)
* add remove custom playlist

* custom playlist page, move video controls

* align to existing code patterns

* cleanup

* resolve merge conflict

* cleanup

* cleanup

* polish

* polish

* some fixes for lint

* resolve merge conflict

* bugfix on delete video/playlist/channel - preserve custom playlist but
delete corresponding videos in custom playlist

* cleanup

* ./deploy.sh validate isort fix - validate runs clean now

* sync to latest master branch

* sync to master

* updates per admin guidance. sync to master

* attempt to resolve merge conflict

* attempt to resolve merge conflict - reintroduce changes to file.

* validate playlist_type

* validate playlist custom action

* move custom id creation to view

* stricter custom playlist matching

* revert unreachable playlist delete check

* undo unneeded playlist matching

---------

Co-authored-by: Simon <simobilleter@gmail.com>
2024-03-10 22:57:59 +07:00
Nick 0e967d721f
log cookiejar.LoadError (#669) 2024-03-10 22:35:15 +07:00
Simon e75ffb603c
fix auto delete lte datatype, #622 2023-12-16 13:13:48 +07:00
Clark 4d111aff82
Move the startup application settings to a new class (#571)
* Move the startup application settings to a new class

* Replace settings methods with static fields

* Move Redis and ES configuration to the settings class

* Fix environment python imports

* Update envcheck to use the new settings
2023-10-28 10:27:03 +07:00
Simon 57d8b060d2
fix spelling 2023-10-03 21:03:31 +07:00
Simon e9eddf06fb
error handling for playlist sub 2023-10-03 19:57:12 +07:00
Simon 8af7a3caf4
better playlist extract error message 2023-10-02 09:09:58 +07:00
Simon 515b724047
split json backup files, #406 2023-09-25 15:59:31 +07:00
Clark 85b56300b3
Move user configuration from Redis to ES (#533)
* ES Client must bootstrap itself to be the source of config

If this is not done a cyclic loop is created between the config loader and the ES client.
This lays the ground work for ES being the source of all app config.

* auto_download is not used anymore

* Add UserConfig class that encapsulates user config storage

This class will allow the rest of the code to 'not care' about how user properties are stored.
This requires the addition of a ta_users index in ES.

* Create migration task for user config transfer

* Replace getters and setters for each property

Strongly type the user configuration
Migrate missed sponsorblock ID

* Other DB settings will be another PR
2023-09-21 21:46:55 +07:00
Simon dc41e5062d
refactor duration class into separate helper functions 2023-09-04 18:49:10 +07:00
Simon 76981635dc
reset autostart on queue stop, #520 2023-09-02 12:06:43 +07:00
Simon 52d6c59f3f
fix incomplete messages outside of sendprogress task method 2023-08-31 12:16:42 +07:00
Simon a2eb42ebb9
validate subscribe url type, #299 2023-08-23 21:22:09 +07:00
Simon 3803537739
trigger bgsave on importent redis set_message 2023-08-23 18:35:20 +07:00
Simon 58818bb91c
better thumbnail final fall back handling 2023-08-22 18:12:21 +07:00
Simon 4473e9c5b2
add apprise notifications 2023-07-29 23:41:54 +07:00
Simon aea403a874
additional thumb dl error handling 2023-07-28 18:19:22 +07:00
Simon 72a98b0473
handle missing channel_tvart_url in thumb validator, #479 2023-06-22 23:36:54 +07:00
Simon 247808563a
download error recovering 2023-06-16 15:47:38 +07:00
simon 5e92d06f21
fix dl error retry logic, store and return error, #477 2023-05-20 21:25:50 +07:00
simon 9d6ab6b7b3
implement new media_url 2023-05-18 20:32:37 +07:00
simon cbcb7484a7 Merge branch 'feature/queue-autorun' into testing 2023-04-29 16:41:19 +07:00
Dominik Sander 1c0b407f3f
Allow to configure yt-dlp `--format-sort` argument (#471)
* Allow to configure yt-dlp `--format-sort` argument

This exposes the [`--format-sort`][1] yt-dlp option to the user.

Implements parts of #316

[1]: https://github.com/yt-dlp/yt-dlp#sorting-formats

* Trim split values of format_sort, obey black

* Add `format_sort` to default configuration

* Add note about codec compatibility to settings page
2023-04-29 16:32:52 +07:00
simon 280c773441
add download now to form 2023-04-29 14:17:36 +07:00
simon efca460e9d
download now task handling 2023-04-29 13:22:10 +07:00
simon 06bbe2e400
fix playlist sub parser 2023-04-27 22:06:41 +07:00
simon bc39561606
consolidate dl queue notification to method 2023-04-22 13:42:54 +07:00
simon 89779ec13b
consolidate update status priority 2023-04-21 17:25:04 +07:00
simon 1b6b219e02
modify _get_next to for auto_only attr 2023-04-21 16:11:37 +07:00