From 473431e85d0e25c1ffa7bd5c5f48cb618f1f125c Mon Sep 17 00:00:00 2001 From: DaveTBlake <oak99sky@yahoo.co.uk> Date: Sat, 29 Dec 2018 16:19:07 +0000 Subject: [JSON]Add OnRefresh announcement to the schema --- xbmc/interfaces/json-rpc/schema/notifications.json | 9 +++++++++ xbmc/interfaces/json-rpc/schema/version.txt | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/xbmc/interfaces/json-rpc/schema/notifications.json b/xbmc/interfaces/json-rpc/schema/notifications.json index 7b63f42aee..fa738cf61f 100644 --- a/xbmc/interfaces/json-rpc/schema/notifications.json +++ b/xbmc/interfaces/json-rpc/schema/notifications.json @@ -325,6 +325,15 @@ ], "returns": null }, + "VideoLibrary.OnRefresh": { + "type": "notification", + "description": "The video library has been refreshed and a home screen reload might be necessary.", + "params": [ + { "name": "sender", "type": "string", "required": true }, + { "name": "data", "type": "null", "required": true } + ], + "returns": null + }, "System.OnQuit": { "type": "notification", "description": "Kodi will be closed.", diff --git a/xbmc/interfaces/json-rpc/schema/version.txt b/xbmc/interfaces/json-rpc/schema/version.txt index d7bfa651e6..e479a93f04 100644 --- a/xbmc/interfaces/json-rpc/schema/version.txt +++ b/xbmc/interfaces/json-rpc/schema/version.txt @@ -1 +1 @@ -JSONRPC_VERSION 10.0.1 +JSONRPC_VERSION 10.1.0 -- cgit v1.2.3