diff --git a/misc/userscripts/view_in_mpv b/misc/userscripts/view_in_mpv index e65909b0a..9eb6ff7c6 100755 --- a/misc/userscripts/view_in_mpv +++ b/misc/userscripts/view_in_mpv @@ -49,7 +49,7 @@ msg() { MPV_COMMAND=${MPV_COMMAND:-mpv} # Warning: spaces in single flags are not supported -MPV_FLAGS=${MPV_FLAGS:- --force-window --no-terminal --keep-open=yes --ytdl } +MPV_FLAGS=${MPV_FLAGS:- --force-window --no-terminal --keep-open=yes --ytdl --ytdl-raw-options=yes-playlist=} video_command=( "$MPV_COMMAND" $MPV_FLAGS ) js() { @@ -140,4 +140,4 @@ printjs() { echo "jseval -q $(printjs)" >> "$QUTE_FIFO" msg info "Opening $QUTE_URL with mpv" -"${video_command[@]}" "$QUTE_URL" +"${video_command[@]}" "$@" "$QUTE_URL"