Declare song using source

This commit is contained in:
Jonas Kvinge
2019-11-14 00:09:35 +01:00
parent c4f7054ca6
commit 1862e70628
6 changed files with 20 additions and 22 deletions

View File

@@ -435,7 +435,7 @@ void SubsonicRequest::AlbumSongsReplyReceived(QNetworkReply *reply, const qint64
QJsonObject json_obj = value.toObject();
++songs_received;
Song song;
Song song(Song::Source_Subsonic);
ParseSong(song, json_obj, artist_id, album_id, album_artist);
if (!song.is_valid()) continue;
if (song.disc() >= 2) multidisc = true;