1
0
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:
Jonas Kvinge 2018-11-01 21:18:09 +01:00
parent bc9ec8025c
commit 298783e2c5

View File

@ -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);