title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 7 of 7

Thread: Multiple Value Handling in Tags

  1. #1
    dBpoweramp Enthusiast
    Join Date
    May 2007
    Posts
    95

    Multiple Value Handling in Tags

    I'm trying to sort out multiple value handling (not a request for changes, only info):
    1: wma files (are supposed to) support multiple values even for the AlbumArtist tag, as well as a bunch of other tags:
    http://msdn.microsoft.com/en-au/libr...00(VS.85).aspx
    --But should one avoid multiple values even for some tags listed there because of some problems in the way that the wma sdk or dbpoweramp handles it? See:
    http://forum.dbpoweramp.com/showthread.php?p=80947

    2. The itunes m4a or apple lossless format does not appear to support multiple values for artist. (--also it annoyingly lacks a conductor tag.) Am I overlooking something? or advice on how to handle this? This is a problem for classical music, where it would be best to have conductor, soloist, composer, and orchestra/band all listed as artists, and then also (singly) in individual fields (composer, conductor etc). Apparently, all attempts to add multiple values for the artist tag in apple's m4a format produce an entirely new "hybrid/joined" artist (--that's bad):
    http://discussions.apple.com/thread....sageID=8541460

    (3. For mp3, it looks like id3v2.4 has the best support for multiple values, but v2.3 is more widely supported.)

    Any advice or caveats on this subject is appreciated.
    Last edited by TechVsLife; 01-19-2009 at 02:53 AM.

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    43,854

    Re: Multiple Value Handling in Tags

    Indeed often even MS do not follow their own spec!

    >itunes m4a or apple lossless format does not appear to support multiple values for artist.

    Yes it does, off the top of my head they are seperated by '/', or similar.

  3. #3
    dBpoweramp Enthusiast
    Join Date
    May 2007
    Posts
    95

    Re: Multiple Value Handling in Tags

    Thanks--unless I'm missing something, apple m4a (iTunes) format does NOT support multiple values for artist. If you separate with a slash, it just combines it into a new "hybrid" artist (so for iTunes browsing etc. Brahms/Perlman becomes the new and otherwise unknown artist "Brahms/Perlman" and not two different artists: "Brahms" and "Perlman"). This is covered in this thread, and other discussions on the web:
    http://discussions.apple.com/thread....sageID=8541460

    If this is correct, I'm amazed that apple does not support this basic feature, which is in mp3, flac, and wma. Apparently they didn't give much thought to classical music with the spec. As far as I can see, a big classical music library with m4a format is going to be a mess.

    Quote Originally Posted by Spoon View Post
    >itunes m4a or apple lossless format does not appear to support multiple values for artist.

    Yes it does, off the top of my head they are seperated by '/', or similar.

  4. #4
    Administrator
    Join Date
    Apr 2002
    Posts
    43,854

    Re: Multiple Value Handling in Tags

    That link is incorrect, '/' is the documented spec which we and other programs follow.

  5. #5
    dBpoweramp Enthusiast
    Join Date
    May 2007
    Posts
    95

    Re: Multiple Value Handling in Tags

    The link acknowledges that "/" is in the spec as a theoretical matter (in the last post on that thread):
    Whereas in WMP & the ID3 spec. you would use a semi-colon to separate items you will find that iTunes & the Music store use a slash instead. However as you so rightly say iTunes takes the information and construes a new artist entity rather than two artists connected to the same track.
    The issue is that iTunes (including version 8) does NOT read a separate artist, it reads one hybrid artist (so the "/" is meaningless). You cannot browse by the artists separately, but only by a new joint "artist" ("A/B"), different from the true artists ("A" or "B"). Every post I've read about this says the same and is very critical of it. (In wmp by contrast, a wma file that has multiple artists appears and can be browsed under A and B separately).

    But it seems that support for multiple values in any tag is weak and conflicted at best across players and encoders. As far as I can see, wma and flac have by far the best support, followed by mp3 (which has issues with the conflicts with three separate tag standards, it seems id3v2.3 is the closest to one). Unless I always stick with flac and wma, I guess it's better to not rely on multiple values, though it's a much much cleaner solution. Unfortunately too much music is sold in m4a to always stick with wma and flac.

    I think I'll end up having a single value for Composer, and putting that under Artist as well. Then I'll risk putting multiple values for the performers, orchestra, and conductor (and composer) under their new (!) tag AlbumArtist--on the theory that if the problems are ever resolved, I can find it there, but at least I'll always be sure to easily browse works by composer. (I decided Album will store the unique title of the work, e.g. beethoven - symph *6 - karajan, and I won't organize by the cd collection or title. filename will be unique "album" name followed by ordered movement number (similar to track number), so no necessary dependence on folders).

    I might also try custom tags, in case Apple ever decides to add a conductor field etc.

    p.s. Or is there a fix for the iTunes behavior, or some correction in some iTunes 9 beta? I haven't heard of any.
    Last edited by TechVsLife; 01-19-2009 at 03:00 PM.

  6. #6
    dBpoweramp Enthusiast
    Join Date
    May 2007
    Posts
    95

    Re: Multiple Value Handling in Tags

    On further research, it seems safer to have album artist also match the artist (composer), because of the itunes/iPod tendency to multiply albums whenever any difference is encountered. I'll put all of the multiple artist value information into custom tag(s) and see how that goes. (I already have the principal performer's last name(s) appended to the end of the unique work/album name, which makes heavy use of abbreviations.)

    btw, here's another description of the multiple value problem for the artist tag in apple m4a format (vs wma format in media monkey or wmp):
    http://i.nconspicuo.us/2008/02/10/be...ediamonkey-v3/

    here's a good guide to the issues in tagging m4a for classical music (a bit of an overkill):
    http://oakroadsystems.com/genl/itunes.htm
    I wouldn't actually "lie" by putting the non-composers in the composer field, but I'll put them somewhere.
    Last edited by TechVsLife; 01-19-2009 at 04:54 PM.

  7. #7
    dBpoweramp Enthusiast
    Join Date
    May 2007
    Posts
    95

    Re: Multiple Value Handling in Tags

    just fyi for reference:
    This piece gives a more technical account of the current lack of support for multiple values in iTunes m4a files--apparently itunes chokes on null separators:
    http://piman.livejournal.com/373016.html
    There is no way to store multiple values; an atom can only occur once, and null-separation makes iTunes do strange things.
    The piece also describes a workaround using custom tags, though the risk would be that it would get broken in a later itunes (since not documented).
    (as for the "/" separator, as discussed itunes does not treat that any different than any other character, so it does not separate multiple values: two artists "A" / "B" are treated as one new artist named "A/B")
    Last edited by TechVsLife; 02-05-2009 at 12:03 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •