root/mediatomb/module/system/etc/config.xml

Revision 4, 5.9 kB (checked in by ixs, 13 years ago)

initial mediatomb checkin

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <config version="2" xmlns="http://mediatomb.cc/config/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/2 http://mediatomb.cc/config/2.xsd">
3   <server>
4     <port>8080</port>
5     <interface>@@@INTERFACE@@@</interface>
6     <ui enabled="no" show-tooltips="yes">
7       <accounts enabled="no" session-timeout="30">
8         <account user="mediatomb" password="mediatomb"/>
9       </accounts>
10     </ui>
11     <name>@@@NAME@@@</name>
12     <presentationURL append-to="ip">/adm/getform.html?Module=MEDIATOMB</presentationURL>
13     <udn>uuid:@@@UUID@@@</udn>
14     <home>/raid0/data/module/MEDIATOMB/system/var/mediatomb</home>
15     <webroot>/raid0/data/module/MEDIATOMB/system/share/mediatomb/web</webroot>
16     <storage>
17       <sqlite3 enabled="yes">
18         <database-file>mediatomb.db</database-file>
19       </sqlite3>
20     </storage>
21     <protocolInfo extend="yes"/>
22
23     <custom-http-headers>
24       <add header="transferMode.dlna.org: Streaming"/>
25       <add header="contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000"/>
26     </custom-http-headers>
27
28     <extended-runtime-options>
29       <ffmpegthumbnailer enabled="yes">
30         <thumbnail-size>128</thumbnail-size>
31         <seek-percentage>5</seek-percentage>
32         <filmstrip-overlay>yes</filmstrip-overlay>
33         <workaround-bugs>no</workaround-bugs>
34         <image-quality>8</image-quality>
35       </ffmpegthumbnailer>
36       <mark-played-items enabled="no" suppress-cds-updates="yes">
37         <string mode="prepend">*</string>
38         <mark>
39           <content>video</content>
40         </mark>
41       </mark-played-items>
42     </extended-runtime-options>
43   </server>
44   <import hidden-files="no">
45     <filesystem-charset>UTF-8</filesystem-charset>
46     <metadata-charset>UTF-8</metadata-charset>
47     <scripting script-charset="UTF-8">
48       <common-script>/raid0/data/module/MEDIATOMB/system/share/mediatomb/js/common.js</common-script>
49       <playlist-script>/raid0/data/module/MEDIATOMB/system/share/mediatomb/js/playlists.js</playlist-script>
50       <virtual-layout type="disabled">
51         <import-script>/raid0/data/module/MEDIATOMB/system/share/mediatomb/js/import.js</import-script>
52       </virtual-layout>
53     </scripting>
54     <autoscan use-inotify="auto">
55     </autoscan>
56     <mappings>
57       <extension-mimetype ignore-unknown="no">
58         <map from="mp3" to="audio/mpeg"/>
59         <map from="ogx" to="application/ogg"/>
60         <map from="ogv" to="video/ogg"/>
61         <map from="oga" to="audio/ogg"/>
62         <map from="ogg" to="audio/ogg"/>
63         <map from="ogm" to="video/ogg"/>
64         <map from="asf" to="video/x-ms-asf"/>
65         <map from="asx" to="video/x-ms-asf"/>
66         <map from="wma" to="audio/x-ms-wma"/>
67         <map from="wax" to="audio/x-ms-wax"/>
68         <map from="wmv" to="video/x-ms-wmv"/>
69         <map from="wvx" to="video/x-ms-wvx"/>
70         <map from="wm" to="video/x-ms-wm"/>
71         <map from="wmx" to="video/x-ms-wmx"/>
72         <map from="m3u" to="audio/x-mpegurl"/>
73         <map from="pls" to="audio/x-scpls"/>
74         <map from="flv" to="video/x-flv"/>
75         <map from="mkv" to="video/x-matroska"/>
76         <map from="mka" to="audio/x-matroska"/>
77         <map from="avi" to="video/x-msvideo"/>
78       </extension-mimetype>
79       <mimetype-upnpclass>
80         <map from="audio/*" to="object.item.audioItem.musicTrack"/>
81         <map from="video/*" to="object.item.videoItem"/>
82         <map from="image/*" to="object.item.imageItem"/>
83       </mimetype-upnpclass>
84       <mimetype-contenttype>
85         <treat mimetype="audio/mpeg" as="mp3"/>
86         <treat mimetype="application/ogg" as="ogg"/>
87         <treat mimetype="audio/x-flac" as="flac"/>
88         <treat mimetype="image/jpeg" as="jpg"/>
89         <treat mimetype="audio/x-mpegurl" as="playlist"/>
90         <treat mimetype="audio/x-scpls" as="playlist"/>
91         <treat mimetype="audio/x-wav" as="pcm"/>
92         <treat mimetype="audio/L16" as="pcm"/>
93         <treat mimetype="video/x-msvideo" as="avi"/>
94         <treat mimetype="video/mp4" as="mp4"/>
95         <treat mimetype="audio/mp4" as="mp4"/>
96         <treat mimetype="application/x-iso9660" as="dvd"/>
97         <treat mimetype="application/x-iso9660-image" as="dvd"/>
98       </mimetype-contenttype>
99     </mappings>
100   </import>
101   <transcoding enabled="yes">
102     <mimetype-profile-mappings>
103       <transcode mimetype="video/x-flv" using="vlcmpeg"/>
104       <transcode mimetype="video/mp4" using="vlcmpeg"/>
105       <transcode mimetype="video/x-msvideo" using="vlcmpeg"/>
106       <transcode mimetype="video/mpeg" using="vlcmpeg"/>
107       <transcode mimetype="video/x-ms-vmw" using="vlcmpeg"/>
108       <transcode mimetype="video/x-flv" using="vlcmpeg"/>
109       <transcode mimetype="application/ogg" using="vlcmpeg"/>
110       <transcode mimetype="application/ogg" using="oggflac2raw"/>
111       <transcode mimetype="audio/x-flac" using="oggflac2raw"/>
112     </mimetype-profile-mappings>
113     <profiles>
114       <profile name="oggflac2raw" enabled="no" type="external">
115         <mimetype>audio/L16</mimetype>
116         <accept-url>no</accept-url>
117         <first-resource>yes</first-resource>
118         <accept-ogg-theora>no</accept-ogg-theora>
119         <agent command="ogg123" arguments="-d raw -o byteorder:big -f %out %in"/>
120         <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
121       </profile>
122       <profile name="vlcmpeg" enabled="no" type="external">
123         <mimetype>video/mpeg</mimetype>
124         <accept-url>yes</accept-url>
125         <first-resource>yes</first-resource>
126         <accept-ogg-theora>yes</accept-ogg-theora>
127         <agent command="/raid0/data/module/MEDIATOMB/system/bin/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"/>
128         <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
129       </profile>
130     </profiles>
131   </transcoding>
132 </config>
Note: See TracBrowser for help on using the browser.