From 8ba5b09105b4b46591e966328dc53a0932fc7c7c Mon Sep 17 00:00:00 2001 From: capnhawkbill Date: Sat, 7 Mar 2020 16:16:23 +0100 Subject: [PATCH] Fixed mailcap --- tuir/templates/mailcap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tuir/templates/mailcap b/tuir/templates/mailcap index 857f09e..6410572 100644 --- a/tuir/templates/mailcap +++ b/tuir/templates/mailcap @@ -32,10 +32,10 @@ image/*; feh -g 640x480 -. '%s'; test=test -n "$DISPLAY" # Youtube videos are assigned a custom mime-type, which can be streamed with # vlc or youtube-dl. video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY" -video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --autofit 640x480; test=test -n "$DISPLAY" +video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --autofit=640x480; test=test -n "$DISPLAY" # Mpv is a simple and effective video streamer -video/*; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY" +video/*; mpv '%s' --autofit=640x480 --loop=inf; test=test -n "$DISPLAY" ############################################################################### # Commands below this point will attempt to display media directly in the