* lib/mc.ext.in: Use ogginfo to view *.ogg files.

Suggested by Marcel Pol <mpol@gmx.net>
This commit is contained in:
Pavel Roskin 2001-10-05 22:41:33 +00:00
parent b3cd72c2df
commit 23bdfba2a6
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2001-10-05 Pavel Roskin <proski@gnu.org>
* lib/mc.ext.in: Use ogginfo to view *.ogg files.
Suggested by Marcel Pol <mpol@gmx.net>
* lib/mc.ext.in: Use xmms to play *.mp3 under X. When viewing
*.mp3, use "verbose" option to mpg123. Add support for *.ogg
and *.mid files.

View File

@ -262,7 +262,7 @@ regex/\.(mp3|MP3|Mp3)$
regex/\.(ogg|OGG|Ogg)$
Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else (xmms %f &); fi
View=%view{ascii} ogg123 -v -d null -k -1 %f 2>&1 | sed -n '/^Bitstream/,/^$/p'
View=%view{ascii} ogginfo %s
regex/\.(midi?|MIDI?|Midi?)$
Open=timidity %f