Proposal to add .ogv, .oga etc to mc.ext

Priit Jõerüüt jemm4jemm at yahoo.com
Fri Mar 21 22:52:11 UTC 2008


Hello,

Xiph.org, the developer of Vorbis, Theora and other
free media formats has a couple of months ago defined
also new file extensions and mime-types as outlined
herein:
http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions

Current mc.ext code does not include any definitions
other than .ogg.

I'd propose at least to include .oga and .ogv as the
ones that most apps should now default to as defined
in this spec:

regex/\.([oO][gG][aA])$
	Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else
(xmms %f >/dev/null 2>&1 &); fi
	View=%view{ascii} ogginfo %s

regex/\.([oO][gG][vV])$
	Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else
(xmms %f >/dev/null 2>&1 &); fi
	View=%view{ascii} ogginfo %s

Or maybe joint into one regex with .ogg.

Ogginfo in vorbis-tools is perfectly capable of
parsing the contents of all ogg-containers (incl .oga
and .ogv). But probably ogg123 may not be the best
idea for .ogv (so some changes are needed there).

Best regards,


-- 
Priit


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the mc-devel mailing list