diff options
author | anaconda <anaconda@menakite.eu> | 2015-10-20 03:56:52 +0200 |
---|---|---|
committer | anaconda <anaconda@menakite.eu> | 2015-10-20 03:56:52 +0200 |
commit | 6a4c5340fdc1f1ad28507ad3a0e8a8daea0dead4 (patch) | |
tree | 06e5329cb58e710050e0c05ead3a92765ca0604a | |
parent | 4f0c05987df97f1ae4c36804eb35a9dcb466050f (diff) |
jsonrpc: fix type parsing warnings
-rw-r--r-- | xbmc/interfaces/json-rpc/schema/types.json | 84 |
1 files 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" ] |