commit 77ff41025ad6cb576728dc16f09ded4b275fb385
parent f0bcc6670b37ce958d1c66a4f2f53b5ebfc406e2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 26 May 2020 12:55:28 +0200
Let mpv buffer video files
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -187,7 +187,7 @@ handle_target() {
 		fi
 
 		if regeximatch "$t" '\.(mp4|mkv|webm|avi|ogv)$'; then
-			detach mpv "$(fetch "$t")"
+			detach mpv "$t"
 		elif regeximatch "$t" '^radio://'; then
 			mpv "http${t##radio}"
 		elif regeximatch "$t" '\.(mp3|ogg|m3u)$'; then