Music: Albums tagged with multiple albumartist generate erroneous artists - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Music Support (https://forum.kodi.tv/forumdisplay.php?fid=263) +--- Thread: Music: Albums tagged with multiple albumartist generate erroneous artists (/showthread.php?tid=263351) |
Music: Albums tagged with multiple albumartist generate erroneous artists - piotr.siudak - 2016-03-08 I have never written here, so hello everybody! I was planning to add this to the bug system but it tells me I do not have privileges to open a ticket. Albums tagged with multiple albumartist end up generating erroneous artists enties in DB. Looks like this: https://onedrive.live.com/redir?resid=4D80EABD3E0CD92B!12769&authkey=!APVTpkeZhe4mKgU&v=3&ithint=photo%2cpng The Albums view looks OK https://onedrive.live.com/redir?resid=4D80EABD3E0CD92B!12770&authkey=!AP9JJLaL2rFdFCg&v=3&ithint=photo%2cpng So is song view https://onedrive.live.com/redir?resid=4D80EABD3E0CD92B!12768&authkey=!AGLi6jUw5c_AZMY&v=3&ithint=photo%2cpng See the database https://onedrive.live.com/redir?resid=4D80EABD3E0CD92B!12771&authkey=!ACGVTvVSODNhqDo&ithint=file%2cdb it looks like the good one is INSERT INTO "artist" VALUES(1,'10cc','f37c537b-3557-4031-bfd6-ab63ced32854' and the bad one INSERT INTO "artist" VALUES(2,'6f874502-c86b-4d53-a371-3c18829531b9','6f874502-c86b-4d53-a371-3c18829531b9' Steps to recreate bug: I used fresh install of kodi-16.0-Jarvis.exe on Windows 10 Professional After application loaded up I got to System and enabled debugging, then Music > add Source , added directory containing two files waited for it to finish scanning then got to Music Artist to confirm and exited application by Alt + F4 Here is log Code: 12:47:50 T:5524 DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------ Here is whole log start to finish https://onedrive.live.com/redir?resid=4D80EABD3E0CD92B!12772&authkey=!ADHEronbi2Plw4I&ithint=file%2clog Files used 10cc/1978 official album - Bloody Tourists/01 Dreadlock Holiday.mp3 10cc & Godley & Creme/1987 official album; compilation - Changing Faces_ The Best of 10cc and Godley & Creme/01 Dreadlock Holiday.mp3 The first one works OK and was used for comparison The second was tagged with: http://musicbrainz.org/release/7ff0f451-77d3-4d61-9e2e-480e3e0c831e But this same thing happens with these ones http://musicbrainz.org/release/8f029e53-8d2d-4ba4-818d-df640849db2b http://musicbrainz.org/release/27cf9f49-5e53-4504-8937-e31c7084c129 http://musicbrainz.org/release/6a240f5e-d193-499e-a7cc-2e318ff9b30e Common theme seems to be that files in question are tagged with multiple musicbrainz_albumartistid's Edit: I do not seem to know how to get images and links to work, so I put the bare URLs instead Edit2: I attached wrong log file. corrected RE: Music: Albums tagged with multiple albumartist generate erroneous artists - DaveBlake - 2016-03-08 Welcome, and well done for providing lots of information with your issue. I am pretty sure that the issue is with the way your music is tagged. There is a mismatch between the number of musicbrainz artist ids and the number of artist names that Kodi is finding in the TPE1 tag. You don't give the tags but I bet you have in the first example: TPE1 = "10CC & Godley & Cream", and MUSICBRAINZ_ARTIST_ID = "f37c537b-3557-4031-bfd6-ab63ced32854;6f874502-c86b-4d53-a371-3c18829531b9" There is no way for Kodi to know that "10CC & Godley & Cream" divides into "10CC" and "Godley & Cream". In this case Kodi treats the extra mbid as an artist name. It will also label all 10CC music (scanned with mbids) as name "10CC & Godley & Cream". There are 2 possible solutions to fix the tagging: a) Change artist/TPE1 to "10CC / Godley & Cream", using item separator space-slash-space that Kodi can recognise. or b) Add ARTISTS tags ARTISTS = "10CC", ARTISTS = "Godley & Cream" Ensure that the number of artists names and the number of mbids match. RE: Music: Albums tagged with multiple albumartist generate erroneous artists - scott967 - 2016-03-09 I was thinking the problem might be with ALBUMARTISTS and MUSICBRAINZ_ALBUMARTIST_ID? scott s. . RE: Music: Albums tagged with multiple albumartist generate erroneous artists - piotr.siudak - 2016-03-09 (2016-03-08, 19:43)DaveBlake Wrote: I am pretty sure that the issue is with the way your music is tagged. Sure it is. If I had it any other way there wouldnt be a problem, would it? But see, I have it the way I have it. The problem is that my music is tagged the way MusicBrainz Picard does it, and kodi has problem reading it properly. To explain even more here is a file https://onedrive.live.com/redir?resid=4D80EABD3E0CD92B!12773&authkey=!AOI-fmfOK1ncp94&ithint=file%2cmp3 For copyright sake audio portion of this song is 1s of silence. just to be sure, all tags removed beforehand with Code: eyeD3 --remove-all test.mp3 Tagged with this record http://musicbrainz.org/release/7ff0f451-77d3-4d61-9e2e-480e3e0c831e with fresh version of Musicbrainz Picard (vanilla, out of the box, no options tinkered) the effect is as follows : Code: eyeD3 test.mp3 Code: python -i (2016-03-08, 19:43)DaveBlake Wrote: There is no way for Kodi to know that "10CC & Godley & Cream" divides into "10CC" and "Godley & Cream". In this case Kodi treats the extra mbid as an artist name. It will also label all 10CC music (scanned with mbids) as name "10CC & Godley & Cream". So why to use it at all? See: I have one song by 10cc from compilation by "10CC" and "Godley & Cream" I do not have any songs by "Godley & Cream" I have no desire to see "Godley & Cream" on my "Artists" list anyways, and even more so, If it appeared there, such entry should list 0 (zero) songs, shouldn't it? For my liking it shoudn't be adding Albumartists to the list of Artists altogether. In ths example: 10cc is being added as as an artist already because of being an artist for this particular song, right? Alternatively just add ""10CC and Godley & Cream" as an artist (but you lack one single music brainz artist ID for such entry, I know) (2016-03-08, 19:43)DaveBlake Wrote: There are 2 possible solutions to fix the tagging: Again, it is vanilla MusicBrainz Picard, that's how it does it, there is no simple switch to change it, there is no way around that, other than to try to write some custom plug-in. Maybe. I do not know if it is even possible. Not gonna do that anyway. What I can do, is to offer you a piece of information that is: "Properly tagged music files do not display properly in your app." even more so: "Music files properly tagged with the tagger software recommended in your docs do not display properly in your app." I do not need from you the recipes for a quick fix that I would have to repeat every time I come in touch with a music file that had multiple albumartists. I can cope on my own, thank you. I just offered you information that your software does not work the way it is supposed to and the details that might let you fix it. That's it really. RE: Music: Albums tagged with multiple albumartist generate erroneous artists - DaveBlake - 2016-03-09 (2016-03-09, 01:21)scott967 Wrote: I was thinking the problem might be with ALBUMARTISTS and MUSICBRAINZ_ALBUMARTIST_ID? You are right Scott, I didn't read the title. All that I said, but with ALBUMARTIST. piotr.siudak Wrote:I do not need from you the recipes for a quick fix that I would have to repeat every time I come in touch with a music file that had multiple albumartists. I can cope on my own, thank you.It is not my software, and I am just a volunteer like every one else. Sorry I mistook you for a new user that wanted some friendly help. RE: Music: Albums tagged with multiple albumartist generate erroneous artists - Powerhouse - 2016-03-10 My Take on this issue is, that MusicBrainz needs to fix this on their end. As the Artist should be separated correctly... album artist: "10CC / Godley & Cream" and not... album artist: 10cc & Godley & Creme Hell, they could have done this... album artist: 10cc and Godley & Creme and it would have been better. RE: Music: Albums tagged with multiple albumartist generate erroneous artists - scott967 - 2016-03-10 I looked at the tags present in the file "test.mp3". (Thanks for uploading it). I do not see a tag for TXXX="AbumArtists..." So with multiple TXXX=Musicbrainz Album Artist Id (2 actually f37... and 6f8...) that's a problem. I don't use or know anything about Picard, but some searching I found a Picard issue no. 700 that addresses this. In the comments I find this: "Since Picard 1.3 the tag _albuamrtists is available. By default, this is not written to files, but if you add $setmulti(albumartists,%_albumartists%) to your tagger script, it will be (you could use other names instead of albumartists if you wanted to). This will create multiple tags for files that support it (basically everything except ID3, ASF, MP4, WAV)." http://tickets.musicbrainz.org/browse/PICARD-700 So if you can get Picard to add the albumartists tag, I believe Kodi 16 will properly set the album artist (or as Picard calls it release artist) text string as 10cc and Godley & Creme, as well as adding (if not present) the artist 10cc and the artist Godley & Creme with the correct MBID for each that allows for correct scraping. It also looks like Picard is using "slash" (no spaces) as its separator. Not sure if that's a problem or not. I edited tags in mp3tag as I suggest with results: scott s. . RE: Music: Albums tagged with multiple albumartist generate erroneous artists - piotr.siudak - 2016-03-10 (2016-03-10, 03:19)scott967 Wrote: So if you can get Picard to add the albumartists tag, I believe Kodi 16 will properly set the album artist (or as Picard calls it release artist) text string as 10cc and Godley & Creme, as well as adding (if not present) the artist 10cc and the artist Godley & Creme with the correct MBID for each that allows for correct scraping. I can confirm that this seams to do the trick and Kodi can read it fine. this is where these settings are kept(on windows , I believe on Linux its somewhere in ~/.config/MusicBrainz/Picard/ ) Code: Windows Registry Editor Version 5.00 So that's that. Thanks |