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