Mediatomb and NSLU2

THX1011
2005-12-19
2013-05-30
<< < 1 2 (Page 2 of 2)
  • Thx11
    Thx11
    2005-12-23

    Hi,

    Ok. Video just Works! I've added the mime type to the config xml file and now the DSM-320 plays it, no problem.

    Photos, was supposed to be simple, but doesn't work. Added the mime type for Jpeg, but photos are always mime type application/octet-stream. Strange...

     
  • Jin
    Jin
    2005-12-23

    is there a way to install the full filemagic package on the NSLU2?

    as for the picture problem: well, try file -i yourpicture on the PC and see what it really is;

    but generally speaking you can fix this same as with video files; set the extension to mimetype mappings in the config.xml and reimport the media

     
  • THX1011
    THX1011
    2005-12-26

    Ok, Found the problem.

    I'm coping my media from my portable that has Windows. I'm using the NSLU samba server. The problem is that the file extensions are upper case, JPG instead of lower case: jpg.
    So making the mime type as uppercase it works, but it's impossible to have two equal mime types, one lower and one upper.

    The file processor should be case insensitive...

     
  • Jin
    Jin
    2005-12-26

    well, yes, we already thought about making case sensitivity as an optional parameter for that, you got a point there.

    however, you should be able to use both mappings
    "JPG"->"image/jpeg" and "jpg"->"image/jpeg", that really did not work?

     
  • Thx11
    Thx11
    2005-12-27

    Well, if I map the two mime types (jpg and JPG), the web page doesn't load. The center frame just get's blank.

    I'll have a go again to check if it's not my fault.

     
  • Jin
    Jin
    2005-12-27

    uhm.. that's really strance.. does the log say anything?

    I added MP3 and mp3 here just for testing - works fine.

    ...
          <extension-mimetype ignore-unknown="no">
            <map from="mp3" to="audio/mpeg"/>
            <map from="MP3" to="audio/mpeg"/>
    ...

    please check the log for errors.. if there are none we will have to do some more investigation, thanks!

     
  • Jin
    Jin
    2005-12-27

    crap.. can't post XML fragments here, they get escaped :)

     
  • Thx11
    Thx11
    2005-12-27

    Well it is working now...
    Probably I did something wrong.

     
<< < 1 2 (Page 2 of 2)