mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
parent
a602611a5f
commit
a4b78b44ce
1307 changed files with 8702 additions and 7403 deletions
|
@ -1,10 +1,10 @@
|
|||
using System.IO;
|
||||
using System.Xml.Linq;
|
||||
using NLog;
|
||||
using NzbDrone.Common.Extensions;
|
||||
using NzbDrone.Common.Http;
|
||||
using NzbDrone.Core.Rest;
|
||||
using RestSharp;
|
||||
using System.IO;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace NzbDrone.Core.Notifications.Subsonic
|
||||
{
|
||||
|
@ -64,7 +64,7 @@ namespace NzbDrone.Core.Notifications.Subsonic
|
|||
|
||||
_logger.Trace("Version response: {0}", response.Content);
|
||||
CheckForError(response, settings);
|
||||
|
||||
|
||||
var xDoc = XDocument.Load(new StringReader(response.Content.Replace("&", "&")));
|
||||
var version = xDoc.Root?.Attribute("version")?.Value;
|
||||
|
||||
|
@ -126,7 +126,6 @@ namespace NzbDrone.Core.Notifications.Subsonic
|
|||
}
|
||||
|
||||
throw new SubsonicException(errorMessage);
|
||||
|
||||
}
|
||||
|
||||
if (response.Content.IsNullOrWhiteSpace())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue