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:
@@ -37,19 +37,21 @@ class LyricsProviders;
|
||||
class LyricsFetcherSearch;
|
||||
|
||||
struct LyricsSearchRequest {
|
||||
quint64 id = -1;
|
||||
LyricsSearchRequest() : id(-1) {}
|
||||
quint64 id;
|
||||
QString artist;
|
||||
QString album;
|
||||
QString title;
|
||||
};
|
||||
|
||||
struct LyricsSearchResult {
|
||||
LyricsSearchResult() : score(0.0) {}
|
||||
QString provider;
|
||||
QString artist;
|
||||
QString album;
|
||||
QString title;
|
||||
QString lyrics;
|
||||
float score = 0.0;
|
||||
float score;
|
||||
};
|
||||
Q_DECLARE_METATYPE(LyricsSearchResult);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user