]>
git.ipfire.org Git - ipfire-2.x.git/blob - config/mediatomb/config.xml
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">
5 <accounts enabled=
"yes" session-timeout=
"30">
6 <account user=
"mediatomb" password=
"ipfire"/>
10 <home>/var/ipfire/mediatomb
</home>
11 <webroot>/usr/share/mediatomb/web
</webroot>
13 <sqlite3 enabled=
"yes">
14 <database-file>mediatomb.db
</database-file>
17 <protocolInfo extend=
"no"/><!-- For PS3 support change to "yes" -->
19 Uncomment the lines below to get rid of jerky avi playback on the
20 DSM320 or to enable subtitles support on the DSM units
24 <add header="X-User-Agent: redsonic"/>
25 </custom-http-headers>
27 <manufacturerURL>redsonic.com</manufacturerURL>
28 <modelNumber>105</modelNumber>
30 <!-- Uncomment the line below if you have a Telegent TG100 -->
32 <upnp-string-limit>101</upnp-string-limit>
35 <import hidden-files=
"no">
36 <scripting script-charset=
"UTF-8">
37 <virtual-layout type=
"builtin"/>
40 <extension-mimetype ignore-unknown=
"no">
41 <map from=
"mp3" to=
"audio/mpeg"/>
42 <map from=
"ogg" to=
"application/ogg"/>
43 <map from=
"asf" to=
"video/x-ms-asf"/>
44 <map from=
"asx" to=
"video/x-ms-asf"/>
45 <map from=
"wma" to=
"audio/x-ms-wma"/>
46 <map from=
"wax" to=
"audio/x-ms-wax"/>
47 <map from=
"wmv" to=
"video/x-ms-wmv"/>
48 <map from=
"wvx" to=
"video/x-ms-wvx"/>
49 <map from=
"wm" to=
"video/x-ms-wm"/>
50 <map from=
"wmx" to=
"video/x-ms-wmx"/>
51 <map from=
"m3u" to=
"audio/x-mpegurl"/>
52 <map from=
"pls" to=
"audio/x-scpls"/>
53 <map from=
"flv" to=
"video/x-flv"/>
54 <!-- Uncomment the line below for PS3 divx support -->
55 <!-- <map from="avi" to="video/divx"/> -->
56 <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
57 <!-- <map from="avi" to="video/avi"/> -->
60 <map from=
"audio/*" to=
"object.item.audioItem.musicTrack"/>
61 <map from=
"video/*" to=
"object.item.videoItem"/>
62 <map from=
"image/*" to=
"object.item.imageItem"/>
64 <mimetype-contenttype>
65 <treat mimetype=
"audio/mpeg" as=
"mp3"/>
66 <treat mimetype=
"application/ogg" as=
"ogg"/>
67 <treat mimetype=
"audio/x-flac" as=
"flac"/>
68 <treat mimetype=
"image/jpeg" as=
"jpg"/>
69 <treat mimetype=
"audio/x-mpegurl" as=
"playlist"/>
70 <treat mimetype=
"audio/x-scpls" as=
"playlist"/>
71 <treat mimetype=
"audio/x-wav" as=
"pcm"/>
72 <treat mimetype=
"audio/L16" as=
"pcm"/>
73 <treat mimetype=
"video/x-msvideo" as=
"avi"/>
74 </mimetype-contenttype>
77 <transcoding enabled=
"no">
78 <mimetype-profile-mappings>
79 <transcode mimetype=
"video/x-flv" using=
"vlcmpeg"/>
80 <transcode mimetype=
"application/ogg" using=
"vlcmpeg"/>
81 <transcode mimetype=
"application/ogg" using=
"oggflac2raw"/>
82 <transcode mimetype=
"audio/x-flac" using=
"oggflac2raw"/>
83 </mimetype-profile-mappings>
85 <profile name=
"oggflac2raw" enabled=
"no" type=
"external">
86 <mimetype>audio/L16
</mimetype>
87 <accept-url>no
</accept-url>
88 <first-resource>yes
</first-resource>
89 <accept-ogg-theora>no
</accept-ogg-theora>
90 <agent command=
"ogg123" arguments=
"-d raw -f %out %in"/>
91 <buffer size=
"1048576" chunk-size=
"131072" fill-size=
"262144"/>
93 <profile name=
"vlcmpeg" enabled=
"no" type=
"external">
94 <mimetype>video/mpeg
</mimetype>
95 <accept-url>yes
</accept-url>
96 <first-resource>yes
</first-resource>
97 <accept-ogg-theora>yes
</accept-ogg-theora>
98 <agent command=
"vlc" arguments=
"-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
99 <buffer size=
"14400000" chunk-size=
"512000" fill-size=
"120000"/>