Dont append disc to album title

Fixes #438
This commit is contained in:
Jonas Kvinge 2020-05-29 20:38:19 +02:00
parent 281cb10f84
commit 0e9c1789ff
2 changed files with 4 additions and 6 deletions

View File

@ -453,9 +453,8 @@ void SubsonicRequest::AlbumSongsReplyReceived(QNetworkReply *reply, const QStrin
for (Song &song : songs) {
if (compilation) song.set_compilation_detected(true);
if (multidisc) {
QString album_full(QString("%1 - (Disc %2)").arg(song.album()).arg(song.disc()));
song.set_album(album_full);
if (!multidisc) {
song.set_disc(0);
}
songs_ << song;
}

View File

@ -873,9 +873,8 @@ void TidalRequest::SongsReceived(QNetworkReply *reply, const QString &artist_id,
for (Song &song : songs) {
if (compilation) song.set_compilation_detected(true);
if (multidisc) {
QString album_full(QString("%1 - (Disc %2)").arg(song.album()).arg(song.disc()));
song.set_album(album_full);
if (!multidisc) {
song.set_disc(0);
}
songs_ << song;
}