Merge pull request #6552 from jonaski/https

Use HTTPS
This commit is contained in:
John Maguire 2020-01-27 22:58:28 +00:00 committed by GitHub
commit e575a1da9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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::kApiPassword = "dayeiph0ne@pp";
const char* DigitallyImportedClient::kAuthUrl = const char* DigitallyImportedClient::kAuthUrl =
"http://api.audioaddict.com/v1/%1/members/authenticate"; "https://api.audioaddict.com/v1/%1/members/authenticate";
const char* DigitallyImportedClient::kChannelListUrl = 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="; "batch_update?asset_group_key=mobile_icons&stream_set_key=";
DigitallyImportedClient::DigitallyImportedClient(const QString& service_name, DigitallyImportedClient::DigitallyImportedClient(const QString& service_name,

View File

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

View File

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