Commit Graph

12 Commits

Author SHA1 Message Date
Chocobozzz 0daaab0c0e
Try to fix github api rate limit 2022-12-29 10:24:06 +01:00
Chocobozzz 5cc2f0ea0a
Fix channel import with some channels 2022-10-10 15:33:32 +02:00
Chocobozzz e9fc9e03c1
Optimize fetching playlist urls 2022-09-08 08:41:48 +02:00
Chocobozzz ea139ca870
Display error on youtube-dl get info failure 2022-08-18 11:40:07 +02:00
Florent 2a491182e4
Channel sync ()
* Add external channel URL for channel update / creation ()

* Disallow synchronisation if user has no video quota ()

* More constraints serverside ()

* Disable sync if server configuration does not allow HTTP import ()

* Working version synchronizing videos with a job ()

TODO: refactoring, too much code duplication

* More logs and try/catch ()

* Fix eslint error ()

* WIP: support synchronization time change ()

* New frontend 

* WIP: Create sync front ()

* Enhance UI, sync creation form ()

* Warning message when HTTP upload is disallowed

* More consistent names ()

* Binding Front with API ()

* Add a /me API ()

* Improve list UI ()

* Implement creation and deletion routes ()

* Lint ()

* Lint again ()

* WIP: UI for triggering import existing videos ()

* Implement jobs for syncing and importing channels

* Don't sync videos before sync creation + avoid concurrency issue ()

* Cleanup ()

* Cleanup: OpenAPI + API rework ()

* Remove dead code ()

* Eslint ()

* Revert the mess with whitespaces in constants.ts ()

* Some fixes after rebase ()

* Several fixes after PR remarks ()

* Front + API: Rename video-channels-sync to video-channel-syncs ()

* Allow enabling channel sync through UI ()

* getChannelInfo ()

* Minor fixes: openapi + model + sql ()

* Simplified API validators ()

* Rename MChannelSync to MChannelSyncChannel ()

* Add command for VideoChannelSync ()

* Use synchronization.enabled config ()

* Check parameters test + some fixes ()

* Fix conflict mistake ()

* Restrict access to video channel sync list API ()

* Start adding unit test for synchronization ()

* Continue testing ()

* Tests finished + convertion of job to scheduler ()

* Add lastSyncAt field ()

* Fix externalRemoteUrl sort + creation date not well formatted ()

* Small fix ()

* Factorize addYoutubeDLImport and buildVideo ()

* Check duplicates on channel not on users ()

* factorize thumbnail generation ()

* Fetch error should return status 400 ()

* Separate video-channel-import and video-channel-sync-latest ()

* Bump DB migration version after rebase ()

* Prettier states in UI table ()

* Add DefaultScope in VideoChannelSyncModel ()

* Fix audit logs ()

* Ensure user can upload when importing channel + minor fixes ()

* Mark synchronization as failed on exception + typos ()

* Change REST API for importing videos into channel ()

* Add option for fully synchronize a chnanel ()

* Return a whole sync object on creation to avoid tricks in Front ()

* Various remarks ()

* Single quotes by default ()

* Rename synchronization to video_channel_synchronization

* Add check.latest_videos_count and max_per_user options ()

* Better channel rendering in list 

* Allow sorting with channel name and state ()

* Add missing tests for channel imports ()

* Prefer using a parent job for channel sync

* Styling

* Client styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-08-10 09:53:39 +02:00
Chocobozzz 5e2afe4290
Limit import depending on transcoding resolutions 2022-08-09 09:18:07 +02:00
Chocobozzz 88f1692781
Ensure bin dir exists before dl youtube-dl 2022-03-21 08:34:45 +01:00
Chocobozzz 350b866fdd
Fix CLI build 2022-02-09 13:37:04 +01:00
Chocobozzz 7630e1c893
Fix import timeout inconsistency 2022-02-09 11:54:18 +01:00
Florent 22c7778630 Give the ability to define python path for youtube-dl / yt-dlp 2022-01-10 10:01:43 +01:00
Chocobozzz b2ad0090c1
Don't write youtube-dl stdout in log
It's too big
2021-10-25 10:18:41 +02:00
Chocobozzz 62549e6c98
Rewrite youtube-dl import
Use python3 binary
Allows to use a custom youtube-dl release URL
Allows to use yt-dlp (youtube-dl fork)
Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY
env variables
2021-10-22 10:25:24 +02:00