From b0849d21f38f8ccff6552dcfb3fd66a1952c229b Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Thu, 8 Jun 2023 17:36:24 +0200 Subject: [PATCH] TidalStreamURLRequest: Ignore different track ID --- src/tidal/tidalstreamurlrequest.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tidal/tidalstreamurlrequest.cpp b/src/tidal/tidalstreamurlrequest.cpp index 293a8ab67..f6cdd6d63 100644 --- a/src/tidal/tidalstreamurlrequest.cpp +++ b/src/tidal/tidalstreamurlrequest.cpp @@ -173,11 +173,9 @@ void TidalStreamURLRequest::StreamURLReceived() { emit StreamURLFailure(id_, media_url_, errors_.first()); return; } - int track_id(json_obj["trackId"].toInt()); + int track_id = json_obj["trackId"].toInt(); if (track_id != song_id_) { - Error("Incorrect track ID returned.", json_obj); - emit StreamURLFailure(id_, media_url_, errors_.first()); - return; + qLog(Debug) << "Tidal returned track ID" << track_id << "for" << media_url_; } Song::FileType filetype(Song::FileType::Stream);