Commit Graph

40 Commits

Author SHA1 Message Date
Simon 9366b8eab9
Feature beat model (#713)
* add django-celery-beat

* implement schedule migration

* fix version_check migration

* remove old schedule init

* better schedule migration

* fix task_config migration

* show task config on settings page

* fix notify url builder

* refactor celery initiation

* fix get task

* fix scheduler mig

* fix linter

* better task_config store on periodic task

* save new schedules

* fix task_config extraction from custom model

* implement auto schedule

* implement schedule delete

* refactor notifications to ES config storage

* downgrade redis

* better notification migration to ES

* add notification url handling

* fix worker start

* fix docs spelling

* don't resend form data on notification refresh

* fix type hints

* move TASK_CONFIG to separate module

* fix partial task config imports

* fix yt_obs typing

* delete schedule

* remove outdated instructions

* create initial schedules

* fix reindex days config key

* fix doc string

* unregister BeatModels
2024-05-09 20:22:36 +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
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 4473e9c5b2
add apprise notifications 2023-07-29 23:41:54 +07:00
simon 0d2d3353a9
add extractor lang, #316 2023-05-07 09:47:03 +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 77900f89e3
remove legacy limit_count config 2023-04-23 13:59:32 +07:00
simon 3a091ac287
implement auto_start indexing 2023-04-16 18:30:39 +07:00
simon ce7adfee3a
disable backup, enable snapshot 2023-02-03 14:50:41 +07:00
simon 00d7c33af6
randomize version_check schedule 2023-01-11 22:00:44 +07:00
simon 5888e5442a
set default streams and shorts channel size to 50 2023-01-07 15:51:58 +07:00
Chance Turner 98f5b66826
Lives and shorts (#395)
* Initial shot at adding in live and short videos

* Fix for typo on config variable names

* Remove was_live youtube flag

* Adding startup script to support setting vid_type on ta_video for videos created prior to support for live and shorts

* Linting updates

* More linting fixes

* Removing title variable from loop tuple unpacking
2023-01-02 10:11:06 +07:00
simon 5244cddeb3
add version_check background task 2022-12-21 14:24:24 +07:00
simon 172ced7129
configure comments extraction 2022-11-18 08:59:04 +07:00
simon 1fbd603374
frontend implementation for snapshot integration 2022-10-29 15:49:47 +07:00
simon cc2fff8bef
use info_dict for message, simplify cache template, #271 2022-07-18 11:37:43 +07:00
simon 5982932457
implement variable grid row size 2022-05-28 13:57:29 +07:00
simon 430fdb6f1c
add cookie import to frontend 2022-04-29 18:38:43 +07:00
simon 730d12212f implement basic sponsblock indexing, #119 2022-04-04 23:28:32 +07:00
simon 08f5248e7a
make subtitle index optional 2022-02-11 13:36:36 +07:00
simon 365a2bf59f
add frontend subtitle dl settings 2022-01-30 20:10:29 +07:00
Nathan DeTar 45518dc3d2
Basic Google Cast Support (#140)
* Added Start and Stop cast buttons.

* Modified from the internet.

* Code to initialize casting

* Added `video-item` id to video

* Renamed function to make more sense

* Renamed cast functions to make more sense

* Renamed cast functions to make more sense

* Changed console logging message.

* Make cast buttons appear if enabled in settings.

* Make cast scripts only load if enabled in settings

* add cast configuration form, #140

* fix spelling

Co-authored-by: simon <simobilleter@gmail.com>
2022-01-11 18:31:22 +07:00
simon dc2fb65312
add optin returnyoutubedislike.com integration 2022-01-05 14:06:07 +07:00
simon 6229d92333
add dedicated default_view for playlists 2021-12-26 22:51:37 +07:00
simon 9a2dead76c
implement autodelete watched videos after x days, #56 2021-12-16 12:44:37 +07:00
simon 3df9a53a24
add scheduler settings with some sane defaults 2021-12-13 10:55:57 +07:00
simon 012e28d4ef
initial beat scheduler setup 2021-12-02 15:54:29 +07:00
simon f24a3dd1f5 userspace sort_order and sort_by 2021-10-29 14:42:12 +07:00
simon 5f3fc460c1 implementing throttled-rate option 2021-10-26 17:14:26 +07:00
simon 72af95acd8 fallback channel and video artwork for 404 errors 2021-10-13 19:34:16 +07:00
simon 744780f4bd add optional EmbedThumbnail postprocessor 2021-10-07 22:28:32 +07:00
simon 7df4233224 cleaning up leftover code from old vesions 2021-10-03 19:33:58 +07:00
simon 95cdcbae9a grid and list view for channels overview page 2021-10-02 19:39:02 +07:00
simon 7c34ceb9f8 framework to switch between grid and list view 2021-10-01 14:42:17 +07:00
simon 2905a67ab9 show ignored videos, forget or download ids 2021-09-28 16:53:45 +07:00
simon fab918db79 setting limit_count default to false after implementing dynamic dl queue 2021-09-26 12:01:51 +07:00
Daniel Kempkens 69e6e490f4
Optionally embed metadata into video files (#21)
This adds basic `postprocessors` support and adds a setting to
optionally enable `FFmpegMetadata`.

It's the same as passing `--add-metadata` and `--add-chapters` via the
`yt-dlp` CLI.
2021-09-21 10:12:33 +07:00
simon d7781b2556 default to max download quality same as yt-dlp 2021-09-13 11:20:03 +07:00
simon dc9fd72cde minimal viable product 2021-09-06 00:10:14 +07:00