EditTagDialog: Add button to fetch lyrics

Co-Authored-By: Jonas Kvinge <jonas@jkvinge.net>
This commit is contained in:
Célestin Matte
2024-03-06 23:16:29 +01:00
committed by Jonas Kvinge
parent a3207a5703
commit 27ee6e7643
5 changed files with 56 additions and 2 deletions

View File

@@ -134,6 +134,9 @@ void LyricsFetcherSearch::AllProvidersFinished() {
qLog(Debug) << "Using lyrics from" << results_.last().provider << "for" << request_.artist << request_.title << "with score" << results_.last().score;
emit LyricsFetched(id_, results_.last().provider, results_.last().lyrics);
}
else {
emit LyricsFetched(id_, QString(), QString());
}
emit SearchFinished(id_, results_);