Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
my 0.12 did not create a upnp photo chain. I uploaded several jpg files, they appear only in the database pc-directory with incredible mimetype.
Some lines from config.xml
<map from="audio/*" to="object.item.audioItem.musicTrack"/>
<map from="video/*" to="object.item.videoItem"/>
<map from="image/*" to="object.item.imageItem"/>
<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"/>
They should be an image type, any ideas what went wrong here?
The "incredible" mimetype simply means - not recognized. Probably file magic was not able to figure out that the file in question is a picture… your version is compiled with filemagic support, right?
You can test it in the terminal by issuing the following command:
file -i /path/to/yourimage.jpg
Anyway… if filemagic detection fails, you can simply add some extension to mimetype mappings to your config.xml, after that reimport your images.
The file command works well, but no goal without the extension mapping. Now the static libexif has read some more information and found everything. Thanks!
Hmm, if the file command worked well - I wonder why it was not imported correctly? Do you see a warning regarding magic in the log when mediatomb is starting?
Have to expand the logfile, just started with playlists and they did not appear too. The playlist are placed in a folder within the artists on the disk. Have proper .m3u names and the playlists.js is in config.xml. Barely new pictures, musics and divx are recognized now. This investigation takes a little time….
Well, when you import a playlist, you should see messages in the console, and especially messages if stuff goes wrong and can not be imported… is there anything at all there?