From e0a9a6cb9c51b2eec33fe9568631026705dfa605 Mon Sep 17 00:00:00 2001 From: Sebastian Peters Date: Sun, 1 Mar 2009 23:27:25 +0100 Subject: [PATCH] fix: show again multiple album without year in media library --- src/media_library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media_library.cpp b/src/media_library.cpp index 5e55f4fb..1d0e3f8f 100644 --- a/src/media_library.cpp +++ b/src/media_library.cpp @@ -185,7 +185,7 @@ void MediaLibrary::Update() sort(l.begin(), l.end(), SortSongsByYear); for (SongList::const_iterator j = l.begin(); j != l.end(); j++) { - if (!(*j)->GetAlbum().empty() && (maplist.empty() || (*j)->GetYear() != maplist.back().second.Year)) + if (!(*j)->GetAlbum().empty() && (maplist.empty() || (*j)->GetYear() != maplist.back().second.Year || (*j)->GetAlbum() != maplist.back().second.Album)) { utf_to_locale(*it); (*j)->Localize();