(2015-10-29, 18:04)Tolriq Wrote: [ -> ]You are right Never looked at those advanced tags as the normal ones where ok.
Anyway there's a change in handling those problematic mp3 Don't know if it's wanted or not.
Well I have not changed how Kodi handles the mixed up tag data, not this time around any way. I have had an effect on what you see. You now see what Kodi is storing, so I hope that is a wanted change.
Quote:All songs have the same data :
PHP Code:
{"albumartist":["The Corrs"],"albumartistid":[829],"artist":["The Corrs"],"artistid":[829],"musicbrainzalbumartistid":["acf6c776-d0f6-4239-b5a2-a45a613ffa52"],"musicbrainzartistid":["acf6c776-d0f6-4239-b5a2-a45a613ffa52"]}
And the Albums are returned as :
PHP Code:
{"albumid":1075,"artist":["The Corrs"],"artistid":[829],"label":"Talk on Corners","musicbrainzalbumartistid":["acf6c776-d0f6-4239-b5a2-a45a613ffa52"],"musicbrainzalbumid":"59ef148-90a3-44ab-87b2-1252c46febd5","title":"Talk on Corners"},{"albumid":1076,"artist":["The Corrs"],"artistid":[829],"label":"Talk on Corners","musicbrainzalbumartistid":["acf6c776-d0f6-4239-b5a2-a45a613ffa52"],"musicbrainzalbumid":"","title":"Talk on Corners"}
Meaning same artist too but missing mb album id (not in the tags so maybe normal).
But the mb artist id is not tagged too on those 2 tracks that generate the duplicate album, so where does it comes from ?
And why all artists data point correctly to The Corrs but display artist on one album take the bad "he Corrs" ?
Kodi is not a tagging tool, messed up tags need fixing but Kodi can't guess what you got wrong or even know there is something wrong. Neither is Kodi reporting the tags in the files, it returns the library contents processed from those tags. Here is an explanation of what Kodi did with those particular messed up tags:
The key thing is the order in which songs and albums are created, and that MBIDs are given presidence. The first file scanned was tagged as
ARTIST = "The Corrs"
(ALBUMARTIST = "The Corrs" but gets over written by MUSICBRAINZ ALBUM ARTIST)
MUSICBRAINZ ARTIST ID = "acf6c776-d0f6-4239-b5a2-a45a613ffa52"
MUSICBRAINZ ALBUM ARTIST = "he Corrs"
MUSICBRAINZ ALBUM ARTIST ID = "acf6c776-d0f6-4239-b5a2-a45a613ffa52"
MUSICBRAINZ ALBUM ID = 59ef148-90a3-44ab-87b2-1252c46febd5
Song processed first and song.strArtists = "The Corrs", and entry in the artist table is created from the artist tags with artist.strArtist = "The Corrs" and artist.MBID = "acf6c...".
Then, because we have an musicbrainzalbumid an album is created immediately with album.strArtists = "he Corrs" (what is in the Musicbrainzalbumartist tag). But we already have an entry in the artist table for the MBID given in musicbrainzalbumartistID, so the album is linked to this artist, differences in name are ignored.
Consequently read back this song and you will get "The Corrs" as both artist and albumartist and (song) display name. But for the album you will get "The Corrs" as artist (from the artist and album_artist tables) but "he Corrs" as (album) display name from the album table.
Then we scan track 07, that does not have any Musicbrainz tags just
ARTIST = "The Corrs"
ALBUMARTIST = "The Corrs"
Without MBID artist is matched on name only, we have an artist called "The Corrs" so this link is stored in the song_artist and album_artist tables. But, unlike artists, we do not match albums without MBID to those with them by name alone. Hence another album is created with the same name as that with thew MBID.
Quote:IMO there's some strange mix between MBID and TAGS and maybe place for some more fixes
Not sure what you would have fixed? Kodi is only reflecting the strange mix of musicbrainz tags you have in the files. With musicbrainz tags you either use them fully, consistently and accurately or remove them from the files, otherwise you will get odd effects.