Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

jsonrpc: add description to changed "runtime" properties/parameters i…

…n VideoLibrary namespace
  • Loading branch information...
commit d8c852e34f700473cb38ae0bbf2216f26e6fc622 1 parent 5b30dca
@Montellese Montellese authored
View
8 xbmc/interfaces/json-rpc/ServiceDescription.h
@@ -642,7 +642,7 @@ namespace JSONRPC
"\"Video.Details.File\": {"
"\"extends\": \"Video.Details.Item\","
"\"properties\": {"
- "\"runtime\": { \"type\": \"integer\" },"
+ "\"runtime\": { \"type\": \"integer\", \"description\": \"Runtime in seconds\" },"
"\"director\": { \"$ref\": \"Array.String\" },"
"\"streamdetails\": { \"$ref\": \"Video.Streams\" },"
"\"resume\": { \"$ref\": \"Video.Resume\" }"
@@ -2473,7 +2473,7 @@ namespace JSONRPC
"{ \"name\": \"movieid\", \"$ref\": \"Library.Id\", \"required\": true },"
"{ \"name\": \"title\", \"$ref\": \"Optional.String\" },"
"{ \"name\": \"playcount\", \"$ref\": \"Optional.Integer\" },"
- "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\" },"
+ "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\", \"description\": \"Runtime in seconds\" },"
"{ \"name\": \"director\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
"{ \"name\": \"studio\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
"{ \"name\": \"year\", \"$ref\": \"Optional.Integer\" },"
@@ -2538,7 +2538,7 @@ namespace JSONRPC
"{ \"name\": \"episodeid\", \"$ref\": \"Library.Id\", \"required\": true },"
"{ \"name\": \"title\", \"$ref\": \"Optional.String\" },"
"{ \"name\": \"playcount\", \"$ref\": \"Optional.Integer\" },"
- "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\" },"
+ "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\", \"description\": \"Runtime in seconds\" },"
"{ \"name\": \"director\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
"{ \"name\": \"plot\", \"$ref\": \"Optional.String\" },"
"{ \"name\": \"rating\", \"$ref\": \"Optional.Number\" },"
@@ -2565,7 +2565,7 @@ namespace JSONRPC
"{ \"name\": \"musicvideoid\", \"$ref\": \"Library.Id\", \"required\": true },"
"{ \"name\": \"title\", \"$ref\": \"Optional.String\" },"
"{ \"name\": \"playcount\", \"$ref\": \"Optional.Integer\" },"
- "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\" },"
+ "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\", \"description\": \"Runtime in seconds\" },"
"{ \"name\": \"director\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
"{ \"name\": \"studio\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
"{ \"name\": \"year\", \"$ref\": \"Optional.Integer\" },"
View
6 xbmc/interfaces/json-rpc/methods.json
@@ -1244,7 +1244,7 @@
{ "name": "movieid", "$ref": "Library.Id", "required": true },
{ "name": "title", "$ref": "Optional.String" },
{ "name": "playcount", "$ref": "Optional.Integer" },
- { "name": "runtime", "$ref": "Optional.Integer" },
+ { "name": "runtime", "$ref": "Optional.Integer", "description": "Runtime in seconds" },
{ "name": "director", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
{ "name": "studio", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
{ "name": "year", "$ref": "Optional.Integer" },
@@ -1309,7 +1309,7 @@
{ "name": "episodeid", "$ref": "Library.Id", "required": true },
{ "name": "title", "$ref": "Optional.String" },
{ "name": "playcount", "$ref": "Optional.Integer" },
- { "name": "runtime", "$ref": "Optional.Integer" },
+ { "name": "runtime", "$ref": "Optional.Integer", "description": "Runtime in seconds" },
{ "name": "director", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
{ "name": "plot", "$ref": "Optional.String" },
{ "name": "rating", "$ref": "Optional.Number" },
@@ -1336,7 +1336,7 @@
{ "name": "musicvideoid", "$ref": "Library.Id", "required": true },
{ "name": "title", "$ref": "Optional.String" },
{ "name": "playcount", "$ref": "Optional.Integer" },
- { "name": "runtime", "$ref": "Optional.Integer" },
+ { "name": "runtime", "$ref": "Optional.Integer", "description": "Runtime in seconds" },
{ "name": "director", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
{ "name": "studio", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
{ "name": "year", "$ref": "Optional.Integer" },
View
2  xbmc/interfaces/json-rpc/types.json
@@ -615,7 +615,7 @@
"Video.Details.File": {
"extends": "Video.Details.Item",
"properties": {
- "runtime": { "type": "integer" },
+ "runtime": { "type": "integer", "description": "Runtime in seconds" },
"director": { "$ref": "Array.String" },
"streamdetails": { "$ref": "Video.Streams" },
"resume": { "$ref": "Video.Resume" }
Please sign in to comment.
Something went wrong with that request. Please try again.