Support playlist in mpv userscript.
This commit is contained in:
parent
bae49c9366
commit
e0c76fcb4f
@ -140,4 +140,8 @@ printjs() {
|
|||||||
echo "jseval -q $(printjs)" >> "$QUTE_FIFO"
|
echo "jseval -q $(printjs)" >> "$QUTE_FIFO"
|
||||||
|
|
||||||
msg info "Opening $QUTE_URL with mpv"
|
msg info "Opening $QUTE_URL with mpv"
|
||||||
"${video_command[@]}" "$QUTE_URL"
|
if [[ $QUTE_URL == *"list="* ]]; then
|
||||||
|
"${video_command[@]}" "--ytdl-raw-options=yes-playlist=" "$QUTE_URL"
|
||||||
|
else
|
||||||
|
"${video_command[@]}" "$QUTE_URL"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user