Improve album cover searching and cover manager, use HttpStatusCodeAttribute and QSslError for services
- Improve album cover manager - Change art_automatic and art_manual to QUrl - Refresh collection album covers when new album covers are fetched - Fix automatic album cover searching for local files outside of the collection - Make all Json services check HttpStatusCodeAttribute - Show detailed SSL errors for Subsonic, Tidal and Qobuz
This commit is contained in:
@@ -29,8 +29,9 @@
|
||||
#include <QList>
|
||||
#include <QString>
|
||||
|
||||
#include "albumcoverfetcher.h"
|
||||
|
||||
class Application;
|
||||
struct CoverSearchResult;
|
||||
|
||||
// Each implementation of this interface downloads covers from one online service.
|
||||
// There are no limitations on what this service might be - last.fm, Amazon, Google Images - you name it.
|
||||
@@ -53,7 +54,7 @@ class CoverProvider : public QObject {
|
||||
virtual void CancelSearch(int id) {}
|
||||
|
||||
signals:
|
||||
void SearchFinished(int id, const QList<CoverSearchResult>& results);
|
||||
void SearchFinished(int id, const CoverSearchResults& results);
|
||||
|
||||
private:
|
||||
Application *app_;
|
||||
|
||||
Reference in New Issue
Block a user