diff --git a/src/NzbDrone.Core/Notifications/Xbmc/JsonApiProvider.cs b/src/NzbDrone.Core/Notifications/Xbmc/JsonApiProvider.cs index ef39eb353..0f933b570 100644 --- a/src/NzbDrone.Core/Notifications/Xbmc/JsonApiProvider.cs +++ b/src/NzbDrone.Core/Notifications/Xbmc/JsonApiProvider.cs @@ -215,7 +215,7 @@ private JObject BuildJsonRequest(string method, JObject parameters) postJson.Add(new JProperty("params", parameters)); } - postJson.Add(new JProperty("id", DateTime.Now.Ticks)); + postJson.Add(new JProperty("id", 2)); return postJson; } diff --git a/src/NzbDrone.Core/Notifications/Xbmc/XbmcService.cs b/src/NzbDrone.Core/Notifications/Xbmc/XbmcService.cs index 7e3c236e7..ce94da593 100644 --- a/src/NzbDrone.Core/Notifications/Xbmc/XbmcService.cs +++ b/src/NzbDrone.Core/Notifications/Xbmc/XbmcService.cs @@ -58,7 +58,7 @@ public XbmcVersion GetJsonVersion(XbmcSettings settings) var postJson = new JObject(); postJson.Add(new JProperty("jsonrpc", "2.0")); postJson.Add(new JProperty("method", "JSONRPC.Version")); - postJson.Add(new JProperty("id", DateTime.Now.Ticks)); + postJson.Add(new JProperty("id", 1)); var response = _httpProvider.PostCommand(settings.Address, settings.Username, settings.Password, postJson.ToString());