Page 1 of 1

Flac tracks not sorting properly - 4.5b2

PostPosted: Mon Aug 01, 2011 6:35 pm
by rhinobanga
Hi Folks,

Has anyone else noticed that flac multi-cd albums are not sorted properly, even though they are correctly tagged?

A couple of albums I have just tagged have the Vorbis DISCNUMBER tag in the format 1/2, 2/2, etc (ala the ID3v2 TPOS tag) yet Subsonic is just sorting by the TRACKNUMBER. Hence all track 1's are together, followed by track 2, and so on.

My MP3 multi-cd albums all sort correctly, so I presume there is a bug in the flac scanner where it's not reading the DISCNUMBER tag?

PostPosted: Mon Aug 01, 2011 7:06 pm
by rhinobanga
Well I had a little poke around jaudiotagger-2.0.2 and the FieldKey.DISC_NO maps to VorbisCommentField.DISCNUMBER ... so it looks like jaudiotagger supports the field.

So that leads me to think that the Subsonic scanner is not pulling it out but that's not what the code is showing:


Code: Select all
jamie@linux:~/subsonic/tags/release-4.5.beta2> find . -exec grep -iH DISC_NO {} \;
./subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/JaudiotaggerParser.java:                metaData.setDiscNumber(parseDiscNumber(getTagField(tag, FieldKey.DISC_NO)));



Any ideas?

Re: Flac tracks not sorting properly - 4.5b2

PostPosted: Mon Aug 22, 2011 8:04 am
by rhinobanga
Bump ... anyone?

Ooops ... I should also say that I am now on 4.5 production and the problem is still there