mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Handling of XIPH multimedia formats
Ticket: #328 mc.ext update in respect to the handling of XIPH multimedia formats .ogg, oga, .ogv, etc. http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions Update provided by jemm Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
This commit is contained in:
parent
8a3e1a8f5b
commit
b384faef82
@ -400,10 +400,13 @@ regex/\.([mM][pP]3)$
|
||||
Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f >/dev/null 2>&1 &); fi
|
||||
View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
|
||||
|
||||
regex/\.([oO][gG][gG])$
|
||||
regex/\.([oO][gG][gG|aA|vV|xX])$
|
||||
Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else (xmms %f >/dev/null 2>&1 &); fi
|
||||
View=%view{ascii} ogginfo %s
|
||||
|
||||
regex/\.([sS][pP][xX]|[fF][lL][aA][cC])$
|
||||
Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms %f >/dev/null 2>&1 &); fi
|
||||
|
||||
regex/\.([mM][iI][dD][iI]?|[rR][mM][iI][dD]?)$
|
||||
Open=timidity %f
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user