From: Oleg Broytman Date: Sun, 12 Apr 2015 19:41:24 +0000 (+0300) Subject: Use (s)mplayer2 instead of (s)mplayer X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f8ec23cf3051b04d4d107e923ce2110848f0dbf3;p=dotfiles.git Use (s)mplayer2 instead of (s)mplayer --- diff --git a/.mc/menu b/.mc/menu index f549ae4..220f66f 100644 --- a/.mc/menu +++ b/.mc/menu @@ -162,14 +162,14 @@ c Play the current directory with smplayer + t r & f \.(m3u|mp3|MP3|cue|aac|ac3|ape|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 i Audio/video info - exec mplayer -msglevel identify=6 -frames 0 %s + exec mplayer2 -msglevel identify=6 -frames 0 %s + t d & f (video_ts|VIDEO_TS)$ i DVD info - exec mplayer -dvd-device . dvd:// -msglevel identify=6 -frames 0 + exec mplayer2 -dvd-device . dvd:// -msglevel identify=6 -frames 0 + f \.(avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t t -m Play video file(s) with mplayer +m Play video file(s) with mplayer2 mplayer %s & + f \.(m3u|mp3|MP3|cue|aac|ac3|ape|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 @@ -177,7 +177,7 @@ M Play audio/video with gmplayer gmplayer %s & + t d & f (video_ts|VIDEO_TS)$ -d Play DVD directory with mplayer +d Play DVD directory with mplayer2 mplayer -dvd-device . dvd:// & + t d & f (video_ts|VIDEO_TS)$ @@ -185,7 +185,7 @@ D Play DVD directory with gmplayer gmplayer -dvd-device . dvd:// & + t d & f (video_ts|VIDEO_TS)$ -t Play DVD title with mplayer +t Play DVD title with mplayer2 title=%{Enter title} mplayer -dvd-device . dvd://"$title" & @@ -195,7 +195,7 @@ T Play DVD title with gmplayer gmplayer -dvd-device . dvd://"$title" & + t d -p Play directory with mplayer +p Play directory with mplayer2 mplayer %f/* & + t d diff --git a/bin/mplay b/bin/mplay index 4786233..4fcdc7d 100755 --- a/bin/mplay +++ b/bin/mplay @@ -7,7 +7,7 @@ if [ "$DISPLAY" ]; then xset -dpms s off) & fi -cgmem_nice 500 "`basename $0`"er $options "$@" +cgmem_nice 500 "`basename $0`"er2 $options "$@" if [ "$DISPLAY" ]; then cd "$HOME" diff --git a/bin/smplay b/bin/smplay index 8561299..77c1087 100755 --- a/bin/smplay +++ b/bin/smplay @@ -14,7 +14,7 @@ else exit 1 fi -cgmem_nice 500 smplayer "$GUI" "$@" +cgmem_nice 500 smplayer2 "$GUI" "$@" "$HOME"/admin/prog/audio-cdr-video/audio/pa-volume cd "$HOME"