diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-21 16:28:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-22 10:25:24 +0200 |
commit | 62549e6c9818f422698f030e0b242609115493ed (patch) | |
tree | 12a969f694239fe5f926f779698df9523605ee80 /config/production.yaml.example | |
parent | a71d4140a5b7831dbe2eb7a0dfaa6a755cb2e906 (diff) | |
download | PeerTube-62549e6c9818f422698f030e0b242609115493ed.tar.gz PeerTube-62549e6c9818f422698f030e0b242609115493ed.tar.zst PeerTube-62549e6c9818f422698f030e0b242609115493ed.zip |
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
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index d023070e3..588d6a3a5 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -83,6 +83,7 @@ client: | |||
83 | # From the project root directory | 83 | # From the project root directory |
84 | storage: | 84 | storage: |
85 | tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... | 85 | tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... |
86 | bin: '/var/www/peertube/storage/bin/' | ||
86 | avatars: '/var/www/peertube/storage/avatars/' | 87 | avatars: '/var/www/peertube/storage/avatars/' |
87 | videos: '/var/www/peertube/storage/videos/' | 88 | videos: '/var/www/peertube/storage/videos/' |
88 | streaming_playlists: '/var/www/peertube/storage/streaming-playlists/' | 89 | streaming_playlists: '/var/www/peertube/storage/streaming-playlists/' |
@@ -407,10 +408,6 @@ import: | |||
407 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl | 408 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl |
408 | force_ipv4: false | 409 | force_ipv4: false |
409 | 410 | ||
410 | # You can use an HTTP/HTTPS/SOCKS proxy with youtube-dl | ||
411 | proxy: | ||
412 | enabled: false | ||
413 | url: '' | ||
414 | torrent: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file) | 411 | torrent: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file) |
415 | enabled: false | 412 | enabled: false |
416 | 413 | ||