pkgsrc/multimedia/mediatomb/patches/patch-af
agc b1ef430825 Add two patches to recognise the "mp4" file extension as a "video/mp4"
type, which lets mp4 files be added to the database, and get presented
via UPnP.

There are two files because the basic mappings are specified in the
config.xml file, which is generated by a C++ program, and there's a
corresponding change to the mappings.xml file which is kept around
as source.

With thanks to Jared for the mapping information.
2008-04-11 10:11:59 +00:00

12 lines
467 B
Text

$NetBSD: patch-af,v 1.1 2008/04/11 10:11:59 agc Exp $
--- config/mappings.xml 2008/04/11 09:24:50 1.1
+++ config/mappings.xml 2008/04/11 09:25:38
@@ -13,6 +13,7 @@
<map from="m3u" to="audio/x-mpegurl"/>
<map from="pls" to="audio/x-scpls"/>
<map from="flv" to="video/x-flv"/>
+ <map from="mp4" to="video/mp4"/>
</extension-mimetype>
<mimetype-upnpclass>
<map from="audio/*" to="object.item.audioItem.musicTrack"/>