3 "type": "notification",
4 "description": "Playback of a media item has been started or the playback speed has changed. If there is no ID available extra information will be provided.",
6 { "name": "sender", "type": "string", "required": true },
7 { "name": "data", "$ref": "Player.Notifications.Data", "required": true }
12 "type": "notification",
13 "description": "Playback of a media item has been paused. If there is no ID available extra information will be provided.",
15 { "name": "sender", "type": "string", "required": true },
16 { "name": "data", "$ref": "Player.Notifications.Data", "required": true }
21 "type": "notification",
22 "description": "Playback of a media item has been stopped. If there is no ID available extra information will be provided.",
24 { "name": "sender", "type": "string", "required": true },
25 { "name": "data", "type": "object", "required": true,
27 "item": { "$ref": "Player.Notifications.Item" },
28 "end": { "type": "boolean", "required": true, "description": "Whether the player has reached the end of the playable item(s) or not" }
34 "Player.OnSpeedChanged": {
35 "type": "notification",
36 "description": "Speed of the playback of a media item has been changed. If there is no ID available extra information will be provided.",
38 { "name": "sender", "type": "string", "required": true },
39 { "name": "data", "$ref": "Player.Notifications.Data", "required": true }
44 "type": "notification",
45 "description": "The playback position has been changed. If there is no ID available extra information will be provided.",
47 { "name": "sender", "type": "string", "required": true },
48 { "name": "data", "type": "object", "required": true,
50 "item": { "$ref": "Player.Notifications.Item" },
51 "player": { "$ref": "Player.Notifications.Player.Seek", "required": true }
57 "AudioLibrary.OnUpdate": {
58 "type": "notification",
59 "description": "An audio item has been updated.",
61 { "name": "sender", "type": "string", "required": true },
62 { "name": "data", "type": "object", "required": true,
64 "id": { "$ref": "Library.Id", "required": true },
65 "type": { "type": "string", "id": "Notifications.Library.Audio.Type", "enum": [ "song" ], "required": true }
71 "AudioLibrary.OnRemove": {
72 "type": "notification",
73 "description": "An audio item has been removed.",
75 { "name": "sender", "type": "string", "required": true },
76 { "name": "data", "type": "object", "required": true,
78 "id": { "$ref": "Library.Id", "required": true },
79 "type": { "$ref": "Notifications.Library.Audio.Type", "required": true }
85 "AudioLibrary.OnScanFinished": {
86 "type": "notification",
87 "description": "Scanning the audio library has been finished.",
89 { "name": "sender", "type": "string", "required": true },
90 { "name": "data", "type": "null", "required": true }
94 "VideoLibrary.OnUpdate": {
95 "type": "notification",
96 "description": "A video item has been updated.",
98 { "name": "sender", "type": "string", "required": true },
99 { "name": "data", "type": "object", "required": true,
101 "id": { "$ref": "Library.Id", "required": true },
102 "type": { "type": "string", "id": "Notifications.Library.Video.Type", "enum": [ "movie", "tvshow", "episode", "musicvideo" ], "required": true },
103 "playcount": { "type": "integer", "minimum": 0, "default": -1 }
109 "VideoLibrary.OnRemove": {
110 "type": "notification",
111 "description": "A video item has been removed.",
113 { "name": "sender", "type": "string", "required": true },
114 { "name": "data", "type": "object", "required": true,
116 "id": { "$ref": "Library.Id", "required": true },
117 "type": { "$ref": "Notifications.Library.Video.Type", "required": true }
123 "VideoLibrary.OnScanFinished": {
124 "type": "notification",
125 "description": "Scanning the video library has been finished.",
127 { "name": "sender", "type": "string", "required": true },
128 { "name": "data", "type": "null", "required": true }
133 "type": "notification",
134 "description": "XBMC will be closed.",
136 { "name": "sender", "type": "string", "required": true },
137 { "name": "data", "type": "null", "required": true }
141 "System.OnRestart": {
142 "type": "notification",
143 "description": "The system will be restarted.",
145 { "name": "sender", "type": "string", "required": true },
146 { "name": "data", "type": "null", "required": true }
151 "type": "notification",
152 "description": "The system will be suspended.",
154 { "name": "sender", "type": "string", "required": true },
155 { "name": "data", "type": "null", "required": true }
160 "type": "notification",
161 "description": "The system woke up from suspension.",
163 { "name": "sender", "type": "string", "required": true },
164 { "name": "data", "type": "null", "required": true }
168 "System.OnLowBattery": {
169 "type": "notification",
170 "description": "The system is on low battery.",
172 { "name": "sender", "type": "string", "required": true },
173 { "name": "data", "type": "null", "required": true }
177 "Application.OnVolumeChanged": {
178 "type": "notification",
179 "description": "The volume of the application has changed.",
181 { "name": "sender", "type": "string", "required": true },
182 { "name": "data", "type": "object", "required": true,
184 "volume": { "type": "integer", "minimum": 0, "maximum": 100, "required": true },
185 "muted": { "type": "boolean", "required": true }
191 "Input.OnInputRequested": {
192 "type": "notification",
193 "description": "The user is requested to provide some information.",
195 { "name": "sender", "type": "string", "required": true },
196 { "name": "data", "type": "object", "required": true,
198 "type": { "type": "string", "enum": [ "keyboard", "time", "date", "ip", "password", "number", "seconds" ], "required": true },
199 "title": { "type": "string" }
205 "Input.OnInputFinished": {
206 "type": "notification",
207 "description": "The user has provided the requested input.",
209 { "name": "sender", "type": "string", "required": true },
210 { "name": "data", "type": "null", "required": true }