Skip to content
This repository
Browse code

jsonrpc: add missing fields and properties to List.* types and clean …

…them up
  • Loading branch information...
commit c9f398bc532060b6a6defedd591cf26dcabd77cd 1 parent f00ff50
Sascha Montellese authored November 27, 2012
22  xbmc/interfaces/json-rpc/ServiceDescription.h
@@ -1051,7 +1051,15 @@ namespace JSONRPC
1051 1051
         "\"watchedepisodes\": { \"type\": \"integer\" },"
1052 1052
         "\"disc\": { \"type\": \"integer\" },"
1053 1053
         "\"tag\": { \"$ref\": \"Array.String\" },"
1054  
-        "\"albumartistid\": { \"$ref\": \"Array.Integer\" }"
  1054
+        "\"albumartistid\": { \"$ref\": \"Array.Integer\" },"
  1055
+        "\"uniqueid\": { \"type\": \"object\", \"additionalProperties\": { \"type\": \"string\", \"minLength\": 1 } },"
  1056
+        "\"episodeguide\": { \"type\": \"string\" },"
  1057
+        "\"sorttitle\": { \"type\": \"string\" },"
  1058
+        "\"description\": { \"type\": \"string\" },"
  1059
+        "\"theme\": { \"$ref\": \"Array.String\" },"
  1060
+        "\"mood\": { \"$ref\": \"Array.String\" },"
  1061
+        "\"style\": { \"$ref\": \"Array.String\" },"
  1062
+        "\"albumlabel\": { \"type\": \"string\" }"
1055 1063
       "}"
1056 1064
     "}",
1057 1065
     "\"List.Fields.All\": {"
@@ -1066,9 +1074,10 @@ namespace JSONRPC
1066 1074
                   "\"runtime\", \"set\", \"showlink\", \"streamdetails\", \"top250\", \"votes\","
1067 1075
                   "\"firstaired\", \"season\", \"episode\", \"showtitle\", \"thumbnail\", \"file\","
1068 1076
                   "\"resume\", \"artistid\", \"albumid\", \"tvshowid\", \"setid\", \"watchedepisodes\","
1069  
-                  "\"disc\", \"tag\", \"art\", \"channel\", \"channeltype\", \"hidden\", \"locked\","
1070  
-                  "\"channelnumber\", \"starttime\", \"endtime\", \"genreid\", \"displayartist\","
1071  
-                  "\"albumartistid\" ]"
  1077
+                  "\"disc\", \"tag\", \"art\", \"genreid\", \"displayartist\", \"albumartistid\","
  1078
+                  "\"description\", \"theme\", \"mood\", \"style\", \"albumlabel\", \"sorttitle\","
  1079
+                  "\"episodeguide\", \"uniqueid\", \"dateadded\", \"channel\", \"channeltype\", \"hidden\","
  1080
+                  "\"locked\", \"channelnumber\", \"starttime\", \"endtime\" ]"
1072 1081
       "}"
1073 1082
     "}",
1074 1083
     "\"List.Item.All\": {"
@@ -1095,8 +1104,9 @@ namespace JSONRPC
1095 1104
                   "\"runtime\", \"set\", \"showlink\", \"streamdetails\", \"top250\", \"votes\","
1096 1105
                   "\"firstaired\", \"season\", \"episode\", \"showtitle\", \"thumbnail\", \"file\","
1097 1106
                   "\"resume\", \"artistid\", \"albumid\", \"tvshowid\", \"setid\", \"watchedepisodes\","
1098  
-                  "\"disc\", \"tag\", \"art\", \"size\", \"lastmodified\", \"mimetype\", \"genreid\","
1099  
-                  "\"displayartist\", \"albumartistid\" ]"
  1107
+                  "\"disc\", \"tag\", \"art\", \"genreid\", \"displayartist\", \"albumartistid\","
  1108
+                  "\"description\", \"theme\", \"mood\", \"style\", \"albumlabel\", \"sorttitle\","
  1109
+                  "\"episodeguide\", \"uniqueid\", \"dateadded\", \"size\", \"lastmodified\", \"mimetype\" ]"
1100 1110
       "}"
1101 1111
     "}",
1102 1112
     "\"List.Item.File\": {"
22  xbmc/interfaces/json-rpc/types.json
@@ -1024,7 +1024,15 @@
1024 1024
       "watchedepisodes": { "type": "integer" },
1025 1025
       "disc": { "type": "integer" },
1026 1026
       "tag": { "$ref": "Array.String" },
1027  
-      "albumartistid": { "$ref": "Array.Integer" }
  1027
+      "albumartistid": { "$ref": "Array.Integer" },
  1028
+      "uniqueid": { "type": "object", "additionalProperties": { "type": "string", "minLength": 1 } },
  1029
+      "episodeguide": { "type": "string" },
  1030
+      "sorttitle": { "type": "string" },
  1031
+      "description": { "type": "string" },
  1032
+      "theme": { "$ref": "Array.String" },
  1033
+      "mood": { "$ref": "Array.String" },
  1034
+      "style": { "$ref": "Array.String" },
  1035
+      "albumlabel": { "type": "string" }
1028 1036
     }
1029 1037
   },
1030 1038
   "List.Fields.All": {
@@ -1039,9 +1047,10 @@
1039 1047
                 "runtime", "set", "showlink", "streamdetails", "top250", "votes",
1040 1048
                 "firstaired", "season", "episode", "showtitle", "thumbnail", "file",
1041 1049
                 "resume", "artistid", "albumid", "tvshowid", "setid", "watchedepisodes",
1042  
-                "disc", "tag", "art", "channel", "channeltype", "hidden", "locked",
1043  
-                "channelnumber", "starttime", "endtime", "genreid", "displayartist",
1044  
-                "albumartistid" ]
  1050
+                "disc", "tag", "art", "genreid", "displayartist", "albumartistid",
  1051
+                "description", "theme", "mood", "style", "albumlabel", "sorttitle",
  1052
+                "episodeguide", "uniqueid", "dateadded", "channel", "channeltype", "hidden",
  1053
+                "locked", "channelnumber", "starttime", "endtime" ]
1045 1054
     }
1046 1055
   },
1047 1056
   "List.Item.All": {
@@ -1068,8 +1077,9 @@
1068 1077
                 "runtime", "set", "showlink", "streamdetails", "top250", "votes",
1069 1078
                 "firstaired", "season", "episode", "showtitle", "thumbnail", "file",
1070 1079
                 "resume", "artistid", "albumid", "tvshowid", "setid", "watchedepisodes",
1071  
-                "disc", "tag", "art", "size", "lastmodified", "mimetype", "genreid",
1072  
-                "displayartist", "albumartistid" ]
  1080
+                "disc", "tag", "art", "genreid", "displayartist", "albumartistid",
  1081
+                "description", "theme", "mood", "style", "albumlabel", "sorttitle",
  1082
+                "episodeguide", "uniqueid", "dateadded", "size", "lastmodified", "mimetype" ]
1073 1083
     }
1074 1084
   },
1075 1085
   "List.Item.File": {

0 notes on commit c9f398b

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