XBox (old) with XBMC

Help
2007-06-01
2013-05-30
  • Hi @all,
    has anybody got the XBMC (xbmc.sf.net) 2.x working with mediatomb-0.9.1?
    The xbox sees the mediatomb UPnP Server and plays at least MPEG videos.
    With photos it behaves quite strange:
    thumbnails get generated - so the mediatom server delivers the content. But when I want to view the photo I get an error message "Error on loading the picture" from XBMC, the log says:
    15:52:21 M: 38752256   ERROR: PICTURE: Error loading image http://192.168.194.1:49152/content/media/object_id=260&res_id=0&ext=.jpg
    15:52:21 M: 38752256   ERROR: Error loading the current image http://192.168.194.1:49152/content/media/object_id=260&res_id=0&ext=.jpg

    Passing this URL "http://192.168.194.1:49152/content/media/object_id=260&res_id=0&ext=.jpg" to a browser works just fine, except that they want to start a helper application rather then display the image.

    Funny thing is: for PNG images all is OK, the xbox displays them. and yes, the mime type for JPEG is correctly set.
    mheerling@styx:~> curl -I "http://192.168.194.1:49152/content/media/object_id=260&res_id=0&ext=.jpg"
    HTTP/1.1 200 OK
    CONTENT-LENGTH: 1358024
    CONTENT-TYPE: image/jpeg
    DATE: Fri, 01 Jun 2007 14:18:14 GMT
    LAST-MODIFIED: Fri, 30 Jun 2006 16:47:18 GMT
    SERVER: Linux/2.4.21-297-smp4G, UPnP/1.0, MediaTomb/0.9.1
    CONNECTION: close
    Accept-Ranges: bytes
    Content-Disposition: attachment; filename="IMG_4069.jpg"

    So since (some) thumbnails on XBMC side get generated, the problem seems to be in the XBMC UPnP Client. Does somebody have any tips?

    Greets + thanks to Jin & the other developers,
    Marv

     
    • Well, I did some digging.

      mheerling@styx:~>  curl -I "http://oshi-wlan:41952/geturl/firefox.jpg.jpg%3ftype%3dimage%252fjpeg%26pfid%3dnever%26url%3dfile%253a%252f%252f%255c%255cstyx%252frootdir%252ftmp%252fdigicam%252f_digicam_%252f%26ext%3d.jpg"
      HTTP/1.1 200 OK
      Content-Length: 4719
      Content-Type: image/jpeg
      Accept-Ranges: bytes
      DATE: Fri, 01 Jun 2007 16:22:27 GMT
      LAST-MODIFIED: Fri, 01 Jun 2007 16:22:27 GMT
      Server: 5.1.2600 2/Service Pack 2, UPnP/1.0, TVersity Media Server
      Connection: keep-alive

      mheerling@styx:~> curl -I "http://192.168.194.1:49152/content/media/object_id=13190&res_id=0"
      HTTP/1.1 200 OK
      CONTENT-LENGTH: 4719
      CONTENT-TYPE: image/jpeg
      DATE: Fri, 01 Jun 2007 16:23:03 GMT
      LAST-MODIFIED: Sat, 07 May 2005 06:22:19 GMT
      SERVER: Linux/2.4.21-297-smp4G, UPnP/1.0, MediaTomb/0.9.1
      CONNECTION: close
      Accept-Ranges: bytes
      Content-Disposition: attachment; filename="firefox.jpg"

      I do not see much differences, though.

      Strange enough, in the Filemanager of XBMC, it cannot display the file neither. But I am able to copy it to the local xbox harddrive and display it from there. So the file gets transmitted correct, the problem lies - as expected - on XBMC side, not on side of mediatomb.

      I file this on XBMC's buglist as
      http://sourceforge.net/tracker/index.php?func=detail&aid=1729563&group_id=87054&atid=581838

      Thx,
      Marv

       
      • So it seems that this error has gone away with mediatomb-0.10.0 and/or T3CH's build XBMC-SVN_2007-08-19_rev9999-T3CH of XBMC.
        I installed the new versions and all is fine.

        Thanks,
        Marv

         
    • Jin
      Jin
      2007-06-01

      Thanks for the feedback!

      Well, overall it is still strange - I know people who are using MediaTomb with XBMC, so generally speaking - it should work. I guess you indeed encountered some bug...

      Jin

       
    • Jin
      Jin
      2007-08-22

      Nice! Well, I do not think that we changed anything in that regard, if you have time you could maybe to a quick check with 0.9.1, but I do think that it was some XMCB problem.

      Thanks for the info,
      Jin