Want more features on Pastebin? Sign Up, it's FREE!
Guest

nithin

By: a guest on Jul 27th, 2011  |  syntax: None  |  size: 6.46 KB  |  views: 143  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.      Read /usr/share/doc/mediatomb-common/README.gz section 6 for more
  4.      information on creating and using config.xml configration files.
  5.     -->
  6.   <server>
  7.     <ui enabled="yes" show-tooltips="yes">
  8.       <accounts enabled="no" session-timeout="30">
  9.         <account user="mediatomb" password="mediatomb"/>
  10.       </accounts>
  11.     </ui>
  12.     <name>Athena MediaBoX</name>
  13.     <udn>uuid:007437ba-ff00-4ce7-ac17-8aebbd3e6ca3</udn>
  14.     <home>/var/lib/mediatomb</home>
  15.     <webroot>/usr/share/mediatomb/web</webroot>
  16.     <storage caching="yes">
  17.       <sqlite3 enabled="yes">
  18.         <database-file>mediatomb.db</database-file>
  19.       </sqlite3>
  20.       <mysql enabled="no">
  21.         <host>localhost</host>
  22.         <username>mediatomb</username>
  23.         <database>mediatomb</database>
  24.       </mysql>
  25.     </storage>
  26.     <protocolInfo extend="yes" samsung-hack="yes"/>
  27.     <custom-http-headers>
  28.       <add header="transferMode.dlna.org: Streaming"/>
  29.       <add header="contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000"/><!-- <add header="X-User-Agent: redsonic"/> -->
  30.     </custom-http-headers>
  31.     <manufacturerURL>redsonic.com</manufacturerURL>
  32.     <modelNumber>105</modelNumber>
  33.     <extended-runtime-options>
  34.       <ffmpegthumbnailer enabled="yes">
  35.         <thumbnail-size>128</thumbnail-size>
  36.         <seek-percentage>5</seek-percentage>
  37.         <filmstrip-overlay>no</filmstrip-overlay>
  38.         <workaround-bugs>yes</workaround-bugs>
  39.       </ffmpegthumbnailer>
  40.       <mark-played-items enabled="yes" suppress-cds-updates="yes">
  41.         <mark>
  42.                 <content>video</content>
  43.         </mark>
  44.         <string mode="prepend">*</string>
  45.       </mark-played-items>
  46.  
  47.     </extended-runtime-options>
  48.   </server>
  49.   <import hidden-files="no">
  50.     <scripting script-charset="UTF-8">
  51.       <common-script>/usr/share/mediatomb/js/common.js</common-script>
  52.       <playlist-script>/usr/share/mediatomb/js/playlists.js</playlist-script>
  53.       <virtual-layout type="disabled">
  54.         <import-script>/usr/share/mediatomb/js/import.js</import-script>
  55.         <dvd-script>/usr/share/mediatomb/js/import-dvd.js</dvd-script>
  56.       </virtual-layout>
  57.     </scripting>
  58.     <mappings>
  59.       <extension-mimetype ignore-unknown="no">
  60.         <map from="mp3" to="audio/mpeg"/>
  61.         <map from="ogg" to="application/ogg"/>
  62.         <map from="asf" to="video/x-ms-asf"/>
  63.         <map from="asx" to="video/x-ms-asf"/>
  64.         <map from="wma" to="audio/x-ms-wma"/>
  65.         <map from="m3u" to="audio/x-mpegurl"/>
  66.         <map from="wax" to="audio/x-ms-wax"/>
  67.         <map from="wmv" to="video/x-ms-wmv"/>
  68.         <map from="wvx" to="video/x-ms-wvx"/>
  69.         <map from="wm" to="video/x-ms-wm"/>
  70.         <map from="wmx" to="video/x-ms-wmx"/>
  71.         <map from="pls" to="audio/x-scpls"/>
  72.         <map from="flv" to="video/x-flv"/>
  73.         <map from="mkv" to="video/mpeg"/>
  74.         <map from="mka" to="audio/mpeg"/>
  75.         <map from="avi" to="video/mpeg"/>
  76.         <map from="ts" to="video/mpeg"/>
  77.         <map from="mpg" to="video/mpeg"/>
  78.         <map from="mp4" to="video/mpeg"/>
  79.       </extension-mimetype>
  80.       <mimetype-upnpclass>
  81.         <map from="audio/*" to="object.item.audioItem.musicTrack"/>
  82.         <map from="video/*" to="object.item.videoItem"/>
  83.         <map from="image/*" to="object.item.imageItem"/>
  84.       </mimetype-upnpclass>
  85.       <mimetype-contenttype>
  86.         <treat mimetype="audio/mpeg" as="mp3"/>
  87.         <treat mimetype="application/ogg" as="ogg"/>
  88.         <treat mimetype="audio/x-flac" as="flac"/>
  89.         <treat mimetype="image/jpeg" as="jpg"/>
  90.         <treat mimetype="audio/x-mpegurl" as="playlist"/>
  91.         <treat mimetype="audio/x-scpls" as="playlist"/>
  92.         <treat mimetype="audio/x-wav" as="pcm"/>
  93.         <treat mimetype="audio/L16" as="pcm"/>
  94.         <treat mimetype="video/x-msvideo" as="avi"/>
  95.         <treat mimetype="video/mp4" as="mp4"/>
  96.         <treat mimetype="video/x-mkv" as="mkv"/>
  97.         <treat mimetype="audio/mp4" as="mp4"/>
  98.         <treat mimetype="application/x-iso9660" as="dvd"/>
  99.         <treat mimetype="application/x-iso9660-image" as="dvd"/>
  100.       </mimetype-contenttype>
  101.     </mappings>
  102.     <online-content><!-- Make sure to setup a transcoding profile for flv -->
  103.       <YouTube enabled="no" refresh="28800" update-at-start="no" purge-after="604800" racy-content="exclude" format="flv" hd="no">
  104.         <favorites user="mediatomb"/>
  105.         <standardfeed feed="most_viewed" time-range="today"/>
  106.         <playlists user="mediatomb"/>
  107.         <uploads user="mediatomb"/>
  108.         <standardfeed feed="recently_featured" time-range="today"/>
  109.       </YouTube>
  110.       <Weborama enabled="no" refresh="28800" update-at-start="no">
  111.         <playlist name="Active" type="playlist" mood="active"/>
  112.         <playlist name="Metal" type="playlist">
  113.           <filter>
  114.             <genres>metal</genres>
  115.           </filter>
  116.         </playlist>
  117.       </Weborama>
  118.       <AppleTrailers enabled="no" refresh="43200" update-at-start="yes" resolution="640"/>
  119.     </online-content>
  120.   </import>
  121.   <transcoding enabled="no">
  122.     <mimetype-profile-mappings>
  123.       <transcode mimetype="video/x-flv" using="vlcmpeg"/>
  124.       <transcode mimetype="application/ogg" using="vlcmpeg"/>
  125.       <transcode mimetype="application/ogg" using="oggflac2raw"/>
  126.       <transcode mimetype="audio/x-flac" using="oggflac2raw"/>
  127.     </mimetype-profile-mappings>
  128.     <profiles>
  129.       <profile name="oggflac2raw" enabled="no" type="external">
  130.         <mimetype>audio/L16</mimetype>
  131.         <accept-url>no</accept-url>
  132.         <first-resource>yes</first-resource>
  133.         <accept-ogg-theora>no</accept-ogg-theora>
  134.         <agent command="ogg123" arguments="-d raw -o byteorder:big -f %out %in"/>
  135.         <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
  136.       </profile>
  137.       <profile name="vlcmpeg" enabled="no" type="external">
  138.         <mimetype>video/mpeg</mimetype>
  139.         <accept-url>yes</accept-url>
  140.         <first-resource>yes</first-resource>
  141.         <accept-ogg-theora>yes</accept-ogg-theora>
  142.         <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"/>
  143.         <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
  144.       </profile>
  145.     </profiles>
  146.   </transcoding>
  147. </config>
clone this paste RAW Paste Data