Skip to content

Commit

Permalink
Attempt to login if streamurl fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Nov 1, 2018
1 parent bc9ec80 commit 298783e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tidal/tidalservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 298783e

Please sign in to comment.