Config.xml Parsing Error???

Help
brux2dc
2007-09-03
2013-05-30
  • brux2dc

    brux2dc - 2007-09-03

    I just installed MediaTomb on Fedora7 via yum.  Everything seems to work, but I discovered that if you run the server via the terminal I get 2 things, what I pasted below and that the service runs on port 49152.  That's fine and all but if I run the service at startup it loads on port 50500.  Also I discovered that there are 2 mediatomb directories.  The etc/mediatomb and the "username"/.mediatomb.  I assume that the auto loaded service is the etc/mediatomb and the termainal initiated is the "username"/.mediatomb. 

    Most importantly my PS3 will not play correctly formated MP4 files.  I added the extend info string to the config.xml file, but it still does not work.  Hence my noticing that the terminal dumps a lot of verbose, what seems like, errors.  I've pasted the terminal text below.  I canmnmot see anmywhere that the PS3 compliant settings are active.

    ****************************************************************************************
    [root@localhost ~]# mediatomb

    MediaTomb UPnP Server version 0.10.0 - http://mediatomb.cc/

    ===============================================================================
    Copyright 2005-2007 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
    MediaTomb is free software, covered by the GNU General Public License version 2

    2007-09-02 21:39:19    INFO: Loading configuration from: /root/.mediatomb/config.xml
    2007-09-02 21:39:19    INFO: Checking configuration...
    2007-09-02 21:39:19    INFO: Config: option not found: /server/servedir using default value:
    2007-09-02 21:39:19    INFO: Config: option not found: /server/storage/host using default value: localhost
    2007-09-02 21:39:19    INFO: Config: option not found: /server/storage/database using default value: mediatomb
    2007-09-02 21:39:19    INFO: Config: option not found: /server/storage/username using default value: mediatomb
    2007-09-02 21:39:19    INFO: Config: option not found: /server/storage/port using default value: 0
    2007-09-02 21:39:19    INFO: Config: option not found: /server/ui/attribute::poll-when-idle using default value: no
    2007-09-02 21:39:19    INFO: Config: option not found: /server/ui/attribute::poll-interval using default value: 2
    2007-09-02 21:39:19    INFO: Config: option not found: /server/ui/items-per-page/attribute::default using default value: 25
    2007-09-02 21:39:19    INFO: Config: option not found: /import/filesystem-charset using default value: UTF-8
    2007-09-02 21:39:19    INFO: Setting filesystem import charset to UTF-8
    2007-09-02 21:39:19    INFO: Config: option not found: /import/metadata-charset using default value: UTF-8
    2007-09-02 21:39:19    INFO: Setting metadata import charset to UTF-8
    2007-09-02 21:39:19    INFO: Config: option not found: /import/playlist-charset using default value: UTF-8
    2007-09-02 21:39:19    INFO: Setting playlist charset to UTF-8
    2007-09-02 21:39:19    INFO: Config: option not found: /server/pc-directory/attribute::upnp-hide using default value: no
    2007-09-02 21:39:19    INFO: Config: option not found: /server/retries-on-timeout using default value: 0
    2007-09-02 21:39:19    INFO: Config: option not found: /server/interface using default value:
    2007-09-02 21:39:19    INFO: Config: option not found: /server/ip using default value:
    2007-09-02 21:39:19    INFO: Config: option not found: /server/bookmark using default value: mediatomb.html
    2007-09-02 21:39:19    INFO: Config: option not found: /server/modelName using default value: MediaTomb
    2007-09-02 21:39:19    INFO: Config: option not found: /server/modelDescription using default value: Free UPnP AV MediaServer, GNU GPL
    2007-09-02 21:39:19    INFO: Config: option not found: /server/modelNumber using default value: 0.10.0
    2007-09-02 21:39:19    INFO: Config: option not found: /server/serialNumber using default value: 1
    2007-09-02 21:39:19    INFO: Config: option not found: /server/manufacturerURL using default value: http://mediatomb.cc/
    2007-09-02 21:39:19    INFO: Config: option not found: /server/presentationURL using default value:
    2007-09-02 21:39:19    INFO: Config: option not found: /server/presentationURL/attribute::append-to using default value: none
    2007-09-02 21:39:19    INFO: Config: option not found: /server/upnp-string-limit using default value: -1
    2007-09-02 21:39:19    INFO: Config: option not found: /import/scripting/playlist-script/attribute::create-link using default value: yes
    2007-09-02 21:39:19    INFO: Config: option not found: /server/port using default value: 0
    2007-09-02 21:39:19    INFO: Config: option not found: /server/alive using default value: 180
    2007-09-02 21:39:19    INFO: Config: option not found: /import/autoscan using default value:
    2007-09-02 21:39:19    INFO: Config: option not found: /import/library-options/libexif/auxdata using default value:
    2007-09-02 21:39:19    INFO: Config: option not found: /import/magic-file using default value:
    2007-09-02 21:39:19    INFO: Configuration check succeeded.
    2007-09-02 21:39:19    INFO: Initialized port: 49152
    2007-09-02 21:39:19    INFO: Server bound to: 192.168.0.101
    2007-09-02 21:39:20    INFO: MediaTomb Web UI can be reached by following this link:
    2007-09-02 21:39:20    INFO: http://192.168.0.101:49152/
    2007-09-02 21:39:28    INFO: MediaTomb shutting down. Please wait...
    2007-09-02 21:39:29    INFO: Server terminating
    [root@localhost ~]#
    ********************************************************************************************

    Thanks a lot.  I know this is alot.  i just wanted to let you know about this, and hopefully get some answers. 

    brux2dc

     
    • brux2dc

      brux2dc - 2007-09-03

      Ok!  Ignore everything except the PS3 problems.  What is it they say about reading the directions...  I read the config section of the documentation and a lightbulb went off in my head.  It just wasn't clear what was being spit out at me. 

      Still have the PS3 mp4 problem.  I can see jpg images just fine and of course the avi I have for testing shows up as corrupt on the PS3.  The mp4 file though should not come up as corrupt as it works via memorystick and the XMB.

      Thanks,

      brux2dc

       
    • Jin

      Jin - 2007-09-09

      Sorry for the late response,

      you did add the protocolInfo setting (required for PS3 supoprt) to your config.xml as described in the documentation?

       
    • Jin

      Jin - 2007-09-09

      oh ok, I missed that.. you did add the setting :) hmm, well, you could check if the mimetype of the .avi is recognized correctly, but since you installed from yum your MT version was compiled with libmagic, so that should be fine too.

      Can you stream those .avi files from other UPnP servers? Would be an interesting comparison...

       
      • brux2dc

        brux2dc - 2007-09-12

        Sorry, I was away on business.  I solved the problem about an hour after posting.  I switched to a wired network, and added a few more settings to the config file.  Presto! Working MP4 streaming.  My PS3 times out so fast and I added the timeout string to the config file.  THat seemed to make a difference.  Next problem is the feezing after 5min of play, but that's another thread:) 

        Thanks,

        brux2dc

         
      • brux2dc

        brux2dc - 2007-09-12

        I should have added that the avi does stream from tversity.  But it is being transcoded, so that doesn't count as special.  Can't wait till mediatomb transcodes the tons of avi's I don't want to convert to mp4!

        brux2dc

         
    • Jin

      Jin - 2007-09-12

      what do you mean the "PS3 times out so fast"? btw if you are on AMD64 - get the latest code from SVN, I found a severe 64bit related bug in the libupnp part of the code.

      the retry-timeout parameter is no longer needed with the latest PS3 firmware, the issue is fixed (had this confirmed from
      users who were suffering from the problem that required the timeout workaround)

      transcoding is already testable in the latest SVN code

       
      • brux2dc

        brux2dc - 2007-09-12

        I upgraded to the latest firmware.  Should have done that a while ago.  I'll have to get a subversion client and tryout the transcoding feature!  But...  What are the recommended system specs for 720x480 transcoding?  I'm running an old socket A Athalon at 1.7ghz.  Works fine for NAS but transcoding might be another story!

        Thanks,

        brux2dc

         
    • Jin

      Jin - 2007-09-13

      well.. no idea.. I guess it depends what quality you will be ok with, you can surely finetune your transcoding settings to match your system.

      I do not have any experience in that since I am not using transcoding myself, and my NAS is currently an old Pentium III, which I will get rid of soon - will move to an Iomega 1TB StoreCenter and there transcoding is anyway not an option.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks