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.
12 lines
698 B
Text
12 lines
698 B
Text
$NetBSD: patch-ag,v 1.1 2008/04/11 10:11:59 agc Exp $
|
|
|
|
--- src/config_manager.cc 2008/04/11 09:51:48 1.1
|
|
+++ src/config_manager.cc 2008/04/11 09:52:52
|
|
@@ -486,6 +486,7 @@
|
|
Ref<Element> ext2mt(new Element(_("extension-mimetype")));
|
|
ext2mt->setAttribute(_("ignore-unknown"), _(DEFAULT_IGNORE_UNKNOWN_EXTENSIONS));
|
|
ext2mt->appendElementChild(map_from_to(_("mp3"), _("audio/mpeg")));
|
|
+ ext2mt->appendElementChild(map_from_to(_("mp4"), _("video/mp4")));
|
|
ext2mt->appendElementChild(map_from_to(_("ogg"), _("application/ogg")));
|
|
ext2mt->appendElementChild(map_from_to(_("asf"), _("video/x-ms-asf")));
|
|
ext2mt->appendElementChild(map_from_to(_("asx"), _("video/x-ms-asf")));
|