diff --git a/allstarr/AppVersion.cs b/allstarr/AppVersion.cs index 4ceaea20..477b2304 100644 --- a/allstarr/AppVersion.cs +++ b/allstarr/AppVersion.cs @@ -9,5 +9,5 @@ public static class AppVersion /// /// Current application version. /// - public const string Version = "2.0.1"; + public const string Version = "2.0.2"; } diff --git a/allstarr/Services/SquidWTF/SquidWTFMetadataService.cs b/allstarr/Services/SquidWTF/SquidWTFMetadataService.cs index 89e5652a..4930d8c4 100644 --- a/allstarr/Services/SquidWTF/SquidWTFMetadataService.cs +++ b/allstarr/Services/SquidWTF/SquidWTFMetadataService.cs @@ -594,9 +594,9 @@ public class SquidWTFMetadataService : TrackParserBase, IMusicMetadataService try { - return await _fallbackHelper.RaceTopEndpointsAsync( + return await _fallbackHelper.RaceTopEndpointsAsync( raceCount, - (baseUrl, ct) => FetchSongAsync(baseUrl, externalId, ct), + async (baseUrl, ct) => await FetchSongAsync(baseUrl, externalId, ct), cancellationToken); } catch (Exception ex) @@ -608,9 +608,9 @@ public class SquidWTFMetadataService : TrackParserBase, IMusicMetadataService } } - return await _fallbackHelper.TryWithFallbackAsync( - baseUrl => FetchSongAsync(baseUrl, externalId, cancellationToken), - (Song?)null); + return await _fallbackHelper.TryWithFallbackAsync( + async baseUrl => await FetchSongAsync(baseUrl, externalId, cancellationToken), + null); } private async Task FetchSongAsync(string baseUrl, string externalId, CancellationToken cancellationToken)