fixed whisparr v3 preview minimum version message

This commit is contained in:
Flaminel committed 2026-10-26 19:47:00 +02:00
1 parent 3847b347ef
commit 2631e8e253
2 files changed
+3 -2

No files matched your search

@@ -111,7 +111,8 @@ public sealed class SeekerPreviewController : ControllerBase
if (evaluation.WantedUnsupported)
{
return this.ProblemResult(StatusCodes.Status502BadGateway, "Seeker needs Radarr v5.6 or newer");
string minimumVersion = instanceType is InstanceType.Radarr ? "Radarr v5.6" : "Whisparr v3.1";
return this.ProblemResult(StatusCodes.Status502BadGateway, $"Seeker needs {minimumVersion} or newer");
}
DateTimeOffset? waitingUntil = null;
@@ -10,7 +10,7 @@ public sealed record SeekerEvaluation
public required List<long> AllLibraryIds { get; init; }
/// <summary>
/// Radarr older than v5.6 has no wanted endpoints, so nothing got evaluated.
/// Radarr older than v5.6 and Whisparr v3 older than v3.1 have no wanted endpoints, so nothing got evaluated.
/// </summary>
public bool WantedUnsupported { get; init; }