Change all API urls to https
This commit is contained in:
parent
b273da0b5e
commit
f645950a8f
@ -47,7 +47,7 @@
|
||||
#include "tidalcoverprovider.h"
|
||||
|
||||
const char *TidalCoverProvider::kApiUrl = "https://api.tidalhifi.com/v1";
|
||||
const char *TidalCoverProvider::kResourcesUrl = "http://resources.tidal.com";
|
||||
const char *TidalCoverProvider::kResourcesUrl = "https://resources.tidal.com";
|
||||
const int TidalCoverProvider::kLimit = 10;
|
||||
|
||||
TidalCoverProvider::TidalCoverProvider(Application *app, QObject *parent) :
|
||||
|
@ -52,7 +52,7 @@
|
||||
using std::stable_sort;
|
||||
|
||||
const char *AcoustidClient::kClientId = "0qjUoxbowg";
|
||||
const char *AcoustidClient::kUrl = "http://api.acoustid.org/v2/lookup";
|
||||
const char *AcoustidClient::kUrl = "https://api.acoustid.org/v2/lookup";
|
||||
const int AcoustidClient::kDefaultTimeout = 5000; // msec
|
||||
|
||||
AcoustidClient::AcoustidClient(QObject *parent)
|
||||
|
@ -53,8 +53,8 @@
|
||||
using std::sort;
|
||||
using std::stable_sort;
|
||||
|
||||
const char *MusicBrainzClient::kTrackUrl = "http://musicbrainz.org/ws/2/recording/";
|
||||
const char *MusicBrainzClient::kDiscUrl = "http://musicbrainz.org/ws/2/discid/";
|
||||
const char *MusicBrainzClient::kTrackUrl = "https://musicbrainz.org/ws/2/recording/";
|
||||
const char *MusicBrainzClient::kDiscUrl = "https://musicbrainz.org/ws/2/discid/";
|
||||
const char *MusicBrainzClient::kDateRegex = "^[12]\\d{3}";
|
||||
const int MusicBrainzClient::kRequestsDelay = 1200;
|
||||
const int MusicBrainzClient::kDefaultTimeout = 8000;
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "qobuzservice.h"
|
||||
#include "qobuzbaserequest.h"
|
||||
|
||||
const char *QobuzBaseRequest::kApiUrl = "http://www.qobuz.com/api.json/0.2";
|
||||
const char *QobuzBaseRequest::kApiUrl = "https://www.qobuz.com/api.json/0.2";
|
||||
|
||||
QobuzBaseRequest::QobuzBaseRequest(QobuzService *service, NetworkAccessManager *network, QObject *parent) :
|
||||
QObject(parent),
|
||||
|
@ -61,7 +61,7 @@
|
||||
using std::shared_ptr;
|
||||
|
||||
const Song::Source QobuzService::kSource = Song::Source_Qobuz;
|
||||
const char *QobuzService::kAuthUrl = "http://www.qobuz.com/api.json/0.2/user/login";
|
||||
const char *QobuzService::kAuthUrl = "https://www.qobuz.com/api.json/0.2/user/login";
|
||||
const int QobuzService::kLoginAttempts = 2;
|
||||
const int QobuzService::kTimeResetLoginAttempts = 60000;
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "tidalurlhandler.h"
|
||||
#include "tidalrequest.h"
|
||||
|
||||
const char *TidalRequest::kResourcesUrl = "http://resources.tidal.com";
|
||||
const char *TidalRequest::kResourcesUrl = "https://resources.tidal.com";
|
||||
const int TidalRequest::kMaxConcurrentArtistsRequests = 3;
|
||||
const int TidalRequest::kMaxConcurrentAlbumsRequests = 3;
|
||||
const int TidalRequest::kMaxConcurrentSongsRequests = 3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user