jsonrpc: add missing method descriptions for Files.Download and Files.GetDirectory
authormontellese <montellese@xbmc.org>
Sun, 9 Oct 2011 17:09:03 +0000 (19:09 +0200)
committermontellese <montellese@xbmc.org>
Sun, 9 Oct 2011 17:09:03 +0000 (19:09 +0200)
xbmc/interfaces/json-rpc/ServiceDescription.h
xbmc/interfaces/json-rpc/methods.json

index 74e6383..fec6147 100644 (file)
@@ -1298,6 +1298,7 @@ namespace JSONRPC
     "}",
     "\"Files.Download\": {"
       "\"type\": \"method\","
+      "\"description\": \"Provides a way to download a given file (e.g. providing an URL to the real file location)\","
       "\"transport\": [ \"Response\", \"FileDownload\" ],"
       "\"permission\": \"ReadData\","
       "\"params\": ["
@@ -1312,6 +1313,7 @@ namespace JSONRPC
     "}",
     "\"Files.GetDirectory\": {"
       "\"type\": \"method\","
+      "\"description\": \"Get the directories and files in the given directory\","
       "\"transport\": \"Response\","
       "\"permission\": \"ReadData\","
       "\"params\": ["
index c209621..08a601e 100644 (file)
   },
   "Files.Download": {
     "type": "method",
+               "description": "Provides a way to download a given file (e.g. providing an URL to the real file location)",
     "transport": [ "Response", "FileDownload" ],
     "permission": "ReadData",
     "params": [
   },
   "Files.GetDirectory": {
     "type": "method",
+               "description": "Get the directories and files in the given directory",
     "transport": "Response",
     "permission": "ReadData",
     "params": [