PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/net-misc/mediatomb/files/mediatomb-0.11.0.config

http://github.com/stsquad/Gentoo-Overlay
Unknown | 68 lines | 68 code | 0 blank | 0 comment | 0 complexity | 1780aa1b2f752964c61009c6ab453b04 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1 http://mediatomb.cc/config/1.xsd">
 3  <server>
 4    <ui enabled="yes">
 5      <accounts enabled="no" session-timeout="30">
 6        <account user="mediatomb" password="mediatomb"/>
 7      </accounts>
 8    </ui>
 9    <name>MediaTomb</name>
10    <udn></udn>
11    <home>/var/lib/mediatomb</home>
12    <webroot>/usr/share/mediatomb/web</webroot>
13    <storage>
14      <sqlite3 enabled="yes">
15        <database-file>mediatomb.db</database-file>
16      </sqlite3>
17      <mysql enabled="no">
18        <host>localhost</host>
19        <database>mediatomb</database>
20        <username>mediatomb</username>
21        <password>mediatomb</password>
22      </mysql>
23    </storage>
24    <protocolInfo extend="no"/>
25  </server>
26  <import hidden-files="no">
27    <scripting script-charset="UTF-8">
28      <common-script>/usr/share/mediatomb/js/common.js</common-script>
29      <playlist-script>/usr/share/mediatomb/js/playlists.js</playlist-script>
30      <virtual-layout type="builtin">
31        <import-script>/usr/share/mediatomb/js/import.js</import-script>
32      </virtual-layout>
33    </scripting>
34    <mappings>
35      <extension-mimetype ignore-unknown="no">
36        <map from="mp3" to="audio/mpeg"/>
37        <map from="ogg" to="application/ogg"/>
38        <map from="asf" to="video/x-ms-asf"/>
39        <map from="asx" to="video/x-ms-asf"/>
40        <map from="wma" to="audio/x-ms-wma"/>
41        <map from="wax" to="audio/x-ms-wax"/>
42        <map from="wmv" to="video/x-ms-wmv"/>
43        <map from="wvx" to="video/x-ms-wvx"/>
44        <map from="wm" to="video/x-ms-wm"/>
45        <map from="wmx" to="video/x-ms-wmx"/>
46        <map from="m3u" to="audio/x-mpegurl"/>
47        <map from="pls" to="audio/x-scpls"/>
48        <map from="flv" to="video/x-flv"/>
49      </extension-mimetype>
50      <mimetype-upnpclass>
51        <map from="audio/*" to="object.item.audioItem.musicTrack"/>
52        <map from="video/*" to="object.item.videoItem"/>
53        <map from="image/*" to="object.item.imageItem"/>
54      </mimetype-upnpclass>
55      <mimetype-contenttype>
56        <treat mimetype="audio/mpeg" as="mp3"/>
57        <treat mimetype="application/ogg" as="ogg"/>
58        <treat mimetype="audio/x-flac" as="flac"/>
59        <treat mimetype="image/jpeg" as="jpg"/>
60        <treat mimetype="audio/x-mpegurl" as="playlist"/>
61        <treat mimetype="audio/x-scpls" as="playlist"/>
62        <treat mimetype="audio/x-wav" as="pcm"/>
63        <treat mimetype="audio/L16" as="pcm"/>
64        <treat mimetype="video/x-msvideo" as="avi"/>
65      </mimetype-contenttype>
66    </mappings>
67  </import>
68</config>