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 734265 - flac extractor in some cases adding artist to nmm:musicAlbum
flac extractor in some cases adding artist to nmm:musicAlbum
Status: RESOLVED DUPLICATE of bug 773697
Product: tracker
Classification: Core
Component: Extractor
1.8.x
Other Linux
: Normal normal
: ---
Assigned To: tracker-extractor
tracker-extractor
: 742130 (view as bug list)
Depends on: 766579
Blocks:
 
 
Reported: 2014-08-05 08:40 UTC by Elad Alfassa
Modified: 2016-11-21 15:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot: Music vs. Rhythmbox (299.86 KB, image/png)
2014-08-05 08:40 UTC, Elad Alfassa
Details
More than one album with the same title. (71.54 KB, image/png)
2015-03-06 06:56 UTC, Daniel Hulse
Details
tracker info on flac file and mp3 file (5.85 KB, text/plain)
2016-05-12 12:06 UTC, Bastian Ilsø
Details
Media info output on the two songs (flac, mp3) (3.94 KB, text/plain)
2016-05-12 15:08 UTC, Bastian Ilsø
Details
metaflac and id3info on the two songs (822.41 KB, text/plain)
2016-05-12 16:25 UTC, Bastian Ilsø
Details

Description Elad Alfassa 2014-08-05 08:40:50 UTC
Created attachment 282508 [details]
Screenshot: Music vs. Rhythmbox

It seems that some of my tracks are missing the Composer, Album Artist and Year tags. This causes Music to split the album into two, even tho the Album tag is correct for all the tracks.

