From 232811c063f742c9261a12fde84b30bba00ece63 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 3 Jan 2022 23:11:25 +0300 Subject: [PATCH] .mc/menu: Add quiet mplayer menu item --- .mc/menu | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.5