mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Properly detect failed responses from Navidrome
This commit is contained in:
parent
24f96fa2a4
commit
2499bb593a
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ namespace NzbDrone.Core.Notifications.Subsonic
|
||||||
throw new SubsonicException("Invalid Response, Check Server Settings");
|
throw new SubsonicException("Invalid Response, Check Server Settings");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status == "failed")
|
if (status != "ok")
|
||||||
{
|
{
|
||||||
var ns = xDoc.Root.GetDefaultNamespace();
|
var ns = xDoc.Root.GetDefaultNamespace();
|
||||||
var error = xDoc.Root.Element(XName.Get("error", ns.ToString()));
|
var error = xDoc.Root.Element(XName.Get("error", ns.ToString()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue