Release 1.0.0.3: fix artist wrapper and lyrics fallback

This commit is contained in:
1xDed committed 2026-11-27 19:17:00 +03:00
1 parent 16515c5166
commit 84e3ea34c8
10 files changed
+92 -13

No files matched your search

@@ -164,6 +164,13 @@ public class YandexMusicLyricProvider : ILyricProvider, IHasOrder
}
}
var supplement = await _client.GetSupplementLyricsAsync(trackId, cancellationToken).ConfigureAwait(false);
if (!string.IsNullOrWhiteSpace(supplement))
{
Cache[trackId] = (supplement, "txt", DateTime.UtcNow);
return (supplement, "txt");
}
return null;
}
}