]> git.phdru.name Git - dotfiles.git/commitdiff
.mc/: Upgrade debian to D9 "stretch"
authorOleg Broytman <phd@phdru.name>
Fri, 4 May 2018 23:31:44 +0000 (02:31 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 4 May 2018 23:31:44 +0000 (02:31 +0300)
Replace mplayer/gmplayer/smplayer with mpv.

.mc/mc.ext
.mc/menu

index afb5f8a38bc641991f06707da9b4255143ba3680..c55d41a8ccd34792db2266a8abceaf49d1e3754e 100644 (file)
@@ -775,7 +775,7 @@ regex/\.([Zz][Ii][Pp])$
 
 include/audio
    #Open=[ "`audtool --get-volume`" -eq 0 ] && (audacious & sleep 3); audtool --playlist-clear --playlist-addurl %f --playback-play
-   #Open=smplayer %f &
+   #Open=mplayer %f &
    Open=deadbeef %f &
    #Open=mediaplayer_open %f
    View=%view{ascii} %f
@@ -786,7 +786,7 @@ include/msoffice
    View=%view{ascii} catdoc %f
 
 include/video
-   Open=smplayer %f &
+   Open=mplayer %f &
    #Open=mediaplayer_open %f
    View=%view{ascii} %f
 
index 280a8499ac7fab085dcd75f792c8e0e8990b8f2e..c30570e1b6fbcf27e0323ebadfede29128eba512 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -152,23 +152,23 @@ R  Play the playlist in random order
    (sleep 5; exec rm random-playlist-tmp.m3u) &
 
 + f \.(aac|ac3|ape|cue|dts|flac|m3u|mp3|MP3|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t d | t t
-= t r & f \.(aac|ac3|ape|cue|dts|flac|m3u|mp3|MP3|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$
 s  Play audio/video file(s) or directory with smplayer
    smplayer %s &
 
-+= t d & f (video_ts|VIDEO_TS)$
++ t d & f (video_ts|VIDEO_TS)$
 c  Play the current directory with smplayer
    smplayer . &
 
-+ t r & f \.(m3u|mp3|MP3|cue|aac|ac3|ape|dts|flac|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t t
++ t r & f \.(m3u|mp3|MP3|cue|aac|ac3|ape|dts|flac|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$
 i  Audio/video info
-   exec mplayer -msglevel identify=6 -frames 0 %s
+   exec "$HOME"/.config/mpv/mpv_identify.sh %f
 
 + t d & f (video_ts|VIDEO_TS)$
 i  DVD info
-   exec mplayer -dvd-device . dvd:// -msglevel identify=6 -frames 0
+   exec "$HOME"/.config/mpv/mpv_identify.sh .
 
-+ f \.(avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t t
++ f \.(aac|ac3|ape|cue|dts|flac|m3u|mp3|MP3|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t d | t t
+= f \.(aac|ac3|ape|cue|dts|flac|m3u|mp3|MP3|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$
 m  Play video file(s) with mplayer
    mplayer %s &
 
@@ -176,7 +176,7 @@ m  Play video file(s) with mplayer
 M  Play audio/video with gmplayer
    gmplayer %s &
 
-+ t d & f (video_ts|VIDEO_TS)$
++= t d & f (video_ts|VIDEO_TS)$
 d  Play DVD directory with mplayer
    mplayer -dvd-device . dvd:// &