Fixed: Properly detect failed responses from Navidrome

This commit is contained in:
ta264 2021-01-06 21:03:45 +00:00
parent 24f96fa2a4
commit 2499bb593a
1 changed files with 1 additions and 1 deletions

View File

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