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:
Jonas Kvinge
2019-07-07 21:14:24 +02:00
parent c92a7967ea
commit 65780e1672
101 changed files with 1531 additions and 1239 deletions

View File

@@ -28,6 +28,7 @@
#include <QObject>
#include <QSystemTrayIcon>
#include <QString>
#include <QUrl>
#include <QPixmap>
#include <QAction>
#include <QMenu>
@@ -52,7 +53,7 @@ class QtSystemTrayIcon : public SystemTrayIcon {
void ShowPopup(const QString &summary, const QString &message, int timeout);
void SetNowPlaying(const Song &song, const QString &image_path);
void SetNowPlaying(const Song &song, const QUrl &cover_url);
void ClearNowPlaying();
bool MuteEnabled() { return action_mute_->isVisible(); }