Rhythmbox handles it well and groups all the tracks to the same album, as seen in the attached screenshot.
Comment 1 Vadim Rutkovsky 2014-08-05 08:52:33 UTC
We split album songs if they have CD1 / CD2 set - could you check this filed in tracks, probably this is the case?
Comment 2 Elad Alfassa 2014-08-05 08:55:31 UTC
This is not the case here. There's no Disc Number metadata in the files (Rhythmbox lists it as Unknown) and Transatlanticism is a one-CD album.
Comment 3 Agustina Hinojosa 2014-11-13 00:58:11 UTC
I'm having a similar album grouping problem, but mine seems to be caused by an album having different file types within it. Is your problem caused by that as well?
Comment 4 Bastian Ilsø 2014-12-30 10:33:05 UTC
I can confirm what Agustina reports: Different file types tagged with the same Album tag are not grouped together. I'm running GNOME Music 3.14.2.
Comment 5 Daniel Hulse 2015-03-06 06:55:32 UTC
I'd like to add that I'm getting albums with the same name grouped together. This is problematic for artists with more than one self-titled album. In my case, Peter Gabriel's third and fourth albums (which I own) are being grouped together as one album represented by his first album's art (which I don't own).
Comment 6 Daniel Hulse 2015-03-06 06:56:29 UTC
Created attachment 298687 [details]
More than one album with the same title.
Comment 7 Felipe Borges 2015-10-21 13:08:18 UTC
*** Bug 742130 has been marked as a duplicate of this bug. ***
Comment 8 Allan Day 2016-01-06 13:11:32 UTC
Bulk removing the 3.18 target.
Comment 9 Marinus Schraal 2016-05-11 21:26:06 UTC
There have been some improvements to the queries selecting albums. Is this still an issue with the current stable 3.20 release?
Comment 10 Bastian Ilsø 2016-05-12 06:35:17 UTC
(In reply to Marinus Schraal from comment #9)
> There have been some improvements to the queries selecting albums. Is this
> still an issue with the current stable 3.20 release?

I just tested with gnome-music/tracker/grilo master. Did a hard reset of the tracker store and started a re-index.

I can still reproduce the issue though: Different file types tagged with the same Album tag are not grouped together.
Comment 11 Marinus Schraal 2016-05-12 08:25:05 UTC
(In reply to Bastian Ilsø from comment #10)
> I can still reproduce the issue though: Different file types tagged with the
> same Album tag are not grouped together.

Well, mixing file formats in one album is slightly unusual isn't it? I'm not sure tracker allows for that.

Can you take 2 files from one album with different file types and run 'tracker info <filename>' on both of them and attach the output?
Comment 12 Bastian Ilsø 2016-05-12 12:06:41 UTC
Created attachment 327698 [details]
tracker info on flac file and mp3 file

(In reply to Marinus Schraal from comment #11)
> (In reply to Bastian Ilsø from comment #10)
> > I can still reproduce the issue though: Different file types tagged with the
> > same Album tag are not grouped together.
> 
> Well, mixing file formats in one album is slightly unusual isn't it?

hmm, It mostly happens when I purchase singles online where some stores offer to download in FLAC, others only offer MP3. Some of the electronic music artists I listen to produce music under different record labels who might use different distributors/stores.


> Can you take 2 files from one album with different file types and run
> 'tracker info <filename>' on both of them and attach the output?

I have attached the output of two songs to this reply.
Comment 13 Marinus Schraal 2016-05-12 13:54:42 UTC
Just from a quick glance i think this is the problem :

nmm:musicAlbum = 'urn:album:Singles:Volant'
vs
nmm:musicAlbum = 'urn:album:Singles'

Can you track down the actual tags for both these files and attach?
Comment 14 Bastian Ilsø 2016-05-12 15:08:06 UTC
Created attachment 327722 [details]
Media info output on the two songs (flac, mp3)

(In reply to Marinus Schraal from comment #13)
> Just from a quick glance i think this is the problem :
> 
> nmm:musicAlbum = 'urn:album:Singles:Volant'
> vs
> nmm:musicAlbum = 'urn:album:Singles'
> 
> Can you track down the actual tags for both these files and attach?

Attaching output from mediainfo. The tracks were tagged using EasyTAG (which seem to say the same thing).
Comment 15 Marinus Schraal 2016-05-12 15:46:30 UTC
The mediainfo output suggests the tags are correct, so that might be a tracker indexing problem. But it doesn't show the actual tags used right now.

Just to be sure, can you test with a cmdline tool that shows the real tags (flac: metaflac --list <file>, mp3: there's a plethora of tools out there - id3v2, mp3info, etc) and post back here?
Comment 16 Bastian Ilsø 2016-05-12 16:25:06 UTC
Created attachment 327725 [details]
metaflac and id3info on the two songs

(In reply to Marinus Schraal from comment #15)
> The mediainfo output suggests the tags are correct, so that might be a
> tracker indexing problem. But it doesn't show the actual tags used right now.
> 
> Just to be sure, can you test with a cmdline tool that shows the real tags
> (flac: metaflac --list <file>, mp3: there's a plethora of tools out there -
> id3v2, mp3info, etc) and post back here?

here is some output from metaflac and id3info.
Comment 17 Marinus Schraal 2016-05-12 19:14:14 UTC
(In reply to Marinus Schraal from comment #13)
> nmm:musicAlbum = 'urn:album:Singles:Volant'

this is wrong (FLAC)

> vs
> nmm:musicAlbum = 'urn:album:Singles'

this is correct (mp3)

So, it looks like the flac extractor is at fault here. It shouldn't add the artist to musicAlbum.

This isn't noticeable when all the albums songs are the same file-format, but when mixing the two different nmm:musicAlbum names don't add up.

Reassigning to tracker.
Comment 18 Marinus Schraal 2016-05-12 20:11:37 UTC
This is because of bug #707964 .

It patches gstreamer, vorbis & flac to add albumArtist to the musicAlbum field if it's available. So it's not so consistent.

Clashing of album names is certainly possible, but current inconsistent and incorrect behaviour is questionable as well.
Comment 19 Marinus Schraal 2016-11-21 15:39:18 UTC

*** This bug has been marked as a duplicate of bug 773697 ***