diff options
author | Florent <florent.git@zeteo.me> | 2022-01-09 17:21:45 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-01-10 10:01:43 +0100 |
commit | 22c777863088f90c7f3f9df613b42952abab856d (patch) | |
tree | 4598391136ce36e8f94cd95604fe4aa80c4bb831 /config | |
parent | f332d502d5d6a6c7ab62199c8b45f24e488f48e7 (diff) | |
download | PeerTube-22c777863088f90c7f3f9df613b42952abab856d.tar.gz PeerTube-22c777863088f90c7f3f9df613b42952abab856d.tar.zst PeerTube-22c777863088f90c7f3f9df613b42952abab856d.zip |
Give the ability to define python path for youtube-dl / yt-dlp
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 3 | ||||
-rw-r--r-- | config/production.yaml.example | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index e254c2c28..2b0419535 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -446,6 +446,9 @@ import: | |||
446 | # yt-dlp is also supported | 446 | # yt-dlp is also supported |
447 | name: 'youtube-dl' | 447 | name: 'youtube-dl' |
448 | 448 | ||
449 | # Path to the python binary to execute for youtube-dl or yt-dlp | ||
450 | python_path: '/usr/bin/python3' | ||
451 | |||
449 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl | 452 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl |
450 | force_ipv4: false | 453 | force_ipv4: false |
451 | 454 | ||
diff --git a/config/production.yaml.example b/config/production.yaml.example index 0ce0b9d0e..893ccc33e 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -454,6 +454,9 @@ import: | |||
454 | # yt-dlp is also supported | 454 | # yt-dlp is also supported |
455 | name: 'youtube-dl' | 455 | name: 'youtube-dl' |
456 | 456 | ||
457 | # Path to the python binary to execute for youtube-dl or yt-dlp | ||
458 | python_path: '/usr/bin/python3' | ||
459 | |||
457 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl | 460 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl |
458 | force_ipv4: false | 461 | force_ipv4: false |
459 | 462 | ||