Qobuz: Fix albums request limited to 50 albums

Fixes #922
This commit is contained in:
Jonas Kvinge 2022-03-21 21:54:27 +01:00
parent f7357f2d10
commit da1815ac2b
1 changed files with 3 additions and 3 deletions

View File

@ -584,9 +584,9 @@ void QobuzRequest::AlbumsReceived(QNetworkReply *reply, const QString &artist_id
return;
}
//int limit = json_obj["limit"].toInt();
int offset = json_obj["offset"].toInt();
int albums_total = json_obj["total"].toInt();
//int limit = obj_albums["limit"].toInt();
int offset = obj_albums["offset"].toInt();
int albums_total = obj_albums["total"].toInt();
if (offset != offset_requested) {
Error(QString("Offset returned does not match offset requested! %1 != %2").arg(offset).arg(offset_requested));