Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: MediaTomb UI is disabled. Check your configuration.

  1. #11
    Join Date
    Jan 2011
    Location
    Trinidad & Tobago
    Beans
    17
    Distro
    Ubuntu

    Re: MediaTomb UI is disabled. Check your configuration.

    THanks, will let u know if it worked.

  2. #12
    Join Date
    Nov 2009
    Beans
    23

    Re: MediaTomb UI is disabled. Check your configuration.

    I am having the same problem, also with 10.10. I think I have made all of the changes required to the config.xml I changed:
    transcoding enabled to yes
    protocolInfo extend to yes
    accounts enabled to yes
    and I uncommented <map from "avi" to "video/divx"/>

    My default browser is Chrome which the documentation did not list as tested. So I tried loading the UI with Firefox. Same error.

    The program starts fine in the terminal. Here is the output:

    # mediatomb -d
    2011-01-26 09:15:54 INFO: Loading configuration from: /home/nancy/.mediatomb/config.xml
    2011-01-26 09:15:54 INFO: Checking configuration...
    2011-01-26 09:15:54 INFO: Setting filesystem import charset to UTF-8
    2011-01-26 09:15:54 INFO: Setting metadata import charset to UTF-8
    2011-01-26 09:15:54 INFO: Setting playlist charset to UTF-8
    2011-01-26 09:15:54 WARNING: You enabled the YouTube feature, which allows you
    to watch YouTube videos on your UPnP device!
    Please check http://www.youtube.com/t/terms
    By using this feature you may be violating YouTube
    service terms and conditions!

    2011-01-26 09:15:54 INFO: Configuration check succeeded.

    Here is the config.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <config version="2" xmlns="http://mediatomb.cc/config/2" xmlnssi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/2 http://mediatomb.cc/config/2.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="30">
    <account user="mediatomb" password="mediatomb"/>
    </accounts>
    </ui>
    <name>MediaTomb</name>
    <udn>uuid:9b03da87-9af3-4a07-bc45-a6e66b61e2fb</udn>
    <home>/home/nancy/.mediatomb</home>
    <webroot>/usr/share/mediatomb/web</webroot>
    <storage>
    <sqlite3 enabled="yes">
    <database-file>mediatomb.db</database-file>
    </sqlite3>
    <mysql enabled="no">
    <host>localhost</host>
    <username>mediatomb</username>
    <database>mediatomb</database>
    </mysql>
    </storage>
    <protocolInfo extend="yes"/><!-- 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="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-items enabled="no" suppress-cds-updates="yes">
    <string mode="prepend">*</string>
    <mark>
    <content>video</content>
    </mark>
    </mark-played-items>
    </extended-runtime-options>
    </server>
    <import hidden-files="no">
    <scripting script-charset="UTF-8">
    <virtual-layout type="builtin"/>
    </scripting>
    <mappings>
    <extension-mimetype ignore-unknown="no">
    <map from="mp3" to="audio/mpeg"/>
    <map from="ogx" to="application/ogg"/>
    <map from="ogv" to="video/ogg"/>
    <map from="oga" to="audio/ogg"/>
    <map from="ogg" to="audio/ogg"/>
    <map from="ogm" to="video/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"/>
    <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
    <!-- <map from="avi" to="video/avi"/> -->
    </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="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 mimetype="video/x-matroska" as="mkv"/>
    <treat mimetype="audio/x-matroska" as="mka"/>
    </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"/>
    </YouTube>
    </online-content>
    </import>
    <transcoding enabled="yes">
    <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"/>
    </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"/>
    </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,ch annels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
    <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
    </profile>
    </profiles>
    </transcoding>
    </config>

  3. #13
    Join Date
    Nov 2009
    Beans
    23

    Re: MediaTomb UI is disabled. Check your configuration.

    I figured it out. You need to run mediaTomb in the terminal with sudo

    # sudo mediatomb

    and then all is well.

    It asked me for a username and password which are by default
    user: mediatomb
    password: mediatomb

    I recommend you change that to something more secure by editing the ~/.mediatomb/config.xml file

  4. #14
    Join Date
    Jan 2011
    Location
    Trinidad & Tobago
    Beans
    17
    Distro
    Ubuntu

    Re: MediaTomb UI is disabled. Check your configuration.

    PS3 media server is much easier to install for beginners (like me). But as the name hints, it only works for ps3.http://ps3mediaserver.blogspot.com/

  5. #15
    Join Date
    Oct 2010
    Location
    Norway
    Beans
    82
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: MediaTomb UI is disabled. Check your configuration.

    Quote Originally Posted by ncpokrt View Post
    I figured it out. You need to run mediaTomb in the terminal with sudo

    # sudo mediatomb

    and then all is well.

    It asked me for a username and password which are by default
    user: mediatomb
    password: mediatomb

    I recommend you change that to something more secure by editing the ~/.mediatomb/config.xml file
    Good for you that it worked!

    I dont have to use sudo to start it, but anyway...

  6. #16
    Join Date
    Oct 2010
    Location
    Norway
    Beans
    82
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: MediaTomb UI is disabled. Check your configuration.

    Quote Originally Posted by nigel23 View Post
    PS3 media server is much easier to install for beginners (like me). But as the name hints, it only works for ps3.http://ps3mediaserver.blogspot.com/
    Did it work for you?? MediaTomb I mean, not ps3 mediaserver...

  7. #17
    Join Date
    Jan 2011
    Location
    Trinidad & Tobago
    Beans
    17
    Distro
    Ubuntu

    Re: MediaTomb UI is disabled. Check your configuration.

    Quote Originally Posted by axept View Post
    Did it work for you?? MediaTomb I mean, not ps3 mediaserver...
    nope, gave up.

  8. #18
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: MediaTomb UI is disabled. Check your configuration.

    Hi

    Funally enough, i just installed mediatomb today and i have got it working through the browser. I have just watched some streamed test content so i know it works.

    Steps to take to enable the UI from the browser.

    1. Install media tomb from the repositories.
    2. Edit the configuration file. It is located in /etc/mediatomb/config.xml.

    From the terminal....

    Code:
    sudo nano /etc/mediatomb/config.xml
    Enter your password. It will not be echoed to the screen. This is the start of the config.xml file.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <config version="2" xmlns="http://mediatomb.cc/config/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schem$
         Read /usr/share/doc/mediatomb-common/README.gz section 6 for more
         information on creating and using config.xml configration files.
        -->
      <server>
        <ui enabled="no" show-tooltips="yes">
          <accounts enabled="no" session-timeout="30">
            <account user="mediatomb" password="mediatomb"/>
          </accounts>
        </ui>
        <name>MediaTomb</name>
        <udn>uuid:c88910cd-15d4-41c8-9f74-4050b78cddb0</udn>
        <home>/var/lib/mediatomb</home>.
    ....
    ...
    The entries highlighted on bold are the entries you want to change. This is an example

    Code:
    <ui enabled="yes" show-tooltips="yes">
          <accounts enabled="yes" session-timeout="30">
            <account user="user1" password="password1"/>
          </accounts>
        </ui>
    Save the file with ctrl + o and exit the file with ctrl + x.

    Restart mediatomb if it is running. To check if it is running

    Code:
    ps aux | grep [m]ediatomb
    If it's running

    Code:
    sudo /etc/init.d/mediatomb restart
    There are other options in the config file that you may need to change for your set up but that will enable the UI from a web browser. Firefox works well (but elinks doesn't). I have not tried other browsers.

    From the local or a remote machine (on same LAN) try to access the page. It will be something along the lines of (assuming no port change) ...

    for local

    Code:
    http://12.0.0.1:49152/
    on same lan

    Code:
    http://192.168.1.5:49152/
    That IP address (192.168.1.5) will obviously be changed to your servers ip address.

    I hope this helps.

    Kind regards
    Last edited by matt_symes; February 17th, 2011 at 08:18 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  9. #19
    Join Date
    Aug 2007
    Beans
    5

    Re: MediaTomb UI is disabled. Check your configuration.

    Thanks
    it plays like a charm with viewsonic VMP72

  10. #20
    Join Date
    May 2009
    Beans
    4

    Re: MediaTomb UI is disabled. Check your configuration.

    Quote Originally Posted by GonZo1323 View Post
    Every time I try and open MediaTomb I get this message. Can anyone please help?
    I had this problem and I ended up needing to give read/write permissions for /etc/mediatomb to the mediatomb user and then editing the config.xml file found there. If you are running mediatomb as a daemon and using sqlite for instance and don't see mediatomb.db being created in that dir then you most likely won't be able to use the UI or browse the server via upnp (not sure why there are no errors in the log re: this).

    Also if you are using the system menu link under sound/video or any link other than the one found at the end of /var/log/mediatomb.log you may be trying to pull up the UI using the wrong port. In my case for example my meu link was pointing to http://10.0.0.1:49152 but the server was actually running on http://10.0.0.1:49153
    Last edited by Justin Buser; October 16th, 2012 at 09:33 PM. Reason: Added more info

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •