mpvwrap: Loop

Like, forever
This commit is contained in:
Salt 2017-09-15 18:01:53 -05:00
parent 06ce80bc5c
commit 5c669317b1

View File

@ -35,7 +35,7 @@ cachecontent="$(cat $cachefile)"
function video-play {
notify-send -u low -t 10 -a 'MPV' "Embedded Video" "Playing $1 as a stream embedded in the desktop"
pkill -x mpv
xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID $1
xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID --loop-playlist=inf $1
return 0
}