mirror of https://github.com/Sonarr/Sonarr
Print version response from XBMC in logs
This commit is contained in:
parent
f40a5eb9e9
commit
9c0fb34864
|
@ -61,7 +61,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
||||||
|
|
||||||
var response = _httpProvider.PostCommand(settings.Address, settings.Username, settings.Password, postJson.ToString());
|
var response = _httpProvider.PostCommand(settings.Address, settings.Username, settings.Password, postJson.ToString());
|
||||||
|
|
||||||
Logger.Debug("Getting version from response");
|
Logger.Debug("Getting version from response: " + response);
|
||||||
var result = Json.Deserialize<XbmcJsonResult<JObject>>(response);
|
var result = Json.Deserialize<XbmcJsonResult<JObject>>(response);
|
||||||
|
|
||||||
var versionObject = result.Result.Property("version");
|
var versionObject = result.Result.Property("version");
|
||||||
|
|
Loading…
Reference in New Issue