Tidal: Remove deprecated username/password login
This commit is contained in:
@@ -54,20 +54,13 @@ class TidalStreamURLRequest : public TidalBaseRequest {
|
||||
QUrl media_url() const { return media_url_; }
|
||||
int song_id() const { return song_id_; }
|
||||
|
||||
void set_need_login() override { need_login_ = true; }
|
||||
bool need_login() const { return need_login_; }
|
||||
|
||||
Q_SIGNALS:
|
||||
void TryLogin();
|
||||
void StreamURLFailure(const uint id, const QUrl &media_url, const QString &error);
|
||||
void StreamURLSuccess(const uint id, const QUrl &media_url, const QUrl &stream_url, const Song::FileType filetype, const int samplerate = -1, const int bit_depth = -1, const qint64 duration = -1);
|
||||
|
||||
private Q_SLOTS:
|
||||
void StreamURLReceived();
|
||||
|
||||
public Q_SLOTS:
|
||||
void LoginComplete(const bool success, const QString &error = QString());
|
||||
|
||||
private:
|
||||
void Error(const QString &error, const QVariant &debug = QVariant()) override;
|
||||
|
||||
@@ -76,7 +69,6 @@ class TidalStreamURLRequest : public TidalBaseRequest {
|
||||
QUrl media_url_;
|
||||
uint id_;
|
||||
int song_id_;
|
||||
int tries_;
|
||||
bool need_login_;
|
||||
QStringList errors_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user