fix: show again multiple album without year in media library
This commit is contained in:
committed by
Andrzej Rybczak
parent
b9cbacebff
commit
e0a9a6cb9c
@@ -185,7 +185,7 @@ void MediaLibrary::Update()
|
|||||||
sort(l.begin(), l.end(), SortSongsByYear);
|
sort(l.begin(), l.end(), SortSongsByYear);
|
||||||
for (SongList::const_iterator j = l.begin(); j != l.end(); j++)
|
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);
|
utf_to_locale(*it);
|
||||||
(*j)->Localize();
|
(*j)->Localize();
|
||||||
|
|||||||
Reference in New Issue
Block a user