Advertisement
Guest User

Untitled

a guest
Nov 10th, 2013
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.84 KB | None | 0 0
  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="yes" session-timeout="30">
  9. <account user="mediatomb" password="mediatomb"/>
  10. </accounts>
  11. </ui>
  12. <name>MediaTomb</name>
  13. <udn>uuid:6880ce9d-13fc-4aa6-ad52-ad4935a19121</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. <mysql enabled="no">
  20. <host>localhost</host>
  21. <username>mediatomb</username>
  22. <database>mediatomb</database>
  23. </mysql>
  24. </storage>
  25. <protocolInfo extend="no"/><!-- For PS3 support change to "yes" --><!--
  26. Uncomment the lines below to get rid of jerky avi playback on the
  27. DSM320 or to enable subtitles support on the DSM units
  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. --><!-- Uncomment the line below if you have a Telegent TG100 --><!--
  36. <upnp-string-limit>101</upnp-string-limit>
  37. -->
  38. <extended-runtime-options>
  39. <ffmpegthumbnailer enabled="no">
  40. <thumbnail-size>128</thumbnail-size>
  41. <seek-percentage>5</seek-percentage>
  42. <filmstrip-overlay>yes</filmstrip-overlay>
  43. <workaround-bugs>no</workaround-bugs>
  44. </ffmpegthumbnailer>
  45. <mark-played-items enabled="no" suppress-cds-updates="yes">
  46. <string mode="prepend">*</string>
  47. </mark-played-items>
  48. </extended-runtime-options>
  49. </server>
  50. <import hidden-files="no">
  51. <scripting script-charset="UTF-8">
  52. <common-script>/usr/share/mediatomb/js/common.js</common-script>
  53. <playlist-script>/usr/share/mediatomb/js/playlists.js</playlist-script>
  54. <virtual-layout type="builtin">
  55. <import-script>/usr/share/mediatomb/js/import.js</import-script>
  56. <dvd-script>/usr/share/mediatomb/js/import-dvd.js</dvd-script>
  57. </virtual-layout>
  58. </scripting>
  59. <mappings>
  60. <extension-mimetype ignore-unknown="no">
  61. <map from="mp3" to="audio/mpeg"/>
  62. <map from="ogg" to="application/ogg"/>
  63. <map from="asf" to="video/x-ms-asf"/>
  64. <map from="asx" to="video/x-ms-asf"/>
  65. <map from="wma" to="audio/x-ms-wma"/>
  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="m3u" to="audio/x-mpegurl"/>
  72. <map from="pls" to="audio/x-scpls"/>
  73. <map from="flv" to="video/x-flv"/>
  74. <map from="mkv" to="video/x-matroska"/>
  75. <map from="mka" to="audio/x-matroska"/><!-- Uncomment the line below for PS3 divx support --><!-- <map from="avi" to="video/divx"/> --><!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 --><!-- <map from="avi" to="video/avi"/> -->
  76. </extension-mimetype>
  77. <mimetype-upnpclass>
  78. <map from="audio/*" to="object.item.audioItem.musicTrack"/>
  79. <map from="video/*" to="object.item.videoItem"/>
  80. <map from="image/*" to="object.item.imageItem"/>
  81. <map from="application/ogg" to="object.item.audioItem.musicTrack"/>
  82. </mimetype-upnpclass>
  83. <mimetype-contenttype>
  84. <treat mimetype="audio/mpeg" as="mp3"/>
  85. <treat mimetype="application/ogg" as="ogg"/>
  86. <treat mimetype="audio/x-flac" as="flac"/>
  87. <treat mimetype="image/jpeg" as="jpg"/>
  88. <treat mimetype="audio/x-mpegurl" as="playlist"/>
  89. <treat mimetype="audio/x-scpls" as="playlist"/>
  90. <treat mimetype="audio/x-wav" as="pcm"/>
  91. <treat mimetype="audio/L16" as="pcm"/>
  92. <treat mimetype="video/x-msvideo" as="avi"/>
  93. <treat mimetype="video/mp4" as="mp4"/>
  94. <treat mimetype="audio/mp4" as="mp4"/>
  95. <treat mimetype="application/x-iso9660" as="dvd"/>
  96. <treat mimetype="application/x-iso9660-image" as="dvd"/>
  97. <treat mimetype="video/x-matroska" as="mkv"/>
  98. <treat mimetype="audio/x-matroska" as="mka"/>
  99. </mimetype-contenttype>
  100. </mappings>
  101. <online-content><!-- Make sure to setup a transcoding profile for flv -->
  102. <YouTube enabled="no" refresh="28800" update-at-start="no" purge-after="604800" racy-content="exclude" format="flv" hd="no">
  103. <favorites user="mediatomb"/>
  104. <standardfeed feed="most_viewed" time-range="today"/>
  105. <playlists user="mediatomb"/>
  106. <uploads user="mediatomb"/>
  107. <standardfeed feed="recently_featured" time-range="today"/>
  108. </YouTube>
  109. <Weborama enabled="no" refresh="28800" update-at-start="no">
  110. <playlist name="Active" type="playlist" mood="active"/>
  111. <playlist name="Metal" type="playlist">
  112. <filter>
  113. <genres>metal</genres>
  114. </filter>
  115. </playlist>
  116. </Weborama>
  117. <AppleTrailers enabled="no" refresh="43200" update-at-start="no" resolution="640"/>
  118. </online-content>
  119. </import>
  120. <transcoding enabled="yes">
  121. <mimetype-profile-mappings>
  122. <transcode mimetype="video/x-flv" using="vlcmpeg"/>
  123. <transcode mimetype="application/ogg" using="vlcmpeg"/>
  124. <transcode mimetype="application/ogg" using="oggflac2raw"/>
  125. <transcode mimetype="audio/x-flac" using="oggflac2raw"/>
  126. </mimetype-profile-mappings>
  127. <profiles>
  128. <profile name="oggflac2raw" enabled="no" type="external">
  129. <mimetype>audio/L16</mimetype>
  130. <accept-url>no</accept-url>
  131. <first-resource>yes</first-resource>
  132. <accept-ogg-theora>no</accept-ogg-theora>
  133. <agent command="ogg123" arguments="-d raw -o byteorder:big -f %out %in"/>
  134. <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
  135. </profile>
  136. <profile name="vlcmpeg" enabled="no" type="external">
  137. <mimetype>video/mpeg</mimetype>
  138. <accept-url>yes</accept-url>
  139. <first-resource>yes</first-resource>
  140. <accept-ogg-theora>yes</accept-ogg-theora>
  141. <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"/>
  142. <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
  143. </profile>
  144. </profiles>
  145. </transcoding>
  146. </config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement