This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Mediatomb Config - Samsung LNXXC630

By: a guest on Nov 29th, 2010  |  syntax: XML  |  size: 6.64 KB  |  views: 1,805  |  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="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.   <!--
  4.     Read /usr/share/doc/mediatomb-common/README.gz section 6 for more
  5.     information on creating and using config.xml configration files.
  6.    -->
  7.   <server>
  8.     <ui enabled="yes" show-tooltips="yes">
  9.       <accounts enabled="no" session-timeout="30">
  10.         <account user="mediatomb" password="mediatomb"/>
  11.       </accounts>
  12.     </ui>
  13.     <name>MediaTomb</name>
  14.     <udn>uuid:5fc1533e-da98-40c4-aa2c-77296b151077</udn>
  15.     <home>/var/lib/mediatomb</home>
  16.     <webroot>/usr/share/mediatomb/web</webroot>
  17.     <storage>
  18.       <sqlite3 enabled="yes">
  19.         <database-file>mediatomb.db</database-file>
  20.       </sqlite3>
  21.       <mysql enabled="no">
  22.         <host>localhost</host>
  23.         <username>mediatomb</username>
  24.         <database>mediatomb</database>
  25.       </mysql>
  26.     </storage>
  27.    
  28.     <protocolInfo extend="yes"/>
  29.     <custom-http-headers>
  30.        <add header="transferMode.dlna.org: Streaming"/>
  31.        <add header="contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000"/>
  32.     </custom-http-headers>
  33.     <manufacturerURL>redsonic.com</manufacturerURL>
  34.     <modelNumber>105</modelNumber>
  35.  
  36.     <extended-runtime-options>
  37.       <ffmpegthumbnailer enabled="yes">
  38.         <thumbnail-size>128</thumbnail-size>
  39.         <seek-percentage>5</seek-percentage>
  40.         <filmstrip-overlay>no</filmstrip-overlay>
  41.         <workaround-bugs>yes</workaround-bugs>
  42.       </ffmpegthumbnailer>
  43.       <mark-played-items enabled="yes" suppress-cds-updates="yes">
  44.         <string mode="prepend">*</string>
  45.       </mark-played-items>
  46.     </extended-runtime-options>
  47.   </server>
  48.   <import hidden-files="no">
  49.     <scripting script-charset="UTF-8">
  50.       <common-script>/usr/share/mediatomb/js/common.js</common-script>
  51.       <playlist-script>/usr/share/mediatomb/js/playlists.js</playlist-script>
  52.       <virtual-layout type="builtin">
  53.         <import-script>/usr/share/mediatomb/js/import.js</import-script>
  54.         <dvd-script>/usr/share/mediatomb/js/import-dvd.js</dvd-script>
  55.       </virtual-layout>
  56.     </scripting>
  57.     <mappings>
  58.       <extension-mimetype ignore-unknown="no">
  59.         <map from="iso" to="video/dvdiso"/>
  60.         <map from="vob" to="video/mpeg"/>
  61.  
  62.         <map from="mp3" to="audio/mpeg"/>
  63.         <map from="ogg" to="application/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/mpeg"/>
  76.         <map from="mka" to="audio/mpeg"/>
  77.         <!-- Uncomment the line below for PS3 divx support -->
  78.         <map from="avi" to="video/mpeg"/>
  79.         <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
  80.         <!-- <map from="avi" to="video/avi"/> -->
  81.       </extension-mimetype>
  82.       <mimetype-upnpclass>
  83.         <map from="audio/*" to="object.item.audioItem.musicTrack"/>
  84.         <map from="video/*" to="object.item.videoItem"/>
  85.         <map from="image/*" to="object.item.imageItem"/>
  86.       </mimetype-upnpclass>
  87.       <mimetype-contenttype>
  88.         <treat mimetype="audio/mpeg" as="mp3"/>
  89.         <treat mimetype="application/ogg" as="ogg"/>
  90.         <treat mimetype="audio/x-flac" as="flac"/>
  91.         <treat mimetype="image/jpeg" as="jpg"/>
  92.         <treat mimetype="audio/x-mpegurl" as="playlist"/>
  93.         <treat mimetype="audio/x-scpls" as="playlist"/>
  94.         <treat mimetype="audio/x-wav" as="pcm"/>
  95.         <treat mimetype="audio/L16" as="pcm"/>
  96.         <treat mimetype="video/x-msvideo" as="avi"/>
  97.         <treat mimetype="video/mp4" as="mp4"/>
  98.         <treat mimetype="video/x-mkv" as="mkv"/>
  99.         <treat mimetype="audio/mp4" as="mp4"/>
  100.         <treat mimetype="application/x-iso9660" as="dvd"/>
  101.         <treat mimetype="application/x-iso9660-image" as="dvd"/>
  102.       </mimetype-contenttype>
  103.     </mappings>
  104.     <online-content>
  105.       <!-- Make sure to setup a transcoding profile for flv -->
  106.       <YouTube enabled="no" refresh="28800" update-at-start="no" purge-after="604800" racy-content="exclude" format="flv" hd="no">
  107.         <favorites user="mediatomb"/>
  108.         <standardfeed feed="most_viewed" time-range="today"/>
  109.         <playlists user="mediatomb"/>
  110.         <uploads user="mediatomb"/>
  111.         <standardfeed feed="recently_featured" time-range="today"/>
  112.       </YouTube>
  113.       <Weborama enabled="no" refresh="28800" update-at-start="no">
  114.         <playlist name="Active" type="playlist" mood="active"/>
  115.         <playlist name="Metal" type="playlist">
  116.           <filter>
  117.             <genres>metal</genres>
  118.           </filter>
  119.         </playlist>
  120.       </Weborama>
  121.       <AppleTrailers enabled="no" refresh="43200" update-at-start="no" resolution="640"/>
  122.     </online-content>
  123.   </import>
  124.   <transcoding enabled="no">
  125.     <mimetype-profile-mappings>
  126.       <transcode mimetype="video/x-flv" using="vlcmpeg"/>
  127.       <transcode mimetype="application/ogg" using="vlcmpeg"/>
  128.       <transcode mimetype="application/ogg" using="oggflac2raw"/>
  129.       <transcode mimetype="audio/x-flac" using="oggflac2raw"/>
  130.     </mimetype-profile-mappings>
  131.     <profiles>
  132.       <profile name="oggflac2raw" enabled="no" type="external">
  133.         <mimetype>audio/L16</mimetype>
  134.         <accept-url>no</accept-url>
  135.         <first-resource>yes</first-resource>
  136.         <accept-ogg-theora>no</accept-ogg-theora>
  137.         <agent command="ogg123" arguments="-d raw -o byteorder:big -f %out %in"/>
  138.         <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
  139.       </profile>
  140.       <profile name="vlcmpeg" enabled="no" type="external">
  141.         <mimetype>video/mpeg</mimetype>
  142.         <accept-url>yes</accept-url>
  143.         <first-resource>yes</first-resource>
  144.         <accept-ogg-theora>yes</accept-ogg-theora>
  145.         <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"/>
  146.         <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
  147.       </profile>
  148.     </profiles>
  149.   </transcoding>
  150. </config>
clone this paste RAW Paste Data