From 6a4c5340fdc1f1ad28507ad3a0e8a8daea0dead4 Mon Sep 17 00:00:00 2001 From: anaconda Date: Tue, 20 Oct 2015 03:56:52 +0200 Subject: jsonrpc: fix type parsing warnings --- xbmc/interfaces/json-rpc/schema/types.json | 84 +++++++++++++++--------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/xbmc/interfaces/json-rpc/schema/types.json b/xbmc/interfaces/json-rpc/schema/types.json index 1cc5d1ed8f..1c6fb46953 100644 --- a/xbmc/interfaces/json-rpc/schema/types.json +++ b/xbmc/interfaces/json-rpc/schema/types.json @@ -782,6 +782,41 @@ { "type": "string", "enum": [ "alltv", "allradio" ], "required": true } ] }, + "PVR.Fields.Broadcast": { + "extends": "Item.Fields.Base", + "items": { "type": "string", + "enum": [ "title", "plot", "plotoutline", "starttime", + "endtime", "runtime", "progress", "progresspercentage", + "genre", "episodename", "episodenum", "episodepart", + "firstaired", "hastimer", "isactive", "parentalrating", + "wasactive", "thumbnail", "rating" ] + } + }, + "PVR.Details.Broadcast": { + "extends": "Item.Details.Base", + "properties": { + "broadcastid": { "$ref": "Library.Id", "required": true }, + "title": { "type": "string" }, + "plot": { "type": "string" }, + "plotoutline": { "type": "string" }, + "starttime": { "type": "string" }, + "endtime": { "type": "string" }, + "runtime": { "type": "integer" }, + "progress": { "type": "integer" }, + "progresspercentage": { "type": "number" }, + "genre": { "type": "string" }, + "episodename": { "type": "string" }, + "episodenum": { "type": "integer" }, + "episodepart": { "type": "integer" }, + "firstaired": { "type": "string" }, + "hastimer": { "type": "boolean" }, + "isactive": { "type": "boolean" }, + "parentalrating": { "type": "integer" }, + "wasactive": { "type": "boolean" }, + "thumbnail": { "type": "string" }, + "rating": { "type": "integer" } + } + }, "PVR.Fields.Channel": { "extends": "Item.Fields.Base", "items": { "type": "string", @@ -818,41 +853,6 @@ } } }, - "PVR.Fields.Broadcast": { - "extends": "Item.Fields.Base", - "items": { "type": "string", - "enum": [ "title", "plot", "plotoutline", "starttime", - "endtime", "runtime", "progress", "progresspercentage", - "genre", "episodename", "episodenum", "episodepart", - "firstaired", "hastimer", "isactive", "parentalrating", - "wasactive", "thumbnail", "rating" ] - } - }, - "PVR.Details.Broadcast": { - "extends": "Item.Details.Base", - "properties": { - "broadcastid": { "$ref": "Library.Id", "required": true }, - "title": { "type": "string" }, - "plot": { "type": "string" }, - "plotoutline": { "type": "string" }, - "starttime": { "type": "string" }, - "endtime": { "type": "string" }, - "runtime": { "type": "integer" }, - "progress": { "type": "integer" }, - "progresspercentage": { "type": "number" }, - "genre": { "type": "string" }, - "episodename": { "type": "string" }, - "episodenum": { "type": "integer" }, - "episodepart": { "type": "integer" }, - "firstaired": { "type": "string" }, - "hastimer": { "type": "boolean" }, - "isactive": { "type": "boolean" }, - "parentalrating": { "type": "integer" }, - "wasactive": { "type": "boolean" }, - "thumbnail": { "type": "string" }, - "rating": { "type": "integer" } - } - }, "PVR.TimerState": { "type": "string", "enum": [ "unknown", "new", "scheduled", "recording", "completed", @@ -1369,6 +1369,13 @@ "enabled": { "type": "boolean" } } }, + "GUI.Stereoscopy.Mode": { + "type": "object", + "properties": { + "mode": { "type": "string", "required": true, "enum": [ "off", "split_vertical", "split_horizontal", "row_interleaved", "hardware_based", "anaglyph_cyan_red", "anaglyph_green_magenta", "anaglyph_yellow_blue", "monoscopic" ] }, + "label": { "type": "string", "required": true } + } + }, "GUI.Property.Name": { "type": "string", "enum": [ "currentwindow", "currentcontrol", "skin", "fullscreen", "stereoscopicmode" ] @@ -1397,13 +1404,6 @@ "stereoscopicmode": { "$ref": "GUI.Stereoscopy.Mode" } } }, - "GUI.Stereoscopy.Mode": { - "type": "object", - "properties": { - "mode": { "type": "string", "required": true, "enum": [ "off", "split_vertical", "split_horizontal", "row_interleaved", "hardware_based", "anaglyph_cyan_red", "anaglyph_green_magenta", "anaglyph_yellow_blue", "monoscopic" ] }, - "label": { "type": "string", "required": true } - } - }, "System.Property.Name": { "type": "string", "enum": [ "canshutdown", "cansuspend", "canhibernate", "canreboot" ] -- cgit v1.2.3