Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

MediaTomb config file error

$
0
0
Now I can see some default blank folders on the Samsung TV, very encouraging!
However when trying to start Mediatomb I'm getting the following error:
Code:

2014-06-26 23:28:16    INFO: Loading configuration from: /home/username/.mediatomb/config.xml
2014-06-26 23:28:16  ERROR: Error parsing config file: /home/username/.mediatomb/config.xml line 42:
mismatched tag

I also by chance actually executed the .xml file and it says:
Code:


error on line 42 at column 13: Opening and ending tag mismatch: storage line 0 and server

Examining the config file using that info puts me right at the closure tag for the server section.
Line 42 is </server> Column 13 puts it as the next character after the > character in that line.
There is no actual character there unless the Carriage Return counts. lol... is that still what it's even called?
I tried inserting just a LF instead of a CR after the </server> tag and then putting 3 spaces in to line up the <extended-runtime-options> tag.
But it didn't seem to help.

HTML 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:schemaLocation="http://mediatomb.cc/config/2 http://mediatomb.cc/config/2.xsd">
  <server>
    <ui enabled="yes" show-tooltips="yes">
      <accounts enabled="no" session-timeout="30">
        <account user="mediatomb" password="mediatomb"/>
      </accounts>
    </ui>
    <name>MediaTomb</name>
    <udn>uuid:564682e9-df4a-47d7-964c-68c8b7a4fe9a</udn>
    <home>/home/username/.mediatomb</home>
    <webroot>/usr/share/mediatomb/web</webroot>
    <ui enabled="yes" show-tooltips="yes" poll-interval="2" poll-when-idle="no"/>
    <storage>
      <storage caching="yes">
      <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="no"/><!-- 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>
    -->

  </server>
  <extended-runtime-options>
      <ffmpegthumbnailer enabled="no">
        <thumbnail-size>128</thumbnail-size>
        <seek-percentage>5</seek-percentage>
        <filmstrip-overlay>yes</filmstrip-overlay>

Anyone have an idea what I've done to jack up the <server> section of my config file?
I don't know much but I cut n' paste well, can follow directions and can pirate code as well as any ol' M$ founder. ;)
Thanks for any advice on the config file!

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>