Turn off enable-media by default, add loop=inf to mpv.

This commit is contained in:
Michael Lazar
2016-08-02 21:35:17 -07:00
parent 22113d6bfb
commit 1a59129985
2 changed files with 3 additions and 3 deletions

View File

@@ -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" video/x-youtube; youtube-dl -q -o - '%s' | mpv - --autofit 640x480; test=test -n "$DISPLAY"
# Mpv is a simple and effective video streamer # Mpv is a simple and effective video streamer
video/webm; 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; 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 # Commands below this point will attempt to display media directly in the

View File

@@ -35,7 +35,7 @@ clear_auth = False
history_size = 200 history_size = 200
; Open external links using programs defined in the mailcap config. ; Open external links using programs defined in the mailcap config.
enable_media = True enable_media = False
################ ################
# OAuth Settings # OAuth Settings