From 05fda57bf719d42f5beb03090478fe0dda4cba50 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 17 Aug 2018 00:20:48 -0500 Subject: [PATCH] tubetop2: Don't loop infinitely --- tubetop2.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubetop2.bash b/tubetop2.bash index 5dd3441..8a00f95 100755 --- a/tubetop2.bash +++ b/tubetop2.bash @@ -10,7 +10,7 @@ function tubetop2-play { if [ -z ${1+x} ]; then return 1; fi pkill -x xwinwrap - xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID --title="$name" --loop-playlist=inf "$1" + xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID --title="$name" "$1" return 0 }