Fixed: Properly detect failed responses from Navidrome

pull/1879/head
ta264 3 years ago
parent 24f96fa2a4
commit 2499bb593a

@ -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()));

Loading…
Cancel
Save