mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-27 00:34:16 +01:00
Attempt to login if streamurl fails
This commit is contained in:
parent
bc9ec8025c
commit
298783e2c5
@ -843,7 +843,7 @@ void TidalService::GetStreamURLFinished(QNetworkReply *reply, const int song_id,
|
||||
if (requests_song_.contains(song_id)) requests_song_.remove(song_id);
|
||||
if (original_url != stream_request_url_) return;
|
||||
|
||||
QByteArray data = GetReplyData(reply);
|
||||
QByteArray data = GetReplyData(reply, true);
|
||||
if (data.isEmpty()) {
|
||||
if (!stream_request_url_.isEmpty() && !login_sent_) {
|
||||
emit StreamURLFinished(original_url, Song::FileType_Stream);
|
||||
|
Loading…
Reference in New Issue
Block a user