Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/61ec9aff27dd70e2d7e1d497847af9527957ff67 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Use sane IDs for XBMC JSON RPC calls

pull/6/head
Mark McDowall 11 years ago
parent 052a3bf47e
commit 61ec9aff27

@ -215,7 +215,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
postJson.Add(new JProperty("params", parameters));
}
postJson.Add(new JProperty("id", DateTime.Now.Ticks));
postJson.Add(new JProperty("id", 2));
return postJson;
}

@ -58,7 +58,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", DateTime.Now.Ticks));
postJson.Add(new JProperty("id", 1));
var response = _httpProvider.PostCommand(settings.Address, settings.Username, settings.Password, postJson.ToString());

Loading…
Cancel
Save