<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">
<!-- Read /usr/share/doc/mediatomb-common/README.gz section 6 for more information on creating and using config.xml configration files. -->
<server>
<ui enabled="yes" show-tooltips="yes">
<accounts enabled="yes" session-timeout="60">
<account user="mediatomb" password="mediatomb"/>
</accounts>
</ui>
<name>
Viera DLNA Server
</name>
<udn>
uuid:7baa9dd7-7d81-41f0-be70-0c432af4e893
</udn>
<home>
/var/lib/mediatomb
</home>
<webroot>
/usr/share/mediatomb/web
</webroot>
<!--<tmpdir>/var/lib/mediatomb/</tmpdir> -->
<storage>
<sqlite3 enabled="no">
<database-file>
mediatomb.db
</database-file>
</sqlite3>
<mysql enabled="yes">
<host>
localhost
</host>
<username>
mediatomb
</username>
<database>
mediatomb
</database>
</mysql>
</storage>
<protocolInfo extend="no"/>
<!-- For PS3 support change to "yes" -->
<!-- Uncomment the lines below to get rid of jerky avi playback on the DSM320 or to enable subtitles support on the DSM units -->
<!-- <custom-http-headers> <add header="X-User-Agent: redsonic"/> </custom-http-headers> <manufacturerURL>redsonic.com</manufacturerURL> <modelNumber>105</modelNumber> -->
<!-- Uncomment the line below if you have a Telegent TG100 -->
<!-- <upnp-string-limit>101</upnp-string-limit> -->
<extended-runtime-options>
<ffmpegthumbnailer enabled="yes">
<thumbnail-size>
128
</thumbnail-size>
<seek-percentage>
5
</seek-percentage>
<filmstrip-overlay>
yes
</filmstrip-overlay>
<workaround-bugs>
no
</workaround-bugs>
</ffmpegthumbnailer>
<mark-played-items enabled="no" suppress-cds-updates="yes">
<string mode="prepend">
*
</string>
</mark-played-items>
</extended-runtime-options>
</server>
<import hidden-files="yes">
<filesystem-charset>
UTF-8
</filesystem-charset>
<metadata-charset>
UTF-8
</metadata-charset>
<playlist-charset>
UTF-8
</playlist-charset>
<scripting script-charset="UTF-8">
<common-script>
/usr/share/mediatomb/js/common.js
</common-script>
<playlist-script>
/usr/share/mediatomb/js/playlists.js
</playlist-script>
<virtual-layout type="builtin">
<import-script>
/usr/share/mediatomb/js/import.js
</import-script>
<dvd-script>
/usr/share/mediatomb/js/import-dvd.js
</dvd-script>
</virtual-layout>
</scripting>
<mappings>
<extension-mimetype ignore-unknown="no">
<map from="mp3" to="audio/mpeg"/>
<map from="slide" to="video/x-mp3"/>
<map from="mp4" to="video/x-ms-mp4"/>
<map from="ogg" to="application/ogg"/>
<map from="asf" to="video/x-ms-asf"/>
<map from="asx" to="video/x-ms-asf"/>
<map from="wma" to="audio/x-ms-wma"/>
<map from="wax" to="audio/x-ms-wax"/>
<map from="wmv" to="video/x-ms-wmv"/>
<map from="wvx" to="video/x-ms-wvx"/>
<map from="wm" to="video/x-ms-wm"/>
<map from="wmx" to="video/x-ms-wmx"/>
<map from="m3u" to="audio/x-mpegurl"/>
<map from="pls" to="audio/x-scpls"/>
<map from="flv" to="video/x-flv"/>
<map from="mkv" to="video/x-matroska"/>
<map from="mka" to="audio/x-matroska"/>
<!-- Uncomment the line below for PS3 divx support -->
<map from="avi" to="video/divx"/>
<map from="avi" to="video/xvid"/>
<!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
<!-- <map from="avi" to="video/avi"/> -->
<map from="mov" to="video/x-quicktime"/>
<map from="m4a" to="audio/mp4"/>
<map from="m4v" to="video/mp4"/>
<map from="avit" to="video/avit"/>
<map from="m2ts" to="video/x-bdmv"/>
<map from="ts" to="video/ts-avi"/>
<!-- телеканалы с dsn.ru -->
<map from="vob" to="video/divx"/>
<!-- файлы dvd-дисков -->
<map from="asf" to="video/sopcast-x-ms-wmv"/>
<!-- телеканалы sop-cast -->
<map from="scr" to="video/ts-scr"/>
<!-- экран -->
</extension-mimetype>
<mimetype-upnpclass>
<map from="audio/*" to="object.item.audioItem.musicTrack"/>
<map from="video/*" to="object.item.videoItem"/>
<map from="image/*" to="object.item.imageItem"/>
<map from="application/ogg" to="object.item.audioItem.musicTrack"/>
</mimetype-upnpclass>
<mimetype-contenttype>
<treat mimetype="video/mp3" as="mp3"/>
<treat mimetype="video/x-mp3" as="slide"/>
<treat mimetype="audio/mpeg" as="mp3"/>
<!-- <treat mimetype="video/avi" as="avi"/> -->
<treat mimetype="video/divx" as="avi"/>
<treat mimetype="video/xvid" as="avi"/>
<treat mimetype="application/ogg" as="ogg"/>
<treat mimetype="audio/x-flac" as="flac"/>
<treat mimetype="image/jpeg" as="jpg"/>
<treat mimetype="audio/x-mpegurl" as="playlist"/>
<treat mimetype="audio/x-scpls" as="playlist"/>
<treat mimetype="audio/x-wav" as="pcm"/>
<treat mimetype="audio/L16" as="pcm"/>
<treat mimetype="video/x-msvideo" as="avi"/>
<treat mimetype="video/x-ms-mp4" as="mp4"/>
<treat mimetype="video/mp4" as="mp4"/>
<treat mimetype="audio/mp4" as="mp4"/>
<treat mimetype="application/x-iso9660" as="dvd"/>
<treat mimetype="application/x-iso9660-image" as="dvd"/>
<treat mimetype="video/x-matroska" as="mkv"/>
<treat mimetype="audio/x-matroska" as="mka"/>
<treat mimetype="audio/x-flv" as="flv"/>
<treat mimetype="video/avit" as="avit"/>
<treat mimetype="video/ts-avi" as="ts"/>
<treat mimetype="video/ts-scr" as="scr"/>
<treat mimetype="video/x-bdmv" as="m2ts"/>
<treat mimetype="video/quicktime" as="mov"/>
<treat mimetype="video/x-quicktime" as="mov"/>
<treat mimetype="video/sopcast-x-ms-wmv" as="avi"/>
</mimetype-contenttype>
</mappings>
<!-- <online-content> -->
<online-content fetch-buffer-size="262144" fetch-buffer-fill-size="0">
<YouTube enabled="yes" refresh="28800" update-at-start="yes" purge-after="604800" racy-content="exclude" format="flv" hd="no">
<favorites user="mediatombnikols"/>
<playlists user="Games"/>
<uploads user="mediatombnikols"/>
<!--<standardfeed feed="most_viewed" time-range="all_time"/> <standardfeed feed="recently_featured" time-range="this_week"/> <standardfeed feed="top_rated" time-range="this_week"/> -->
</YouTube>
<!--<YouTube enabled="yes" refresh="28800" update-at-start="yes" purge-after="604800" racy-content="exclude" format="mp4" hd="no"> <favorites user="NationalGeographic"/> <playlists user="PlayStation"/> <uploads user="Google"/> <standardfeed feed="most_viewed" time-range="today"/> <standardfeed feed="recently_featured" time-range="today"/> </YouTube> -->
<!-- <Weborama enabled="yes" refresh="28800" update-at-start="yes"> <playlist name="Active" type="playlist" mood="active"/> <playlist name="Metal" type="playlist"> <filter> <genres>metal</genres> </filter> </playlist> </Weborama> -->
<AppleTrailers enabled="yes" refresh="43200" update-at-start="yes" resolution="640"/>
<!-- <AppleTrailers enabled="yes" refresh="43200" update-at-start="yes" resolution="720p"/>-->
<SopCast enabled="yes" refresh="43200" purge-after="50000" update-at-start="yes"/>
</online-content>
</import>
<transcoding enabled="yes">
<mimetype-profile-mappings>
<transcode mimetype="video/xvid" using="videompeg"/>
<transcode mimetype="application/ogg" using="oggflac2raw"/>
<transcode mimetype="audio/x-flac" using="oggflac2raw"/>
<transcode mimetype="video/x-mp3" using="videompeg"/>
<transcode mimetype="audio/mpeg" using="videompegc"/>
<transcode mimetype="video/x-flv" using="videompeg"/>
<transcode mimetype="video/x-ms-wmv" using="videompeg"/>
<transcode mimetype="video/x-matroska" using="videompeg"/>
<transcode mimetype="video/x-ms-mp4" using="videompeg"/>
<transcode mimetype="video/mp4" using="videompeg"/>
<transcode mimetype="video/x-ms-mp4" using="videompeg"/>
<transcode mimetype="video/divx" using="videodivx"/>
<!-- <transcode mimetype="video/avi" using="notranscode"/> -->
<transcode mimetype="video/avit" using="videompeg"/>
<transcode mimetype="video/ts-avi" using="videompeg"/>
<transcode mimetype="video/ts-scr" using="videompeg"/>
<transcode mimetype="video/x-bdmv" using="videompeg"/>
<transcode mimetype="video/x-quicktime" using="videompeg"/>
<transcode mimetype="video/quicktime" using="videompeg"/>
<transcode mimetype="video/sopcast-x-ms-wmv" using="videompeg"/>
<transcode mimetype="video/x-1" using="notranscode"/>
<transcode mimetype="video/x-3" using="videompeg"/>
</mimetype-profile-mappings>
<profiles>
<profile name="oggflac2raw" enabled="yes" type="external">
<mimetype>
audio/L16
</mimetype>
<accept-url>
yes
</accept-url>
<first-resource>
yes
</first-resource>
<accept-ogg-theora>
no
</accept-ogg-theora>
<agent command="ogg123" arguments="-d raw -o byteorder:big -f %out %in"/>
<buffer size="1048576" chunk-size="131072" fill-size="262144"/>
</profile>
<profile name="videompeg" enabled="yes" type="external">
<mimetype>
video/mpeg
</mimetype>
<accept-url>
yes
</accept-url>
<first-resource>
yes
</first-resource>
<hide-original-resource>
yes
</hide-original-resource>
<accept-ogg-theora>
yes
</accept-ogg-theora>
<use-chunked-encoding>
yes
</use-chunked-encoding>
<agent command="/usr/local/bin/transcoder" arguments="%in %out"/>
<!-- <buffer size="14400000" chunk-size="512000" fill-size="120000"/> -->
<buffer size="256000000" chunk-size="26214" fill-size="52428"/>
</profile>
<profile name="videodivx" enabled="yes" type="external">
<mimetype>
video/divx
</mimetype>
<accept-url>
yes
</accept-url>
<first-resource>
yes
</first-resource>
<hide-original-resource>
yes
</hide-original-resource>
<accept-ogg-theora>
yes
</accept-ogg-theora>
<!-- <avi-fourcc-list mode="process"> <fourcc>AASC</fourcc> </avi-fourcc-list> -->
<avi-fourcc-list mode="ignore">
<fourcc>
XVID
</fourcc>
<fourcc>
DIVX
</fourcc>
<fourcc>
DIV3
</fourcc>
<fourcc>
DIV4
</fourcc>
<fourcc>
DX50
</fourcc>
</avi-fourcc-list>
<agent command="/usr/local/bin/transcoder" arguments="%in %out"/>
<buffer size="256000000" chunk-size="26214" fill-size="52428"/>
</profile>
<profile name="notranscode" enabled="yes" type="external">
<mimetype>
video/divx
</mimetype>
<accept-url>
yes
</accept-url>
<first-resource>
yes
</first-resource>
<hide-original-resource>
yes
</hide-original-resource>
<accept-ogg-theora>
yes
</accept-ogg-theora>
<avi-fourcc-list mode="process">
<fourcc>
AASC
</fourcc>
</avi-fourcc-list>
<agent command="cp" arguments="%in %out"/>
<!-- <buffer size="10485760" chunk-size="131072" fill-size="2621440"/> -->
<buffer size="1048576" chunk-size="26214" fill-size="52428"/>
</profile>
</profiles>
</transcoding>
</config>