Use HTTPS

This commit is contained in:
Jonas Kvinge 2020-01-27 22:46:38 +01:00
parent a207501e35
commit f674847431
3 changed files with 8 additions and 8 deletions

View File

@ -36,10 +36,10 @@ const char* DigitallyImportedClient::kApiUsername = "ephemeron";
const char* DigitallyImportedClient::kApiPassword = "dayeiph0ne@pp";
const char* DigitallyImportedClient::kAuthUrl =
"http://api.audioaddict.com/v1/%1/members/authenticate";
"https://api.audioaddict.com/v1/%1/members/authenticate";
const char* DigitallyImportedClient::kChannelListUrl =
"http://api.audioaddict.com/v1/%1/mobile/"
"https://api.audioaddict.com/v1/%1/mobile/"
"batch_update?asset_group_key=mobile_icons&stream_set_key=";
DigitallyImportedClient::DigitallyImportedClient(const QString& service_name,

View File

@ -67,11 +67,11 @@ DigitallyImportedServiceBase::DigitallyImportedServiceBase(
model->app()->global_search()->AddProvider(
new DigitallyImportedSearchProvider(this, app_, this));
premium_playlists_ << "http://%1/premium_high/%2.pls?hash=%3"
<< "http://%1/premium_medium/%2.pls?hash=%3"
<< "http://%1/premium/%2.pls?hash=%3"
<< "http://%1/premium_wma_low/%2.asx?hash=%3"
<< "http://%1/premium_wma/%2.asx?hash=%3";
premium_playlists_ << "https://%1/premium_high/%2.pls?hash=%3"
<< "https://%1/premium_medium/%2.pls?hash=%3"
<< "https://%1/premium/%2.pls?hash=%3"
<< "https://%1/premium_wma_low/%2.asx?hash=%3"
<< "https://%1/premium_wma/%2.asx?hash=%3";
}
DigitallyImportedServiceBase::~DigitallyImportedServiceBase() {}

View File

@ -34,7 +34,7 @@
#include "core/timeconstants.h"
const char* AcoustidClient::kClientId = "qsZGpeLx";
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)