Rename filename to url, change album_id to string and recreate songs tables (#182)
This commit is contained in:
@@ -85,7 +85,7 @@ class TidalRequest : public TidalBaseRequest {
|
||||
|
||||
void ArtistAlbumsReplyReceived(QNetworkReply *reply, const qint64 artist_id, const int offset_requested);
|
||||
void AlbumSongsReplyReceived(QNetworkReply *reply, const qint64 artist_id, const qint64 album_id, const int offset_requested, const QString &album_artist);
|
||||
void AlbumCoverReceived(QNetworkReply *reply, const qint64 album_id, const QUrl &url);
|
||||
void AlbumCoverReceived(QNetworkReply *reply, const QString &album_id, const QUrl &url);
|
||||
|
||||
private:
|
||||
typedef QPair<QString, QString> Param;
|
||||
@@ -101,7 +101,7 @@ class TidalRequest : public TidalBaseRequest {
|
||||
};
|
||||
struct AlbumCoverRequest {
|
||||
qint64 artist_id = 0;
|
||||
qint64 album_id = 0;
|
||||
QString album_id = 0;
|
||||
QUrl url;
|
||||
};
|
||||
|
||||
@@ -176,7 +176,7 @@ class TidalRequest : public TidalBaseRequest {
|
||||
|
||||
QList<int> artist_albums_requests_pending_;
|
||||
QHash<int, Request> album_songs_requests_pending_;
|
||||
QMultiMap<int, Song*> album_covers_requests_sent_;
|
||||
QMultiMap<QString, Song*> album_covers_requests_sent_;
|
||||
|
||||
int artists_requests_active_;
|
||||
int artists_total_;
|
||||
|
||||
Reference in New Issue
Block a user