summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavidRV00 <46629825+DavidRV00@users.noreply.github.com>2022-03-15 23:30:36 -0700
committerGitHub <noreply@github.com>2022-03-15 23:30:36 -0700
commit3ba49366d1dda23aca0be6cb437253908a32e656 (patch)
tree480f334a29048394519e8e5bd93ad727426120b0
parentb8c2c8d381243e0ff2e430b4eeab132c7b0114a6 (diff)
downloadqutebrowser-3ba49366d1dda23aca0be6cb437253908a32e656.tar.gz
qutebrowser-3ba49366d1dda23aca0be6cb437253908a32e656.zip
Switch `cast` userscript from youtube-dl to yt-dlp
The `cast` userscript hasn't worked for me in a while, because it attempts to launch youtube-dl which has been replaced by yt-dlp for some time. Switching this one command gets `cast` working for me.
-rwxr-xr-xmisc/userscripts/cast2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/userscripts/cast b/misc/userscripts/cast
index df74fe97e..30aa59639 100755
--- a/misc/userscripts/cast
+++ b/misc/userscripts/cast
@@ -144,7 +144,7 @@ fi
pkill -f "${program_}"
# start youtube download in stream mode (-o -) into temporary file
-youtube-dl -qo - "$1" > "${file_to_cast}" &
+yt-dlp -qo - "$1" > "${file_to_cast}" &
ytdl_pid=$!
msg info "Casting $1" >> "$QUTE_FIFO"