Bug 6295 - (int-153112) Songs on double albums are played in wrong order ("disc number" field in ID3)
(int-153112)
: Songs on double albums are played in wrong order ("disc number" field in ID3)
Status: NEW
Product: Data
Meta Tracker
: 5.0/(3.2010.02-8)
: N900 Maemo
: Low normal with 14 votes (vote)
: ---
Assigned To: unassigned
: metatracker-bugs
:
:
:
:
  Show dependency tree
 
Reported: 2009-11-23 14:02 UTC by Marko Vertainen
Modified: 2014-05-13 15:20 UTC (History)
5 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Marko Vertainen (reporter) 2009-11-23 14:02:17 UTC
SOFTWARE VERSION:

1.2009.42-11

EXACT STEPS LEADING TO PROBLEM: 

1. Rip some double album to MP3:s and make sure that there is id3 tag defining
discs 1 and 2.
2. Copy that double album to N900 and open media player.
3. Go to album view and select double album.

EXPECTED OUTCOME:

Songs are listed so that first comes all songs from first CD ordered by the
track numbers and then songs from second CD ordered by the track numbers.

ACTUAL OUTCOME:

Songs are listed so that first song is first one from CD1, second is first one
from CD2, third is second from CD1 and so on.

REPRODUCIBILITY:

always

EXTRA SOFTWARE INSTALLED:

Shouldn't matter.

OTHER COMMENTS:

Double albums are ripped to MP3's with sound juicer found on Ubuntu and id3
tags and album arts are set with the easy tag. Songs from the double album are
located in one folder and files are named so that there is track number before
each track name so that there are two song name starting with same numbers e.g.
01 - track1.mp3, 01 - track9.mp3.
Comment 1 Andre Klapper maemo.org 2009-11-26 15:34:27 UTC
Thanks for reporting this.

Note to myself: Might be fixed after the 1.2009.42-11 release by int-135368.
Waiting for internal verification...
Comment 2 bastler 2010-01-14 21:08:03 UTC
Incorrect behaviour still present in 2.2009.51.1...
Comment 3 Oskar 2010-01-17 11:45:29 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 Andre Klapper maemo.org 2010-02-12 17:33:15 UTC
*** Bug 8143 has been marked as a duplicate of this bug. ***
Comment 5 bastler 2010-02-23 08:29:10 UTC
Bug still there after latest update (2010.02-8)!

Come on guys! Yes, it's a "low priority" bug, but for people with many such
albums it's really annoying, and it's been THREE MONTHS now with zero publicly
available progress!
Is it really that hard to add another 10 lines of code?

