mirror of https://github.com/lidarr/Lidarr
Fixed: Properly detect failed responses from Navidrome
This commit is contained in:
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…
Reference in New Issue