Metadata Progress

By Matt Matt Permalink

As Daniel mentioned, lots of work has gone into metadata support lately. The new editor is looking good, file writing unit tests are passing, and there are only a few bugs left for this release. Thanks for all your help!

Here is a quick summary for fellow metadata nerds:
 

FORMATS

Songbird uses TagLib 1.5 on all platforms to read from FLAC, Ogg Vorbis, MP3, M4A, MusePack, TrueAudio, and WavPack files. This includes all versions of ID3, APE, and Vorbis comments.

On Windows/Mac the QuickTime extension adds AMR, M4P, and M4B reading.

On Windows only, Windows Media Player adds WMA, WMV, ASF, ASX, and AVI reading support.

As of this release our TagLib wrapper also supports writing the following formats:

  • MP3 - ID3v2.4, leaving existing ID3v1 as-is.
  • FLAC - Vorbis comments, updating ID3 tags if they exist.
  • MusePack - APE, updating ID3 tags if they exist.
  • Ogg Vorbis - Vorbis comments.
  • TrueAudio - ID3v2.4, updating ID3v1 tags if they exist.
  • WavPack - APE and ID3v1.

Further support can be added with TagLib plugins, and the clunky but functional sbIMetadataHandler interface. At the moment there are open bugs to add Ogg FLAC, Speex, and M4A support.

Note that writing is currently disabled by default, and a prompt is shown on first edit. The plan is to enable writing by default in the final released build.
 

TAGS

Currently Songbird tries to write title, artist, album-artist, album, comment, lyrics, genre, producer, composer, conductor, lyricist, record label, language, key, license, license URL, year, track number, total tracks, disc number, total discs, and BPM tags.

Rather than add custom logic mapping Songbird properties to various metadata tags, Peter, aka pvh, has been working on enhancing the generic interface provided by TagLib. The new interface exposes all common tags, and leaves format specific handling to each implementation. Where possible, he’s been following the mappings used by PicardQt.

While this functionality is working quite well, there are a few peculiarities worth mentioning:

  • The non-standard part of compilation flag is not yet supported (Bug 9090).
  • Total tracks and total discs are not supported by some formats, and are being written as a single string of number/total.
  • Songbird currently only supports one genre tag per item, where some formats support multiple.
  • Play count and rating are not written by default, but may be available with a preference option (Bug 9084, 9236).
  • Reading and writing album artwork is not yet supported (Bug 9033).
  • Some properties cannot be unset at the moment (Bug 8530).
  • The producer tag is not handled correctly in ID3v2 (Bug 9086).
  • Lyrics and lyricist tags are not handle correctly in ID3v2 (Bug 9091).
  • Comments are truncated in some cases when writing ID3v2 (Bug 9088).

 

EDITOR UI

This release will ship with a basic, but extensible, modal metadata editing dialog. To try it out, select some tracks, then press CTRL/CMD-E, or select Tools -> Metadata Editor from the main menu.

While a modal dialog is less than ideal for power users, it significantly reduces user experience complexity. If you are outraged by this decision, don’t worry, we’ll also be releasing an extension with a non-modal editor and display pane.

It is now much easier to overlay new functionality into the editor, so if there is something you’d like to see, stop by irc.mozilla.org#songbird. If time permits, we’ll add some additional panes such as an advanced property viewer, lyrics editor, and summary page.

Finally, yes, you’re right, nobody wants to edit tags by hand. Now that we have writing support and an extensible editor though, MusicBrainz support shouldn’t be too far off (Hint: gstofa in gst-plugins-bad).

Post a comment or Leave a trackback

4 Trackbacks

  1. [...] We have a new Metadata Editor that allows you to edit your media and write the changes back to your file(s). You can read a bit more about it here. [...]

  2. [...] We have a new Metadata Editor that allows you to edit your media and write the changes back to your file(s). You can read a bit more about it here. [...]

  3. [...] Metadata Writing We have a new Metadata Editor that allows you to edit your media and write the changes back to your file(s). You can read a bit more about it here. [...]

  4. [...] Metadata Writing We have a new Metadata Editor that allows you to edit your media and write the changes back to your file(s). You can read a bit more about it here. [...]

10 Comments

Subscribe
  1. Atoli May 19, 2008 9:26 pm Permalink

    Hi =)

  2. vivek May 19, 2008 10:29 pm Permalink

    Hi great work!!!!! Looks cool and sounds cool. Hope it works the same. As i have mentioned earlier I have been using this piece of beauty for some time and its really gr8 piece of software. Except for higher RAM and CPU usage and a sluggish library all the features were great in version 0.5

    Version 0.6 has overcome this also way to go guys

  3. Japs May 20, 2008 2:27 am Permalink

    Looks good! I’m really waiting for the multiple genre tag support. Songbird + multiple genre tag support would be a winner combination.

  4. Maxo May 20, 2008 4:45 am Permalink

    I would also like to think the ability to submit information to MusicBrainz via songbird.

  5. changturkey May 26, 2008 7:13 am Permalink

    Does Songbird support auto/semi-auto tagging via MusicBrainz?

  6. Ikky Jun 13, 2008 10:53 pm Permalink

    Songbird NEEDS to improve more! Why does it leave ID3v1 as-is? What about?: ID3 synchronized/unsynchronized lyrics tag and most important: Album/Cover Art

  7. Matt Jun 15, 2008 10:56 am Permalink

    @Ikky,

    I agree! Actually, in the end we decided we should synchronize ID3v1 tags, as otherwise you would never be able to completely remove comments or other tags. As for album art, Stevo (creator of the Album Art Manager) is on it, and it should be shipping in the next release.

    @Changturkey, Songbird does not support auto-tagging just yet. We’re waiting for gstreamer on Windows and Mac.

  8. felix Jul 3, 2008 11:30 pm Permalink

    cool changes… but what about support for adding in album art? is there a standard for resolution size of album art as well as format? anyway would definitely like to see that album art support in the meta edit in the future…

  9. Rainbow Jul 31, 2008 2:20 am Permalink

    Songbird0.6 is pretty great…
    But I think it lacks of a particular capability. I haven’t seen it in any media player but I haven’t tested them all !
    The ability to have several artists (and title and album and…) for one track, though avoiding all the “Justice (Daft Punk remix)”, “Jeff Buckley covers Leonard Cohen)” and other “featuring” issues.

    I don’t think it can be handled with standard Meta-data, but the user could have a choice of writing meta-data to files, or having a data-base with several entries on a single field.

    Just a thought !

  10. guy Aug 10, 2008 8:58 am Permalink

    Hi everyone!

    It mentions that “Play count and rating are not written by default, but may be available with a preference option”.

    Where do you find this preference option?

    Thanks

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

Comments on inactive posts are automatically sent to the moderation queue. Hang tight.