From d60a98216d2731b39ab51428580cf5b3fdf2ad1e Mon Sep 17 00:00:00 2001 From: woorst Date: Wed, 20 Jun 2018 22:57:10 -0400 Subject: [PATCH] fix video/x-youtube to work with v.redd.it links --- rtv/templates/mailcap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtv/templates/mailcap b/rtv/templates/mailcap index 557dcf3..5177467 100644 --- a/rtv/templates/mailcap +++ b/rtv/templates/mailcap @@ -32,7 +32,7 @@ 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=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"