diff options
author | Sebastian Peters <koelnconcert@googlemail.com> | 2009-03-01 23:27:25 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-03-02 00:01:32 +0100 |
commit | e0a9a6cb9c51b2eec33fe9568631026705dfa605 (patch) | |
tree | 16523b880bfb96d56ea9f36e821f5107dce15333 | |
parent | b9cbacebffffa3a4f0c24187dd559f0e3402a9fd (diff) |
fix: show again multiple album without year in media library
-rw-r--r-- | src/media_library.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |