Skip to content
This repository
Browse code

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

…n VideoLibrary namespace
  • Loading branch information...
commit d8c852e34f700473cb38ae0bbf2216f26e6fc622 1 parent 5b30dca
Sascha Montellese authored November 26, 2012
8  xbmc/interfaces/json-rpc/ServiceDescription.h
@@ -642,7 +642,7 @@ namespace JSONRPC
642 642
     "\"Video.Details.File\": {"
643 643
       "\"extends\": \"Video.Details.Item\","
644 644
       "\"properties\": {"
645  
-        "\"runtime\": { \"type\": \"integer\" },"
  645
+        "\"runtime\": { \"type\": \"integer\", \"description\": \"Runtime in seconds\" },"
646 646
         "\"director\": { \"$ref\": \"Array.String\" },"
647 647
         "\"streamdetails\": { \"$ref\": \"Video.Streams\" },"
648 648
         "\"resume\": { \"$ref\": \"Video.Resume\" }"
@@ -2473,7 +2473,7 @@ namespace JSONRPC
2473 2473
         "{ \"name\": \"movieid\", \"$ref\": \"Library.Id\", \"required\": true },"
2474 2474
         "{ \"name\": \"title\", \"$ref\": \"Optional.String\" },"
2475 2475
         "{ \"name\": \"playcount\", \"$ref\": \"Optional.Integer\" },"
2476  
-        "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\" },"
  2476
+        "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\", \"description\": \"Runtime in seconds\" },"
2477 2477
         "{ \"name\": \"director\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
2478 2478
         "{ \"name\": \"studio\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
2479 2479
         "{ \"name\": \"year\", \"$ref\": \"Optional.Integer\" },"
@@ -2538,7 +2538,7 @@ namespace JSONRPC
2538 2538
         "{ \"name\": \"episodeid\", \"$ref\": \"Library.Id\", \"required\": true },"
2539 2539
         "{ \"name\": \"title\", \"$ref\": \"Optional.String\" },"
2540 2540
         "{ \"name\": \"playcount\", \"$ref\": \"Optional.Integer\" },"
2541  
-        "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\" },"
  2541
+        "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\", \"description\": \"Runtime in seconds\" },"
2542 2542
         "{ \"name\": \"director\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
2543 2543
         "{ \"name\": \"plot\", \"$ref\": \"Optional.String\" },"
2544 2544
         "{ \"name\": \"rating\", \"$ref\": \"Optional.Number\" },"
@@ -2565,7 +2565,7 @@ namespace JSONRPC
2565 2565
         "{ \"name\": \"musicvideoid\", \"$ref\": \"Library.Id\", \"required\": true },"
2566 2566
         "{ \"name\": \"title\", \"$ref\": \"Optional.String\" },"
2567 2567
         "{ \"name\": \"playcount\", \"$ref\": \"Optional.Integer\" },"
2568  
-        "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\" },"
  2568
+        "{ \"name\": \"runtime\", \"$ref\": \"Optional.Integer\", \"description\": \"Runtime in seconds\" },"
2569 2569
         "{ \"name\": \"director\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
2570 2570
         "{ \"name\": \"studio\", \"type\": [ \"null\", { \"$ref\": \"Array.String\", \"required\": true } ], \"default\": null },"
2571 2571
         "{ \"name\": \"year\", \"$ref\": \"Optional.Integer\" },"
6  xbmc/interfaces/json-rpc/methods.json
@@ -1244,7 +1244,7 @@
1244 1244
       { "name": "movieid", "$ref": "Library.Id", "required": true },
1245 1245
       { "name": "title", "$ref": "Optional.String" },
1246 1246
       { "name": "playcount", "$ref": "Optional.Integer" },
1247  
-      { "name": "runtime", "$ref": "Optional.Integer" },
  1247
+      { "name": "runtime", "$ref": "Optional.Integer", "description": "Runtime in seconds" },
1248 1248
       { "name": "director", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
1249 1249
       { "name": "studio", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
1250 1250
       { "name": "year", "$ref": "Optional.Integer" },
@@ -1309,7 +1309,7 @@
1309 1309
       { "name": "episodeid", "$ref": "Library.Id", "required": true },
1310 1310
       { "name": "title", "$ref": "Optional.String" },
1311 1311
       { "name": "playcount", "$ref": "Optional.Integer" },
1312  
-      { "name": "runtime", "$ref": "Optional.Integer" },
  1312
+      { "name": "runtime", "$ref": "Optional.Integer", "description": "Runtime in seconds" },
1313 1313
       { "name": "director", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
1314 1314
       { "name": "plot", "$ref": "Optional.String" },
1315 1315
       { "name": "rating", "$ref": "Optional.Number" },
@@ -1336,7 +1336,7 @@
1336 1336
       { "name": "musicvideoid", "$ref": "Library.Id", "required": true },
1337 1337
       { "name": "title", "$ref": "Optional.String" },
1338 1338
       { "name": "playcount", "$ref": "Optional.Integer" },
1339  
-      { "name": "runtime", "$ref": "Optional.Integer" },
  1339
+      { "name": "runtime", "$ref": "Optional.Integer", "description": "Runtime in seconds" },
1340 1340
       { "name": "director", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
1341 1341
       { "name": "studio", "type": [ "null", { "$ref": "Array.String", "required": true } ], "default": null },
1342 1342
       { "name": "year", "$ref": "Optional.Integer" },
2  xbmc/interfaces/json-rpc/types.json
@@ -615,7 +615,7 @@
615 615
   "Video.Details.File": {
616 616
     "extends": "Video.Details.Item",
617 617
     "properties": {
618  
-      "runtime": { "type": "integer" },
  618
+      "runtime": { "type": "integer", "description": "Runtime in seconds" },
619 619
       "director": { "$ref": "Array.String" },
620 620
       "streamdetails": { "$ref": "Video.Streams" },
621 621
       "resume": { "$ref": "Video.Resume" }

0 notes on commit d8c852e

Please sign in to comment.
Something went wrong with that request. Please try again.