Created attachment 443532 [details] test files and screen captures Description of problem: Mediatomb does not read metadata (Artist, Album) from my ogg files, thus I cannot access easily my music library: most of my files are ogg and get classified in "Unknown" albums and artists. Version-Release number of selected component (if applicable): mediatomb-0.12.1-1.fc13.x86_64 How reproducible: Launch mediatomb and add a directory containing both mp3 and ogg files with valid tags. Actual results: MP3 files are correctly classified according to the album and artist, while OGG files are classified as "Unknown" album and artist (see attached screen capture) Here is the output of mediatomb with debug enabled: 2010-09-07 16:44:44 DEBUG: [../src/storage/sql_storage.cc:494] addObject(): insert_query: INSERT INTO "mt_cds_object" ("object_type","upnp_class","dc_title","metadata","resources","flags","location","location_hash","track_number","mime_type","parent_id","id") VALUES (2,'object.item.audioItem.musicTrack','Piste_10.mp3','dc%3Atitle=Piste%2010&upnp%3Aartist=Sean%20Callery&upnp%3Aalbum=24&upnp%3Agenre=The%20name%27s%20OBrian&upnp%3AoriginalTrackNumber=10','0~protocolInfo=http-get%3A%2A%3Aaudio%2Fmpeg%3A%2A&size=2444277&bitrate=16384&duration=00%3A02%3A33&sampleFrequency=44100&nrAudioChannels=2~~',1,'F/home/fab128/musiquetoto/Piste_10.mp3',3146795412,10,'audio/mpeg',14758,14759) [...] -07 16:44:44 DEBUG: [../src/storage/sql_storage.cc:494] addObject(): insert_query: INSERT INTO "mt_cds_object" ("object_type","upnp_class","dc_title","resources","flags","location","location_hash","mime_type","parent_id","id") VALUES (2,'object.item.audioItem.musicTrack','08_-_In_Pursuit_Of_Kyle.ogg','0~protocolInfo=http-get%3A%2A%3Aaudio%2Fogg%3A%2A&size=3042960~~',1,'F/home/fab128/musiquetoto/08_-_In_Pursuit_Of_Kyle.ogg',1379538035,'audio/ogg',14758,14782) Expected results: The metadata from OGG files should be read correctly since mediatomb is compiled with taglib support, not id3lib: $ mediatomb --compile-info MediaTomb UPnP Server version 0.12.1 - http://mediatomb.cc/ =============================================================================== Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer. MediaTomb is free software, covered by the GNU General Public License version 2 Compile info: ------------- host: x86_64-redhat-linux-gnu sqlite3: yes mysql: yes libjs: yes libmagic: yes inotify: yes libexif: yes id3lib: disabled taglib: yes ffmpeg missing libmp4v2: yes external transcoding: yes curl: yes YouTube: yes libextractor disabled db-autocreate: yes debug log: yes protocol info extension:yes ffmpegthumbnailer: missing lastfmlib: missing data directory: /usr/share/mediatomb Additional info: The taginfo command confirms that both attached files have valid metadata: $ taginfo 08_-_In_Pursuit_Of_Kyle.ogg Piste_10.mp3 FILE="08_-_In_Pursuit_Of_Kyle.ogg" ALBUM="24" TRACK="8" ARTIST="Sean Callery" TITLE="In Pursuit Of Kyle" GENRE="" YEAR="0" COMMENT="" LENGTH="159" BITRATE="160" SAMPLERATE="44100" CHANNELS="2" FILE="Piste_10.mp3" ALBUM="24" TRACK="10" ARTIST="Sean Callery" TITLE="Piste 10" GENRE="The name's OBrian" YEAR="0" COMMENT="" LENGTH="153" BITRATE="128" SAMPLERATE="44100" CHANNELS="2"
This might be a configuration error. Let me know if this works: Edit /etc/mediatomb/config.xml, and in the <mimetype-contenttype> section, add the line <treat mimetype="audio/ogg" as="ogg"/>
This works ! Great ! This workaround sould be applied to next release. Thanks Rich.
The configuration file is auto-generated when you first install/run Mediatomb. The best I can do is patch the config file generator to add the missing line, but that won't have any effect on existing installations. I submitted a patch upstream with the fix and I'll work it into the Fedora package if they accept it.
mediatomb-0.12.1-2.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/mediatomb-0.12.1-2.fc13
mediatomb-0.12.1-2.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/mediatomb-0.12.1-2.fc12
mediatomb-0.12.1-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/mediatomb-0.12.1-3.fc14
mediatomb-0.12.1-3.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mediatomb'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/mediatomb-0.12.1-3.fc14
mediatomb-0.12.1-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
mediatomb-0.12.1-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
mediatomb-0.12.1-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.