Includes, comments and bugfixes

- Fix includes
- Use common regex (Song::kCoverRemoveDisc) for removing Disc/CD from album
- Remove Disc/CD from album when creating hash
- Make imobiledevice support compile
- Fix setting device on windows
This commit is contained in:
Jonas Kvinge
2018-05-01 00:41:33 +02:00
parent fccbd6790c
commit e337b7933b
518 changed files with 7003 additions and 4693 deletions

View File

@@ -24,20 +24,25 @@
#include "config.h"
#include <QXmlStreamReader>
#include <stdbool.h>
#include <QObject>
#include <QHash>
#include <QMetaType>
#include <QString>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include "coverprovider.h"
class QNetworkAccessManager;
#include "albumcoverfetcher.h"
// This struct represents a single search-for-cover request. It identifies and describes the request.
struct DiscogsCoverSearchContext {
// the unique request identifier
// The unique request identifier
int id;
// the search query
// The search query
QString artist;
QString album;
QString title;
@@ -47,12 +52,11 @@ struct DiscogsCoverSearchContext {
};
Q_DECLARE_METATYPE(DiscogsCoverSearchContext)
// This struct represents a single release request. It identifies and describes
// the request.
// This struct represents a single release request. It identifies and describes the request.
struct DiscogsCoverReleaseContext {
int id; // the unique request identifier
int s_id; // the search request identifier
int id; // The unique request identifier
int s_id; // The search request identifier
QString resource_url;
};