Lines 1-15
Link Here
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<config xmlns="http://mediatomb.cc/0.10.0/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/0.10.0/config http://mediatomb.cc/0.10.0/config.xsd"> |
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> |
3 |
<server> |
4 |
<ui enabled="yes"> |
4 |
<ui enabled="yes"> |
5 |
<accounts enabled="no" session-timeout="30"/> |
5 |
<accounts enabled="no" session-timeout="30"> |
|
|
6 |
<account user="mediatomb" password="mediatomb"/> |
7 |
</accounts> |
6 |
</ui> |
8 |
</ui> |
7 |
<name>MediaTomb</name> |
9 |
<name>MediaTomb</name> |
|
|
10 |
<udn/> |
8 |
<home>%%MEDIATOMB_DIR%%</home> |
11 |
<home>%%MEDIATOMB_DIR%%</home> |
9 |
<webroot>%%DATADIR%%/web</webroot> |
12 |
<webroot>%%DATADIR%%/web</webroot> |
10 |
<storage driver="sqlite3"> |
13 |
<storage> |
11 |
<database-file>mediatomb.db</database-file> |
14 |
<sqlite3 enabled="yes"> |
|
|
15 |
<database-file>mediatomb.db</database-file> |
16 |
</sqlite3> |
17 |
<mysql enabled="no"> |
18 |
<host>localhost</host> |
19 |
<username>mediatomb</username> |
20 |
<database>mediatomb</database> |
21 |
</mysql> |
12 |
</storage> |
22 |
</storage> |
|
|
23 |
<protocolInfo extend="no"/><!-- For PS3 support change to "yes" --> |
24 |
<!-- |
25 |
Uncomment the lines below to get rid of jerky avi playback on the |
26 |
DSM320 or to enable subtitles support on the DSM units |
27 |
--> |
28 |
<!-- |
29 |
<custom-http-headers> |
30 |
<add header="X-User-Agent: redsonic"/> |
31 |
</custom-http-headers> |
32 |
|
33 |
<manufacturerURL>redsonic.com</manufacturerURL> |
34 |
<modelNumber>105</modelNumber> |
35 |
--> |
36 |
<!-- Uncomment the line below if you have a Telegent TG100 --> |
37 |
<!-- |
38 |
<upnp-string-limit>101</upnp-string-limit> |
39 |
--> |
13 |
</server> |
40 |
</server> |
14 |
<import hidden-files="no"> |
41 |
<import hidden-files="no"> |
15 |
<scripting script-charset="UTF-8"> |
42 |
<scripting script-charset="UTF-8"> |
Lines 33-42
Link Here
|
33 |
<map from="wmx" to="video/x-ms-wmx"/> |
60 |
<map from="wmx" to="video/x-ms-wmx"/> |
34 |
<map from="m3u" to="audio/x-mpegurl"/> |
61 |
<map from="m3u" to="audio/x-mpegurl"/> |
35 |
<map from="pls" to="audio/x-scpls"/> |
62 |
<map from="pls" to="audio/x-scpls"/> |
|
|
63 |
<map from="flv" to="video/x-flv"/> |
64 |
<!-- Uncomment the line below for PS3 divx support --> |
65 |
<!-- <map from="avi" to="video/divx"/> --> |
66 |
<!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 --> |
67 |
<!-- <map from="avi" to="video/avi"/> --> |
36 |
</extension-mimetype> |
68 |
</extension-mimetype> |
37 |
<mimetype-upnpclass> |
69 |
<mimetype-upnpclass> |
38 |
<map from="audio/*" to="object.item.audioItem.musicTrack"/> |
70 |
<map from="audio/*" to="object.item.audioItem.musicTrack"/> |
39 |
<map from="application/ogg" to="object.item.audioItem.musicTrack"/> |
|
|
40 |
<map from="video/*" to="object.item.videoItem"/> |
71 |
<map from="video/*" to="object.item.videoItem"/> |
41 |
<map from="image/*" to="object.item.imageItem"/> |
72 |
<map from="image/*" to="object.item.imageItem"/> |
42 |
</mimetype-upnpclass> |
73 |
</mimetype-upnpclass> |
Lines 47-53
Link Here
|
47 |
<treat mimetype="image/jpeg" as="jpg"/> |
78 |
<treat mimetype="image/jpeg" as="jpg"/> |
48 |
<treat mimetype="audio/x-mpegurl" as="playlist"/> |
79 |
<treat mimetype="audio/x-mpegurl" as="playlist"/> |
49 |
<treat mimetype="audio/x-scpls" as="playlist"/> |
80 |
<treat mimetype="audio/x-scpls" as="playlist"/> |
|
|
81 |
<treat mimetype="audio/x-wav" as="pcm"/> |
82 |
<treat mimetype="video/x-msvideo" as="avi"/> |
50 |
</mimetype-contenttype> |
83 |
</mimetype-contenttype> |
51 |
</mappings> |
84 |
</mappings> |
52 |
</import> |
85 |
</import> |
53 |
</config> |
86 |
<transcoding enabled="no"> |
|
|
87 |
<mimetype-profile-mappings> |
88 |
<transcode mimetype="video/x-flv" using="vlcmpeg"/> |
89 |
<transcode mimetype="application/ogg" using="vlcmpeg"/> |
90 |
<transcode mimetype="application/ogg" using="oggflac2raw"/> |
91 |
<transcode mimetype="audio/x-flac" using="oggflac2raw"/> |
92 |
</mimetype-profile-mappings> |
93 |
<profiles> |
94 |
<profile name="oggflac2raw" enabled="no" type="external"> |
95 |
<mimetype>audio/L16</mimetype> |
96 |
<accept-url>no</accept-url> |
97 |
<first-resource>yes</first-resource> |
98 |
<accept-ogg-theora>no</accept-ogg-theora> |
99 |
<agent command="ogg123" arguments="-d raw -f %out %in"/> |
100 |
<buffer size="1048576" chunk-size="131072" fill-size="262144"/> |
101 |
</profile> |
102 |
<profile name="vlcmpeg" enabled="no" type="external"> |
103 |
<mimetype>video/mpeg</mimetype> |
104 |
<accept-url>yes</accept-url> |
105 |
<first-resource>yes</first-resource> |
106 |
<accept-ogg-theora>yes</accept-ogg-theora> |
107 |
<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"/> |
108 |
<buffer size="14400000" chunk-size="512000" fill-size="120000"/> |
109 |
</profile> |
110 |
</profiles> |
111 |
</transcoding> |
112 |
</config> |