m Play video file(s) with mplayer
mplayer %s &
++ 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 asking audio volume
+ AUDIO_VOLUME=%{Enter volume}
+ AUDIO_VOLUME=$AUDIO_VOLUME mplayer %s &
+
+ 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
M Play audio/video with gmplayer
gmplayer %s &
options="--ao pulse --quiet"
+if [ -n "$AUDIO_VOLUME" ]; then
+ options="$options --af=loudnorm --volume=$AUDIO_VOLUME"
+fi
+
if [ "$DISPLAY" ]; then
(xscreensaver-command -exit
xset -dpms s off) &