From 9da517a16934bcaa1a3f5c6f3a4b3d0866648ba6 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Tue, 28 Aug 2012 16:23:34 +0300 Subject: [PATCH] Fixed OGV file extention handle. Currently OGV files handles as video. Signed-off-by: Slava Zanko --- misc/mc.ext.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/mc.ext.in b/misc/mc.ext.in index a254f87d2..887769f4e 100644 --- a/misc/mc.ext.in +++ b/misc/mc.ext.in @@ -428,7 +428,7 @@ 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|aA|vV|xX])$ +regex/\.([oO][gG][gG|aA|xX])$ Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else (xmms %f >/dev/null 2>&1 &); fi View=%view{ascii} ogginfo %s @@ -485,7 +485,7 @@ regex/\.([wW][mM][vV])$ regex/\.([fF][lL][iIcCvV])$ Include=video -regex/\.([oO][gG][mM])$ +regex/\.([oO][gG][mMvV])$ Include=video regex/\.([rR][aA]?[mM])$