Bug 3129 - ID3v1 chosen over ID3v2 when "disc #" tag is used
: ID3v1 chosen over ID3v2 when "disc #" tag is used
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-07 21:12 UTC by Kevin Gennuso
Modified: 2006-03-13 10:15 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
Song that experiences this bug (6.10 MB, audio/mpeg)
2006-03-08 05:48 UTC, Kevin Gennuso
Details
Another song that has this problem (7.44 MB, audio/mpeg)
2006-03-08 05:51 UTC, Kevin Gennuso
Details
A third song that has this problem (5.27 MB, audio/mpeg)
2006-03-08 05:54 UTC, Kevin Gennuso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Gennuso 2006-03-07 21:12:11 UTC
SlimServer appears to prefer ID3v1 tags over ID3v2 tags when a value for the CD/disc number exists in the ID2v2 tag.

iTunes only fills in ID3v2 tags, and usually, songs ripped this way are fine.  It seems like when a disc number is also included in the tag, SlimServer defaults to the ID3v1 tag.  In the case of songs ripped with iTunes, this means the songs end up in the No Artist/No Album bucket because these fields are blank.  I have some screenshots here:

http://kgennuso.googlepages.com/Picture1.png
http://kgennuso.googlepages.com/Picture2.png
http://kgennuso.googlepages.com/Picture4.png
http://kgennuso.googlepages.com/Picture5.png

This particular song had "1/2" as the disc # tag, but I have seen this on other files where the value is set only to 1 or 2.

Once I copy the ID3v2 tag to the ID3v1 and re-index, the problem disappears.  However, this comes with the unfortunate downside of being stuck using ID3v1 (shorter tag values, etc.) for the songs in question.

I've seen this on a number of files now and can show you other examples if necessary.

Thanks for the great software you folks have written.  I am a new Squeezebox user and am completely in love.  And your "bad" example in the Bug Writing Guidlines made me laugh.

Thanks again,
Kevin
Comment 1 KDF 2006-03-07 22:23:36 UTC
could you attach one of the songs to the report?
There must be more to it than this, as I have files with discnumber in id3v2 that work fine. 
thanks.
Comment 2 Kevin Gennuso 2006-03-08 05:48:24 UTC
Created attachment 1159 [details]
Song that experiences this bug
Comment 3 Kevin Gennuso 2006-03-08 05:51:59 UTC
Created attachment 1160 [details]
Another song that has this problem
Comment 4 Kevin Gennuso 2006-03-08 05:54:08 UTC
Created attachment 1161 [details]
A third song that has this problem
Comment 5 Kevin Gennuso 2006-03-08 05:56:51 UTC
Please let me know if you need anything else, and thanks for looking at this so quickly!
Comment 6 KDF 2006-03-08 10:25:01 UTC
track 1 looks fine at my end.  Songinfo page:

Title:Superstition
Artist:Wonder, Stevie
Composer:Stevie Wonder
Album:Original Musiquarium 1 (Disc 1)
Genre:R&B
Disc:1
Track:1
File Format:MP3
Duration:4:26Year:1972
File Length:6,395,746 Bytes
Bitrate:192kbps CBR
Sample Rate:44.1 kHz
ID3 Tag Version:ID3v2.2.0

Sample 3 (to match your screenshots):
Title:At Dawn
Artist:My Morning Jacket
Composer:Jim James
Album:At Dawn (Disc 1 of 2)
Genre:Country

Track 2 is also similarly reporting all items as expected. Could these have been missed in the scanning?  Resetting the tags would change the mod date, thus trigger a rescan of the given folder if/when you used Browse Music Folder, so the specific change made might have been a misleading fix.  Try a few of these songs that are giving you issues, copy them to another folder and make that your music folder temporarily.  ID32.2 should be ok, though ID32.4 is preferred.
Comment 7 snarlydwarf 2006-03-10 10:55:33 UTC
I'm seeing a similar problem, it seems to have cropped up in the last week or so.

2006-03-10 10:48:08.4722 _postCheckAttributes: Same album 'William S. Burroughs & John Gi' than previous track
2006-03-10 10:48:08.5103  directory entry: file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3
2006-03-10 10:48:08.5219 New track for file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3
2006-03-10 10:48:08.5237 readTag was 1 for file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3
2006-03-10 10:48:08.5251 reading tags for: file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3
2006-03-10 10:48:08.5283 mp3 file type for /home/mp3/mserv/mp3/Giorno/Giorno - Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3
2006-03-10 10:48:08.5491 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : tag to 1
2006-03-10 10:48:08.5510 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : block_alignment to 1
2006-03-10 10:48:08.5524 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : titlesort to 103RD STREET BOYS FROM JUNKI
2006-03-10 10:48:08.5538 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : tracknum to 8
2006-03-10 10:48:08.5554 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : audio to 1
2006-03-10 10:48:08.5568 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : content_type to mp3
2006-03-10 10:48:08.5580 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : remote to 0
2006-03-10 10:48:08.5592 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : samplerate to 44100
2006-03-10 10:48:08.5605 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : title to "103rd Street Boys" from Junki
2006-03-10 10:48:08.5618 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : audio_offset to 2146
2006-03-10 10:48:08.5665 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : audio_size to 10702472
2006-03-10 10:48:08.5680 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : secs to 445.962458333333
2006-03-10 10:48:08.5694 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : timestamp to 1127241856
2006-03-10 10:48:08.5707 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : tagversion to ID3v1.1
2006-03-10 10:48:08.5722 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : titlesearch to 103RD STREET BOYS FROM JUNKI
2006-03-10 10:48:08.5734 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : filesize to 10705373
2006-03-10 10:48:08.5749 Adding file:///home/mp3/mserv/mp3/Giorno/Giorno%20-%20Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3 : bitrate to 192000

The tags:
Title  : "103rd Street Boys" from Junki  Artist: William S. Burroughs          
Album  : William S. Burroughs & John Gi  Year:     , Genre: Unknown (255)
Comment: � The Artist(s) 2005, UbuWeb    Track: 8
id3v2 tag info for /home/mp3/mserv/mp3/Giorno/Giorno - Burroughs/Giorno-Burroughs_08_burroughs_junkie.mp3:
TALB (Album/Movie/Show title): William S. Burroughs & John Giorno
TENC (Encoded by): iTunes v4.2
COMM (Comments): (iTunNORM)[eng]:  00000035 00000037 000006A9 00000583 00064343 00000153 000050C7 00003E11 00029FF0 0002A6FA
TIT2 (Title/songname/content description): "103rd Street Boys" from Junkie
TPE1 (Lead performer(s)/Soloist(s)): William S. Burroughs
COMM (Comments): ()[eng]: � The Artist(s) 2005, UbuWeb (ubu.com) / WFMU (wfmu.org) / PennSound (writing.upenn.edu/pennsound) / The Center for Literary Computing (clc.wvu.edu) / Artmob (artmob.ca). All materials at UbuWeb are available for free exchange for noncommerical purposes.
TRCK (Track number/Position in set): 8

So it's not entirely based on whether there's a TPOS: I'm seeing it on anything with both id3v1/id3v2 tags: it seems that the id3v1's are taking precedence again.

(And, um, yes, I listen to weird stuff. :P)

Comment 8 KDF 2006-03-10 11:15:59 UTC
please attach your file as well.  would love to actually be able to reproduce this one.
Comment 9 Dan Sully 2006-03-10 11:22:00 UTC
I have a pending fix for this
Comment 10 Dan Sully 2006-03-13 10:15:03 UTC
Fixed in change 6577

Will be in the 3/14/2006 nightly