mirror of https://github.com/MidnightCommander/mc
* 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.
This commit is contained in:
parent
589dc1d146
commit
b3cd72c2df
|
@ -1,3 +1,9 @@
|
|||
2001-10-05 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* 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.
|
||||
|
||||
2001-09-30 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Don't check whether grep supports stdin - it's
|
||||
|
|
|
@ -257,9 +257,15 @@ regex/\.(wav22|WAV22)$
|
|||
Open=vplay -s 22 %f
|
||||
|
||||
regex/\.(mp3|MP3|Mp3)$
|
||||
Open=mpg123 %f
|
||||
View=%view{ascii} mpg123 -tn1 %f 2>&1|grep -E "^(Title|Album|Comment|MPEG|$)"
|
||||
Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f &); fi
|
||||
View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
|
||||
|
||||
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'
|
||||
|
||||
regex/\.(midi?|MIDI?|Midi?)$
|
||||
Open=timidity %f
|
||||
|
||||
### Multimedia ###
|
||||
|
||||
|
|
Loading…
Reference in New Issue