Please sign in to comment.
multi-CD albums: prevent multiple entries, improve art search
Improve handling of multi-CD albums: - revert 8cb4b55 that fixes the problem with showing multi-CD albums multiple times, but it breaks artwork caching for album view. As the album path is ignored we search artwork with path=None and as the result when Artwork.artwork_get_local_image is called with songpath=None it looks for artwork in the directory of current song. So all the albums get the same artwork and the art_cache is broken. - add Base.get_multicd_album_root_dir method to get album root directory for tracks from multi-CD albums. For example, if track is located in 'artist/album/CD 2' directory than the method returns 'artist/album'. This method is used in artwork search algorithm (to look for artwork in album root directory but not in CD's subdirectory) and while populating album view (to merge all CDs into single album entry).
- Loading branch information...
Showing with 27 additions and 7 deletions.