P.S.: tried to change the version field, but bugzilla won't let me...
Comment 6 Andre Klapper maemo.org 2010-02-23 11:21:52 UTC
(In reply to comment #5)
> Bug still there after latest update (2010.02-8)!

Of course, as it is in NEW state instead of RESOLVED.
No need to create bugmail by adding a comment.
Comment 7 bastler 2010-02-24 16:33:57 UTC
(In reply to comment #6)
> (In reply to comment #5)

> Of course, as it is in NEW state instead of RESOLVED.
> No need to create bugmail by adding a comment.
> 

Well, you yourself suggested in comment #1 three months ago that a fix MIGHT
come after the 42.11 update and that you waited for some internal verification,
but even the most recent firmware upgrade did not include a fix, and there were
no further comments regarding the progress on this matter.

As an ordinary user one could get the idea that this bug was just considered
irrelevant, abandoned and forgotten about, so please consider this further
bugmail a sort of followup.

Has there been any progress on resolving this behaviour in the past 3 months?

What is still needed to release a fix?

Is there any half-reliable estimate on when (if at all) we can expect to see a
fix?

Is there anything we can do to help?
Comment 8 Andre Klapper maemo.org 2010-02-24 17:48:21 UTC
(In reply to comment #7)
> Well, you yourself suggested in comment #1 three months ago that a fix MIGHT
> come after the 42.11 update

Sorry, seems my comment was unclear and created misunderstandings.
I did not say "fix might come" here. I said "Might be fixed after 1.2009.42-11
by some-internal-bug-report". Unfortunately that bug report in the end was
unrelated to this one here.

> Has there been any progress on resolving this behaviour in the past 3 months?

No. There currently is no progress internally on this issue.

> What is still needed to release a fix?

Investigation, a patch, its inclusion, internal verification, public release.

> Is there any half-reliable estimate on when (if at all) we can expect to see a
> fix?

No.

> Is there anything we can do to help?

Patches welcome I'd say.
Comment 9 Andre Klapper maemo.org 2010-05-17 17:22:01 UTC
*** Bug 10188 has been marked as a duplicate of this bug. ***
Comment 10 Yves-Alexis 2010-05-17 17:25:27 UTC
(In reply to comment #8)
> Patches welcome I'd say.
> 
The media player is closed source, so I guess we have to look into the tracker?
Where exactly is the link between media player and tracker done? Is it
something available to us?
Comment 11 Andre Klapper maemo.org 2010-05-18 13:07:49 UTC
The link between Multimedia Framework and Tracker should be
mafw-tracker-source.
Comment 12 Yves-Alexis 2010-05-18 15:28:37 UTC
(In reply to comment #11)
> The link between Multimedia Framework and Tracker should be
> mafw-tracker-source.
> 

Looking at
http://mxr.maemo.org/fremantle/source/mafw-tracker-source/libmafw-tracker-source/definitions.h?force=1#28
there is no key in tracker for the discnumber tag, so it won't be available to
MAFW.

Should the key be available, my guess is that we should add a
MAFW_METADATA_KEY_DISCNUMBER (or so) to the sort_fields in
http://mxr.maemo.org/fremantle/source/mafw-tracker-source/libmafw-tracker-source/tracker-iface.c#665

It's just random thoughts, but at least I'm documenting what I found.
Comment 13 bastler 2010-05-18 16:17:41 UTC
> Should the key be available, my guess is that we should add a
> MAFW_METADATA_KEY_DISCNUMBER (or so) to the sort_fields in
> http://mxr.maemo.org/fremantle/source/mafw-tracker-source/libmafw-tracker-source/tracker-iface.c#665

The official Name for the information in question is "PARTINSET" or "Part of
Set" for ID3v2.
It was not part of the original ID3 Version 1 specification, but was adopted in
v2 as "TPA" and later changed to "TPOS" frame.
For vorbistag (ogg, flac etc) there is no officially standardized name, but
from my experience, "DISCNUMBER" is a widely used implementation.

While I understand that the media player itself only supports mp3 and a few
proprietary formats it would be nice if the implementation of this feature
could be done in a way so that it is also available to the plugins for other
formats floating around, so the software's functionality does not depend on
file format where ever possible.


references:
http://age.hobba.nl/audio/mirroredpages/ID3_comparison.html
http://xiph.org/vorbis/doc/v-comment.html
Comment 14 Yves-Alexis 2010-05-18 16:37:41 UTC
(In reply to comment #13)
> > Should the key be available, my guess is that we should add a
> > MAFW_METADATA_KEY_DISCNUMBER (or so) to the sort_fields in
> > http://mxr.maemo.org/fremantle/source/mafw-tracker-source/libmafw-tracker-source/tracker-iface.c#665
> 
> The official Name for the information in question is "PARTINSET" or "Part of
> Set" for ID3v2.
> It was not part of the original ID3 Version 1 specification, but was adopted in
> v2 as "TPA" and later changed to "TPOS" frame.
> For vorbistag (ogg, flac etc) there is no officially standardized name, but
> from my experience, "DISCNUMBER" is a widely used implementation.
> 
> While I understand that the media player itself only supports mp3 and a few
> proprietary formats it would be nice if the implementation of this feature
> could be done in a way so that it is also available to the plugins for other
> formats floating around, so the software's functionality does not depend on
> file format where ever possible.

Afaiui, MAFW doesn't care about the tag itself, but relies on tracker to use
them, and the key didn't exist in tracker 0.6. It seems that it tracker 0.8 has
it, but I guess it's a bit late to include it in PR1.2 (</kidding>)
Comment 15 Yves-Alexis 2010-05-18 18:36:35 UTC
Another solution suggested on #tracker would be to tune the track number, for
example using track = 1000 * discnum + tracknum

As I don't think the tracknumber is displayed anywhere, and since we don't
touch the metadata themselves, it should be safe.

That way, only tracker-extract-{mp3,vorbis,...}.c would have to be modified.
Comment 16 dantonic 2010-07-01 11:28:40 UTC
normally if you rip two disks wouldn't each album be named "Album XXXX (disk1)"
and "Album XXXX (disk2)" or something like that?  
then each disk would be separate and play in order.
Did you combine the disks manually?

If you combine the disks, under one album name, you'll have to edit the id3
tags for the Track number.
otherwise they'll play as stated, because the first song from each disk will be
labeled with an id3 track tag of "01" the second song from each disk with "02"
etc etc.

you'd have to manually change all of disk 2 track numbers to follow disk 1.

If the ripper automatically combined the disks into one album, I would suggest
that the ripper software might have a problem, and maybe there is no issue with
the media player for the N900.
Comment 17 dantonic 2010-07-01 11:31:11 UTC
Sorry totally missed the part about disk 1 and disk 2 id3 tags until I read the
post a second time.

But what I wrote could be a temporary solution :P
Comment 18 bastler 2011-01-10 11:51:29 UTC
(In reply to comment #15)
> Another solution suggested on #tracker would be to tune the track number, for
> example using track = 1000 * discnum + tracknum
> 
> As I don't think the tracknumber is displayed anywhere, and since we don't
> touch the metadata themselves, it should be safe.
> 
> That way, only tracker-extract-{mp3,vorbis,...}.c would have to be modified.

Is there any new development on the subject? The bug has been open for a while
and from what I can tell it still exists.

It's not incredibly complicated to work around it in day-to-day usage, but
still it's annoying because one cannot simply copy files over to the device and
be done with it.
Comment 19 Andre Klapper maemo.org 2011-01-10 13:08:37 UTC
(In reply to comment #18)
> Is there any new development on the subject?

No.