Skip to content

Commit

Permalink
jsonrpc: add FooLibrary.OnScanFinished notification (introduced by 81…
Browse files Browse the repository at this point in the history
…6bab6) to introspect
  • Loading branch information
Montellese committed Apr 12, 2012
1 parent bbb815b commit be356b6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions xbmc/interfaces/json-rpc/ServiceDescription.h
Expand Up @@ -2319,6 +2319,15 @@ namespace JSONRPC
"],"
"\"returns\": null"
"}",
"\"AudioLibrary.OnScanFinished\": {"
"\"type\": \"notification\","
"\"description\": \"Scanning the audio library has been finished.\","
"\"params\": ["
"{ \"name\": \"sender\", \"type\": \"string\", \"required\": true },"
"{ \"name\": \"data\", \"type\": \"null\", \"required\": true }"
"],"
"\"returns\": null"
"}",
"\"VideoLibrary.OnUpdate\": {"
"\"type\": \"notification\","
"\"description\": \"A video item has been updated.\","
Expand Down Expand Up @@ -2348,6 +2357,15 @@ namespace JSONRPC
"],"
"\"returns\": null"
"}",
"\"VideoLibrary.OnScanFinished\": {"
"\"type\": \"notification\","
"\"description\": \"Scanning the audio library has been finished.\","
"\"params\": ["
"{ \"name\": \"sender\", \"type\": \"string\", \"required\": true },"
"{ \"name\": \"data\", \"type\": \"null\", \"required\": true }"
"],"
"\"returns\": null"
"}",
"\"System.OnQuit\": {"
"\"type\": \"notification\","
"\"description\": \"XBMC will be closed.\","
Expand Down
18 changes: 18 additions & 0 deletions xbmc/interfaces/json-rpc/notifications.json
Expand Up @@ -81,6 +81,15 @@
],
"returns": null
},
"AudioLibrary.OnScanFinished": {
"type": "notification",
"description": "Scanning the audio library has been finished.",
"params": [
{ "name": "sender", "type": "string", "required": true },
{ "name": "data", "type": "null", "required": true }
],
"returns": null
},
"VideoLibrary.OnUpdate": {
"type": "notification",
"description": "A video item has been updated.",
Expand Down Expand Up @@ -110,6 +119,15 @@
],
"returns": null
},
"VideoLibrary.OnScanFinished": {
"type": "notification",
"description": "Scanning the audio library has been finished.",
"params": [
{ "name": "sender", "type": "string", "required": true },
{ "name": "data", "type": "null", "required": true }
],
"returns": null
},
"System.OnQuit": {
"type": "notification",
"description": "XBMC will be closed.",
Expand Down

2 comments on commit be356b6

@thedroid
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description for video library finish should be fixed

@Montellese
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh, a c/p monster. Thanks for the hint.

Please sign in to comment.