Add new method for updating songs based on song ID
Show status updating database. Fixes #750
This commit is contained in:
@@ -1270,15 +1270,17 @@ void TidalRequest::FinishCheck() {
|
||||
finished_ = true;
|
||||
if (no_results_ && songs_.isEmpty()) {
|
||||
if (IsSearch())
|
||||
emit Results(query_id_, SongList(), tr("No match."));
|
||||
emit Results(query_id_, SongMap(), tr("No match."));
|
||||
else
|
||||
emit Results(query_id_, SongList(), QString());
|
||||
emit Results(query_id_, SongMap(), QString());
|
||||
}
|
||||
else {
|
||||
if (songs_.isEmpty() && errors_.isEmpty())
|
||||
emit Results(query_id_, songs_.values(), tr("Unknown error"));
|
||||
else
|
||||
emit Results(query_id_, songs_.values(), ErrorsToHTML(errors_));
|
||||
if (songs_.isEmpty() && errors_.isEmpty()) {
|
||||
emit Results(query_id_, songs_, tr("Unknown error"));
|
||||
}
|
||||
else {
|
||||
emit Results(query_id_, songs_, ErrorsToHTML(errors_));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user