]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Use yt-dlp by default
authorChocobozzz <me@florianbigard.com>
Wed, 6 Jul 2022 14:15:47 +0000 (16:15 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 6 Jul 2022 14:15:47 +0000 (16:15 +0200)
It has more activity and they fix bugs more quickly

config/default.yaml
config/production.yaml.example
config/test.yaml

index 8458ee0169e3b5e1bab1806ef233a0235e822939..2c1b9c64f208e10f13fe35a0cdfd520d6fce214c 100644 (file)
@@ -511,11 +511,11 @@ import:
         # Examples:
         #   * https://api.github.com/repos/ytdl-org/youtube-dl/releases
         #   * https://api.github.com/repos/yt-dlp/yt-dlp/releases
-        url: 'https://yt-dl.org/downloads/latest/youtube-dl'
+        #   * https://yt-dl.org/downloads/latest/youtube-dl
+        url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
 
-        # youtube-dl binary name
-        # yt-dlp is also supported
-        name: 'youtube-dl'
+        # Release binary name: 'yt-dlp' or 'youtube-dl'
+        name: 'yt-dlp'
 
         # Path to the python binary to execute for youtube-dl or yt-dlp
         python_path: '/usr/bin/python3'
index 3da2421fe5f30d764c473ca86c8d66cfcde1a14b..3e4035eaa95b20899ca4ae8f504b5d8aef7b0e94 100644 (file)
@@ -521,11 +521,11 @@ import:
         # Examples:
         #   * https://api.github.com/repos/ytdl-org/youtube-dl/releases
         #   * https://api.github.com/repos/yt-dlp/yt-dlp/releases
-        url: 'https://yt-dl.org/downloads/latest/youtube-dl'
+        #   * https://yt-dl.org/downloads/latest/youtube-dl
+        url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
 
-        # youtube-dl binary name
-        # yt-dlp is also supported
-        name: 'youtube-dl'
+        # Release binary name: 'yt-dlp' or 'youtube-dl'
+        name: 'yt-dlp'
 
         # Path to the python binary to execute for youtube-dl or yt-dlp
         python_path: '/usr/bin/python3'
index 3e08f0ac82f6305f804fae6fe59e6419b1331928..9b24d44c02164ba5f5b88a60cc5bd5bd0d031d9b 100644 (file)
@@ -120,9 +120,6 @@ import:
     concurrency: 2
     http:
       enabled: true
-      youtube_dl_release:
-        url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
-        name: 'yt-dlp'
     torrent:
       enabled: true