XBMC API improvements

This commit is contained in:
Mark McDowall
2014-05-10 19:52:19 -07:00
parent 42101d302b
commit 3c47df8691
3 changed files with 4 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
var postJson = new JObject();
postJson.Add(new JProperty("jsonrpc", "2.0"));
postJson.Add(new JProperty("method", "JSONRPC.Version"));
postJson.Add(new JProperty("id", 10));
postJson.Add(new JProperty("id", DateTime.Now.Ticks));
var response = _httpProvider.PostCommand(settings.Address, settings.Username, settings.Password, postJson.ToString());