From: Oleg Broytman Date: Mon, 3 Jan 2022 20:11:25 +0000 (+0300) Subject: .mc/menu: Add quiet mplayer menu item X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=232811c063f742c9261a12fde84b30bba00ece63;p=dotfiles.git .mc/menu: Add quiet mplayer menu item --- diff --git a/.mc/menu b/.mc/menu index 60a3e4b..473093a 100644 --- a/.mc/menu +++ b/.mc/menu @@ -198,7 +198,13 @@ i DVD info exec "$HOME"/.config/mpv/mpv_identify.sh . + f \.(aac|ac3|ape|cue|dts|flac|m3u8?|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 -m Play video file(s) with mpv +m Play video file(s) with mpv (quiet) + AUDIO_VOLUME=80 + export AUDIO_VOLUME + mplayer %s & + ++ f \.(aac|ac3|ape|cue|dts|flac|m3u8?|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 +m Play video file(s) with mpv (normal) mplayer %s & + f \.(aac|ac3|ape|cue|dts|flac|m3u8?|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