Solved Crash when scanning music library
#1
I've been slowly cleaning up my music library, i.e., fix up lots of mp3 tags with Picard, delete the Kodi SQLite music db, and then re-scan the source ("Scan Item to Library") to rebuild it.

So far so good, except today I added a bunch of music and now Kodi crashes during scanning.

With debug logging enabled, I see the following at the end of the crash log file:
Quote:...2019-02-26 10:11:48.842 T:140679640512256   DEBUG: unrecognized user text tag detected: TXXX:release_group_genre_sourced
2019-02-26 10:11:48.842 T:140679640512256   DEBUG: unrecognized user text tag detected: TXXX:MusicBrainz Album Status
2019-02-26 10:11:48.842 T:140679640512256   DEBUG: unrecognized user text tag detected: TXXX:MusicBrainz Album Release Country
2019-02-26 10:11:48.842 T:140679640512256   DEBUG: unrecognized user text tag detected: TXXX:MusicBrainz Release Track Id
2019-02-26 10:11:48.842 T:140679640512256   DEBUG: Mis-match in song file albumartist tags: 3 mbid 1 name album: Tenebre Simonetti - Pignatelli - Morante
This seems(?) to be the album that's causing the crash: https://musicbrainz.org/release/1ad13756...ce782431f5

Eyeballing the mp3 tags on the files, I find "Simonetti Morante Pignatelli" for Artist (I guess it's a collaboration of three people); but "Simonetti - Pignatelli - Morante" for Album Artist; and "Simonetti / Morante / Pignatelli" for ARTISTS; and "Claudio Simonetti / Massimo Morante / Fabio Pignatelli" for Writer.

My only guess is that this is too inconsistent for Kodi, and that probably the info on MusicBrainz should(?) be corrected.

However, I'm still kind of new to all of this and pretty much guessing here.

I could manually fix the mp3 tags for this album, but what should I do? Replace "-" with "/"  (and wasn't Picard supposed to do that?)?

Also, the "unrecognized user text tag detected" messages are confusing, as it seems like Kodi isn't recognizing all the MusicBrainz tags. Do I need some special add-on for this?

Any suggestions?
Reply
#2
The "unrecognized user text tag detected" lines in the log are fine, they are Muiscbrainz tags that Kodi does not use and it will not be the cause of the crash. Sometimes that aspect of the log can be helpful but mostly it is just noise. A full debug log created with it crashing would be useful.

Please don't try to change the tags just yet, I would like to know what the underlying cause is first. You simply tagged the file using Picard, no manual edits? Also which format of ID3 tagging - v2.3 or v2.4? My guess would be 2.3 which does not support multi-frame values and Picard has used "/" as the separator than " / ".
Reply
#3
Thanks for your help. Full log is here: https://transfer.sh/.../kodi_crashlog-20...180415.log

Yes, I just tagged the files with Picard. Tag Compatibility is set to ID3v2 2.3, UTF-16. Join multiple tags is set to " / ".
Reply
#4
@mrob

Please post your log to https://paste.kodi.tv/
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
Can I paste to that site from the Linux command line? How?

I tried "curl --upload-file ./kodi_crashlog-20190226_180415.log https://paste.kodi.tv/" and I get the error "Cannot PUT ..."
Reply
#6
I don't know if you can. But pick another paste site. The one you used is next to useless. This is what I see. A narrow page with line wrap and some silly banner plastered over the top.

Image
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#7
Okay, hope this one works: https://ufile.io/xxxx

EDIT: or this: http://paste.ubuntu.com/p/4xxxVB/

P. S. I installed "pastebinit" — thanks again for your patience!
Reply
#8
Can you please post to a paste site. We do not want to download files.

https://paste.kodi.tv/
https://paste.ubuntu.com/
https://pastebin.com/

Now that you have your download link, open it, copy the file contents to one of the above sites and then post it. Once posted at the site, copy the address in the address bar and paste it here.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#9
Yes. Is this okay? http://paste.ubuntu.com/p/4xxxGmskVB/
Reply
#10
Yep, that is it. Someone else will need to assist as I am not familiar with the errors shown in your log. It does seem to be tag related. How did you tag your music files?
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#11
Thanks. I used Picard to tag the files.

Scanned the mp3s and Picard / MusicBrainz pointed me at this release: https://musicbrainz.org/release/1ad13756...ce782431f5

It looked like a match, so I saved it. I have Picard set to Clear existing tags, so my tags should match the MusicBrainz database exactly.

Picard's Tag Compatibility is set to ID3v2 2.3, UTF-16. Join multiple tags is set to " / ".

I'm a bit of a noob to all this, but I'm not sure why Picard isn't fixing up the Artist and Album Artist tags using " / ". Maybe a bug in Picard, or maybe the data isn't formatted correctly in the MusicBrainz database, and Picard can't compensate for that...?

I guess for Kodi the Artist, Album Artist, Album Artist Sort Order, Artists, and Writer tags are all expected to include the names of the musicians separated by " / " — is that right? After the mp3s are tagged by Picard, some of these fields have only last names, but some have both first and last names. I'm not sure which one is correct, or if it matters(?).

I assume DaveBlake wants to have a look at why Kodi is crashing on this.

Let me know if I can provide any further info.
Reply
#12
Thanks @mrob , full log was useful. The log shows "Mis-match in song file albumartist tags: 3 mbid 1 name album: Tenebre Simonetti - Pignatelli - Morante", so it is definitely upset by the tagging of that music file, but it should not crash!

My recommendation generally is that unless you have a good reason not to e.g. want to play your music in some other ancient media player, you use ID3 v2.4 format tags. They handle multi-frame values far better than 2.3. It is a setting you can change in Pcard and then retag.

Meanwhile I will experiment a file in with the v2.3 tags from that MB entry and see if I can both reproduce and prevent any crash.
Reply
#13
Hum.... although Kodi finds a tag mis-match I'm unable to reproduce any crash. In fact it correctly adds "Simonetti",  "Morante",  and "Pignatelli" as individual artists, and understandably an entry "Claudio Simonetti/Massimo Morante/Fabio Pignatelli" as writer.

Is there anyway you could upload the music file (assuming you have not already retagged it) to the cloud somewhere and send me a link?
Reply
#14
I can upload the problem file, yes. Do you have a preferred free cloud storage site for a zip file ?

Changing Picard to use ID3 v2.4 format tags is simple. Retagging all of my music will take longer.

Is it possible for some albums in my Kodi source directory to use ID3 v2.3 format, and others to use ID3 v2.4 format? I.e., I switch Picard now and then go back and retag stuff in phases. Would that work?

Thanks!
Reply
#15
(2019-02-27, 12:12)mrob Wrote: Is it possible for some albums in my Kodi source directory to use ID3 v2.3 format, and others to use ID3 v2.4 format? I.e., I switch Picard now and then go back and retag stuff in phases. Would that work?
Absoutely, mix of tag formats is fine. My v2.3 tagged test file for that album works OK (it recovers from the tag mis-match that happens because it seems Picard ignores the instruction to use space-slah-space), so really telling you to try v2.4 instead is just general advice not a fix.

Any cloud will do, PM me link (for privacy) or if posted here I will edit and obscure it.
Reply

Logout Mark Read Team Forum Stats Members Help
Crash when scanning music library0