This article is Part 4 of a 10-part series exploring the Kodi multi-media player's music file scanning and metadata scraping processes via logic flow diagrams.
Searching for general information on managing your Kodi music library and serving content? See the official Kodi Wiki.
Get Default Album Artwork
In Phase 3, compilation albums were further scrutinized to identify single-artist albums with guest artists that should not be marked as compilations. Phase 4 establishes default artwork for the albums. It handles the following tasks:
- Assign album thumbnail artwork
- Assign album cover art
- Normalize artwork among all album files
- Normalize multi-disc album artwork
- Add all albums to the library
- Mark albums with no name as Singles

The bracketed numbers just below the diagram title are line numbers in Kodi's music scanning code (MusicInfoScanner.cpp) found at https://github.com/xbmc/xbmc/blob/Leia/xbmc/music/infoscanner/MusicInfoScanner.cpp
Next up is Phase 5: Album Artwork Processing