PlaylistManager: Use album artist for new playlist name
This commit is contained in:
@@ -552,7 +552,7 @@ QString PlaylistManager::GetNameForNewPlaylist(const SongList &songs) {
|
|||||||
artists.reserve(songs.count());
|
artists.reserve(songs.count());
|
||||||
albums.reserve(songs.count());
|
albums.reserve(songs.count());
|
||||||
for (const Song &song : songs) {
|
for (const Song &song : songs) {
|
||||||
artists << (song.artist().isEmpty() ? tr("Unknown") : song.artist());
|
artists << (song.effective_albumartist().isEmpty() ? tr("Unknown") : song.effective_albumartist());
|
||||||
albums << (song.album().isEmpty() ? tr("Unknown") : song.album());
|
albums << (song.album().isEmpty() ? tr("Unknown") : song.album());
|
||||||
|
|
||||||
if (artists.size() > 1) {
|
if (artists.size() > 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user