Music library update crashes 4k

Do you have FLAC files in your music library by any chance?

It has happened to me as well that some FLAC files have broken tags which cause Kodi to crash. If you look at those files with Mp3tag (Mp3tag - the universal Tag Editor (ID3v2, MP4, OGG, FLAC, ...)) you’d see that the column “Tag” doesn’t say “FLAC (FLAC)”, but something like “FLAC (ID3 v2)”. So, Kodi crashes when trying to add FLAC files that have MP3 ID3 tags instead of FLAC tags. Check on that in your library.

If this is the case, you may use Mp3tag to fix the problem: add the respective FLAC files to Mp3tag, highlight all of them, then press delete in Mp3tag, deleting all tags, and finally press undo which would rewrite the tags, but this time correctly as FLAC tags. The only thing that has to be done manually, is adding the cover art to the tags again. They’ll be lost during the delete und undo process.