From 2499bb593a32ecbcd7d79e519c3d91cdcd8a3ef0 Mon Sep 17 00:00:00 2001 From: ta264 Date: Wed, 6 Jan 2021 21:03:45 +0000 Subject: [PATCH] Fixed: Properly detect failed responses from Navidrome --- src/NzbDrone.Core/Notifications/Subsonic/SubsonicServerProxy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Notifications/Subsonic/SubsonicServerProxy.cs b/src/NzbDrone.Core/Notifications/Subsonic/SubsonicServerProxy.cs index 52f6dc048..af2d58716 100644 --- a/src/NzbDrone.Core/Notifications/Subsonic/SubsonicServerProxy.cs +++ b/src/NzbDrone.Core/Notifications/Subsonic/SubsonicServerProxy.cs @@ -105,7 +105,7 @@ namespace NzbDrone.Core.Notifications.Subsonic throw new SubsonicException("Invalid Response, Check Server Settings"); } - if (status == "failed") + if (status != "ok") { var ns = xDoc.Root.GetDefaultNamespace(); var error = xDoc.Root.Element(XName.Get("error", ns.ToString()));