After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 575683 - Banshee should treat disc 0 of 0 equal to disc 1 of 1 when sorting.
Banshee should treat disc 0 of 0 equal to disc 1 of 1 when sorting.
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: User Interface
1.4.3
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 629162 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-03-17 12:35 UTC by Evan Dandrea
Modified: 2011-10-24 00:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sort disc-0 tracks as disc-1 (2.05 KB, patch)
2009-03-20 04:53 UTC, John Millikin
needs-work Details | Review

Description Evan Dandrea 2009-03-17 12:35:39 UTC
I recently noted that some songs on one of my albums appeared out of order when displayed in Banshee.  Upon further investigation I found that this was because some of the tracks had disc 0 of 0 and others had disc 1 of 1 set in the id3 tag.

I would argue that banshee should either write disc 1 of 1 to the id3 tag when it encounters an empty or invalid disc number element in the tag, or should treat disc 0 of 0 equal to disc 1 of 1 when sorting.

Of course, if you'd prefer that banshee respect exactly what's in the id3 tag, I understand and please feel free to mark this Wont Fix.
Comment 1 Alexander Kojevnikov 2009-03-17 12:44:05 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 573093 ***
Comment 2 John Millikin 2009-03-20 04:50:36 UTC
I'm re-opening this, because I think it's a legitimately separate bug.

> I would argue that banshee should either write disc 1 of 1 to the id3 tag when
> it encounters an empty or invalid disc number element in the tag
Some tracks don't belong to a disk, so this would be inserting invalid metadata into a track (we just fixed bug 575683 about that).

> or should treat disc 0 of 0 equal to disc 1 of 1 when sorting.
This should be safe, though. The only problems I can think of it causing would be for sorting two albums with the same name, and the higher-number album missing its discnumber metadata.
Comment 3 John Millikin 2009-03-20 04:53:22 UTC
Created attachment 131009 [details] [review]
Sort disc-0 tracks as disc-1
Comment 4 Gabriel Burt 2009-03-20 05:03:41 UTC
I'm not wild about adding extra computation to almost every single sort (you missed default_sort, John) anybody ever does in Banshee to work around some crappy metadata.  There are hundreds of situations where we could do that, but if we did it for all of them, our performance would be terrible.  I'm sure MAX is quite fast, so maybe you can convince me we should make an exception.  Aaron is all about only ever making Banshee faster though, and this doesn't do it.  :)
Comment 5 Andrés G. Aragoneses (IRC: knocte) 2011-10-24 00:15:02 UTC
Given comment#4 above, and comment 7 of the dupe 629162, I'm closing this as WONTFIX, please reopen if you think otherwise and have counter-arguments.
Comment 6 Andrés G. Aragoneses (IRC: knocte) 2011-10-24 00:15:49 UTC
*** Bug 629162 has been marked as a duplicate of this bug. ***