From: Oleg Broytman Date: Thu, 19 Jun 2014 17:29:38 +0000 (+0400) Subject: Handle wav and wma X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=13acc3973d91672091945e09ce14a210d84076cf;p=dotfiles.git Handle wav and wma --- diff --git a/.mc/menu b/.mc/menu index c0b0957..0d3efc0 100644 --- a/.mc/menu +++ b/.mc/menu @@ -87,7 +87,7 @@ I View image(s) full size I View icon, JPEG-2000 or TIFF image display %s & -+ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|pls|wv)$ | t t ++ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|pls|WAV|wav|wv)$ | t t a Add the audiofile(s) or playlist(s) #if [ "`audtool --get-volume`" -eq 0 ]; then cgmem_nice 500 audacious & sleep 3; fi #for f in %s; do @@ -96,8 +96,8 @@ a Add the audiofile(s) or playlist(s) #smplayer -add-to-playlist %s & deadbeef --queue %s & -+ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|pls|wv)$ | t t -= t r & f \.(m3u|mp3|MP3|cue|ac3|ape|flac|wv)$ ++ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|pls|WAV|wav|wv)$ | t t += t r & f \.(m3u|mp3|MP3|cue|ac3|ape|flac|WAV|wav|wv)$ p Load the audiofile(s) or playlist(s) #if [ "`audtool --get-volume`" -eq 0 ]; then cgmem_nice 500 audacious & sleep 3; fi #audtool --playlist-clear @@ -108,7 +108,7 @@ p Load the audiofile(s) or playlist(s) #smplayer -add-to-playlist %s & deadbeef --queue %s & -+ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|pls|wv)$ | t t ++ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|pls|WAV|wav|wv)$ | t t P Play the audiofile(s) or playlist(s) #if [ "`audtool --get-volume`" -eq 0 ]; then cgmem_nice 500 audacious & sleep 3; fi #audtool --playlist-clear @@ -135,8 +135,8 @@ R Play the playlist in random order #mediaplayer_open random-playlist-tmp.m3u (sleep 5; exec rm random-playlist-tmp.m3u) & -+ f \.(aac|ac3|ape|cue|flac|m3u|mp3|MP3|pls|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wmv)$ | t d | t t -= t r & f \.(aac|ac3|ape|cue|flac|m3u|mp3|MP3|pls|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wmv)$ ++ f \.(aac|ac3|ape|cue|flac|m3u|mp3|MP3|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|flac|m3u|mp3|MP3|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 & @@ -144,7 +144,7 @@ s Play audio/video file(s) or directory with smplayer c Play the current directory with smplayer smplayer . & -+ t r & f \.(m3u|mp3|MP3|cue|aac|ac3|ape|flac|pls|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wmv)$ | t t ++ t r & f \.(m3u|mp3|MP3|cue|aac|ac3|ape|flac|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 @@ -152,11 +152,11 @@ i Audio/video info i DVD info exec mplayer -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|wmv)$ | t t ++ 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 mplayer %s & -+ f \.(m3u|mp3|MP3|cue|aac|ac3|ape|flac|pls|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wmv)$ | t t ++ f \.(m3u|mp3|MP3|cue|aac|ac3|ape|flac|pls|WAV|wav|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t t M Play audio/video with gmplayer gmplayer %s &