aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-06 16:15:47 +0200
committerChocobozzz <me@florianbigard.com>2022-07-06 16:15:47 +0200
commitf75692700e212f8d46afd9f41147f2baf0815fec (patch)
tree4362a351cee8032ed7ecc96070974a8fef771c0c
parent9452d4fd3321148fb80b64a67bd9983fee6c208e (diff)
downloadPeerTube-f75692700e212f8d46afd9f41147f2baf0815fec.tar.gz
PeerTube-f75692700e212f8d46afd9f41147f2baf0815fec.tar.zst
PeerTube-f75692700e212f8d46afd9f41147f2baf0815fec.zip
Use yt-dlp by default
It has more activity and they fix bugs more quickly
-rw-r--r--config/default.yaml8
-rw-r--r--config/production.yaml.example8
-rw-r--r--config/test.yaml3
3 files changed, 8 insertions, 11 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 8458ee016..2c1b9c64f 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -511,11 +511,11 @@ import:
511 # Examples: 511 # Examples:
512 # * https://api.github.com/repos/ytdl-org/youtube-dl/releases 512 # * https://api.github.com/repos/ytdl-org/youtube-dl/releases
513 # * https://api.github.com/repos/yt-dlp/yt-dlp/releases 513 # * https://api.github.com/repos/yt-dlp/yt-dlp/releases
514 url: 'https://yt-dl.org/downloads/latest/youtube-dl' 514 # * https://yt-dl.org/downloads/latest/youtube-dl
515 url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
515 516
516 # youtube-dl binary name 517 # Release binary name: 'yt-dlp' or 'youtube-dl'
517 # yt-dlp is also supported 518 name: 'yt-dlp'
518 name: 'youtube-dl'
519 519
520 # Path to the python binary to execute for youtube-dl or yt-dlp 520 # Path to the python binary to execute for youtube-dl or yt-dlp
521 python_path: '/usr/bin/python3' 521 python_path: '/usr/bin/python3'
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 3da2421fe..3e4035eaa 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -521,11 +521,11 @@ import:
521 # Examples: 521 # Examples:
522 # * https://api.github.com/repos/ytdl-org/youtube-dl/releases 522 # * https://api.github.com/repos/ytdl-org/youtube-dl/releases
523 # * https://api.github.com/repos/yt-dlp/yt-dlp/releases 523 # * https://api.github.com/repos/yt-dlp/yt-dlp/releases
524 url: 'https://yt-dl.org/downloads/latest/youtube-dl' 524 # * https://yt-dl.org/downloads/latest/youtube-dl
525 url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
525 526
526 # youtube-dl binary name 527 # Release binary name: 'yt-dlp' or 'youtube-dl'
527 # yt-dlp is also supported 528 name: 'yt-dlp'
528 name: 'youtube-dl'
529 529
530 # Path to the python binary to execute for youtube-dl or yt-dlp 530 # Path to the python binary to execute for youtube-dl or yt-dlp
531 python_path: '/usr/bin/python3' 531 python_path: '/usr/bin/python3'
diff --git a/config/test.yaml b/config/test.yaml
index 3e08f0ac8..9b24d44c0 100644
--- a/config/test.yaml
+++ b/config/test.yaml
@@ -120,9 +120,6 @@ import:
120 concurrency: 2 120 concurrency: 2
121 http: 121 http:
122 enabled: true 122 enabled: true
123 youtube_dl_release:
124 url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
125 name: 'yt-dlp'
126 torrent: 123 torrent:
127 enabled: true 124 enabled: true
128 125