From 1a59129985a6523403604338df4b4f857511a8e7 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Tue, 2 Aug 2016 21:35:17 -0700 Subject: [PATCH] Turn off enable-media by default, add loop=inf to mpv. --- rtv/templates/mailcap | 4 ++-- rtv/templates/rtv.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rtv/templates/mailcap b/rtv/templates/mailcap index 133c800..b0a24a0 100644 --- a/rtv/templates/mailcap +++ b/rtv/templates/mailcap @@ -34,8 +34,8 @@ video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY" video/x-youtube; youtube-dl -q -o - '%s' | mpv - --autofit 640x480; test=test -n "$DISPLAY" # Mpv is a simple and effective video streamer -video/webm; mpv '%s' --autofit 640x480; test=test -n "$DISPLAY" -video/*; mpv '%s' --autofit 640x480; test=test -n "$DISPLAY" +video/webm; 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 diff --git a/rtv/templates/rtv.cfg b/rtv/templates/rtv.cfg index e9776e1..bb80145 100644 --- a/rtv/templates/rtv.cfg +++ b/rtv/templates/rtv.cfg @@ -35,7 +35,7 @@ clear_auth = False history_size = 200 ; Open external links using programs defined in the mailcap config. -enable_media = True +enable_media = False ################ # OAuth Settings