[PATCH] [RFC] Gigabeat S support / mtpmediadevice tweaks

Jeff Mitchell kde-dev at emailgoeshere.com
Wed Nov 7 20:40:44 CET 2007


Andrew Rodland wrote:
> On Wednesday 07 November 2007 01:03:23 pm you wrote:
>   
>> Andrew Rodland wrote:
>>     
>>> I misspoke, I meant that the album title on the device doesn't equal the
>>> _ album title_ in the collection (because we stuffed a disc number string
>>> into it). As such comparisons between the two of them will screw up
>>> unless we mangle the local album title for comparison in the same way
>>> that we mangled the title for sending to the device.
>>>       
>> Do comparisons between the two ever happen?
>>     
>
> Yes, in getOrCreateAlbum (we use an album object from the device if there's a 
> match for title and create a new one if not).
>   
Personally, I long ago amended my album titles to include disc numbers,
i.e. for artist Ibiza:
The History of Chillout (Disc 1)
The History of Chillout (Disc 2)
The History of Chillout (Disc 3)

So I have no problems.

But thinking about this more, I think that this is something you should
either deal with or fix on your side.  Many metadata standards -- for
instance, the "suggested" fields for Vorbis/FLAC comments -- do not
contain discnumber, and as a standard that other applications and audio
players would understand, they may see a DISCNUMBER vorbiscomment field,
but not be aware of anything special to do with it.  Even the TPOS frame
defined for ID3 tags is a little ambiguous: you can have 1, or 1/3.

So I don't think that changing this, at least as a default behavior, is
the right thing to do, when it's working for the majority of people out
there.  I'd encourage you to instead tag your albums with the disc info
in your collection, which will hold up better across various formats
anyways.

--Jeff


More information about the Amarok-devel mailing list