Tidal: Only return streamable songs in result

Fixes #505
This commit is contained in:
Jonas Kvinge 2020-08-09 01:59:28 +02:00
parent 5ec33ec821
commit 8a5f82ee7d
1 changed files with 2 additions and 0 deletions

View File

@ -1022,10 +1022,12 @@ QString TidalRequest::ParseSong(Song &song, const QJsonObject &json_obj, const Q
if (!allow_streaming) {
Warn(QString("Song %1 %2 %3 is not allowStreaming").arg(artist).arg(album).arg(title));
return QString();
}
if (!stream_ready) {
Warn(QString("Song %1 %2 %3 is not streamReady").arg(artist).arg(album).arg(title));
return QString();
}
QUrl url;