I've been using Gerbera for years, but the developers have abandoned OpenSuse LEAP. So I have installed Mediatomb 12.1 and it has found my media files on it's own. All seems to be good but it is not visible to my UPNP players.
Mediatomb has bound itself to a Docker IP address: 172.17.0.1 while eth0 is 192.168.30.2. I checked the config.xml file but there are no lines to change that network interface binding. The line establishing the path to media files is missing also. In fact, the config file doesn't match that shown at the Mediatomb website or any of the websites with instructions on how to get it running.
Should I add the missing lines to config.xml or is something else amiss?
<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><ffmpegthumbnailerenabled="no"><thumbnail-size>128</thumbnail-size><seek-percentage>5</seek-percentage><filmstrip-overlay>yes</filmstrip-overlay><workaround-bugs>no</workaround-bugs><image-quality>8</image-quality></ffmpegthumbnailer><mark-played-itemsenabled="no"suppress-cds-updates="yes"><stringmode="prepend">*</string><mark><content>video</content></mark></mark-played-items></extended-runtime-options>
OpenSuse 15.4 LEAP
I've been using Gerbera for years, but the developers have abandoned OpenSuse LEAP. So I have installed Mediatomb 12.1 and it has found my media files on it's own. All seems to be good but it is not visible to my UPNP players.
Mediatomb has bound itself to a Docker IP address: 172.17.0.1 while eth0 is 192.168.30.2. I checked the config.xml file but there are no lines to change that network interface binding. The line establishing the path to media files is missing also. In fact, the config file doesn't match that shown at the Mediatomb website or any of the websites with instructions on how to get it running.
Should I add the missing lines to config.xml or is something else amiss?
Your thoughts and suggestions are appreciated.
The config file:
<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 <a href=" http:="" mediatomb.cc="" config="" 2.xsd"="">http://mediatomb.cc/config/2.xsd">
<server>
<ui enabled="yes" show-tooltips="yes">
<accounts enabled="no" session-timeout="30">
<account user="mediatomb" password="mediatomb">
</account></accounts>
</ui>
<name>MediaTomb</name>
<udn>uuid:7b6c1ac5-e500-4115-9cfc-40844cec3642</udn>
<home>/home/geno/.mediatomb</home>
<webroot>/usr/share/mediatomb/web</webroot>
<storage>
<sqlite3 enabled="yes">
<database-file>mediatomb.db</database-file>
</sqlite3>
</storage>
<protocolinfo extend="no">
<!--
<custom-http-headers>
<add header="X-User-Agent: redsonic">
</add></custom-http-headers></protocolinfo></server></config>
<import hidden-files="no">
<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">
</extension-mimetype>
<mimetype-upnpclass>
<mimetype-contenttype>
<treat mimetype="audio/mpeg" as="mp3">
<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/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></treat></treat></treat></treat></treat></treat></treat></treat></treat></treat></treat></treat></mimetype-contenttype>
</mappings>
<online-content>
<youtube enabled="no" refresh="28800" update-at-start="no" purge-after="604800" racy-content="exclude" format="mp4" hd="no">
<favorites user="mediatomb">
<standardfeed feed="most_viewed" time-range="today">
<playlists user="mediatomb">
<uploads user="mediatomb">
<standardfeed feed="recently_featured" time-range="today">
</standardfeed></uploads></playlists></standardfeed></favorites></youtube>
<weborama enabled="no" refresh="28800" update-at-start="no">
<playlist name="Active" type="playlist" mood="active">
<playlist name="Metal" type="playlist">
<filter>
<genres>metal</genres>
</filter>
</playlist>
</playlist></weborama>
<appletrailers enabled="no" refresh="43200" update-at-start="no" resolution="640">
</appletrailers></online-content>
</import>
<transcoding enabled="no">
<mimetype-profile-mappings>
<transcode mimetype="video/x-flv" using="vlcmpeg">
<transcode mimetype="application/ogg" using="vlcmpeg">
<transcode mimetype="application/ogg" using="oggflac2raw">
<transcode mimetype="audio/x-flac" using="oggflac2raw">
</transcode></transcode></transcode></transcode></mimetype-profile-mappings>
<profiles>
<profile name="oggflac2raw" enabled="no" type="external">
<mimetype>audio/L16</mimetype>
<accept-url>no</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">
</buffer></agent></profile>
<profile name="vlcmpeg" enabled="no" type="external">
<mimetype>video/mpeg</mimetype>
<accept-url>yes</accept-url>
<first-resource>yes</first-resource>
<accept-ogg-theora>yes</accept-ogg-theora>
<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">
<buffer size="14400000" chunk-size="512000" fill-size="120000">
</buffer></agent></profile>
</profiles>
</transcoding>
Last edit: geno11x11 2023-10-02