xbmc/xbmc — pull request #1222 by classicspam (2012-07-26 07:23:44+00:00)
Title: Music Scanner Update

Update: If 2+ different track artworks exist in same album use the first one as album art and keep the individual track artworks.

Reasons:

There are 2 possible situations that I can think of where there may be more than 1 artwork in an album:
- It is the same artwork but different resolutions (i.e. tracks acquired from different sources)
- The album separator messes up and they are actually 2 different albums (very rarely happen...I have only seen it on 2 different "Various Artist","Anthology" albums

In either of these cases I would think the best option would be to select the first found artwork as the album art rather then leaving it empty. We also need to keep the track art for these rare occurrences in case it falls in the second option above.