Archive:JSON-RPC API/v4: Difference between revisions
>Montellese |
mNo edit summary |
||
(26 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
Version 4 is a stable version of XBMC's JSON-RPC API and is published with the release of Eden. It is a complete re-write and re-structuring of version 2 and therefore isn't backwards compatible to it. The main reason for this was the need to make this version fully compatible with all the functionality, features and requirements of the [http://jsonrpc.org/spec.html JSON-RPC 2.0 specification]. This was a main concern during early development to make it easier for third party developers and applications to interact with XBMC's JSON-RPC API by using existing JSON-RPC libraries. | |||
Version 4 is a stable version of XBMC's JSON-RPC API and is published with the release of Eden. It is a complete re-write and re-structuring of | |||
An rough and incomplete list of changes compared to version 2 can be found [[ | An rough and incomplete list of changes compared to version 2 can be found [[Archive:Eden_API_changes|here]]. A more complete and detailed list can be found in the [http://forum.kodi.tv/showthread.php?t=98551 forum]. | ||
{{TOC right}} | {{TOC right}} | ||
==JSON-RPC 2.0 compatibility== | == JSON-RPC 2.0 compatibility == | ||
{| class=" | {| class="prettytable" style="margin-right: 0;" | ||
!style="padding-left: 5px; width: 7em; text-align: left;"|Version | !style="padding-left: 5px; width: 7em; text-align: left;"|Version | ||
!style="padding-left: 10px; padding-right: 10px;"|Method calls | !style="padding-left: 10px; padding-right: 10px;"|Method calls | ||
Line 25: | Line 24: | ||
|} | |} | ||
==Documentation (JSON Schema)== | == Documentation (JSON Schema) == | ||
Starting with JSON-RPC API version 3 a new way of API documentation has been introduced. All methods and data types are described using [http://tools.ietf.org/html/draft-zyp-json-schema-03 JSON Schema]. This provides third party developers with an always complete and up-to-date documentation by calling | Starting with JSON-RPC API version 3 a new way of API documentation has been introduced. All methods and data types are described using [http://tools.ietf.org/html/draft-zyp-json-schema-03 JSON Schema]. This provides third party developers with an always complete and up-to-date documentation by calling JSONRPC.Introspect even during periods of heavy development. Furthermore the same method and data type specification that can be used by third party developers as a documentation is used by XBMC to check and verify method parameters and their values on every JSON-RPC request and allows to provide detailed error messages in case of a bad or missing parameter. | ||
===Supported features of JSON Schema=== | === Supported features of JSON Schema === | ||
<div style="float:left; margin-right:2em"> | <div style="float:left; margin-right:2em"> | ||
{| class=" | {| class="prettytable" style="margin-right: 0;" | ||
!style="width: 10em; text-align: left;"|Schema | !style="width: 10em; text-align: left;"|Schema | ||
!style="padding-left: 10px; padding-right: 10px;"|IETF Draft 03 | !style="padding-left: 10px; padding-right: 10px;"|IETF Draft 03 | ||
Line 68: | Line 67: | ||
<div style="float:left; margin-right:2em"> | <div style="float:left; margin-right:2em"> | ||
{| class=" | {| class="prettytable" style="margin-right: 0;" | ||
!style="width: 10em; text-align: left;"|Schema | !style="width: 10em; text-align: left;"|Schema | ||
Line 108: | Line 107: | ||
<div style="float:left;"> | <div style="float:left;"> | ||
{| class=" | {| class="prettytable" style="margin-right: 0;" | ||
!style="width: 10em; text-align: left;"|Schema | !style="width: 10em; text-align: left;"|Schema | ||
Line 147: | Line 146: | ||
<div style="clear:left;"></div> | <div style="clear:left;"></div> | ||
==Error message== | == Error message == | ||
If XBMC detects a bad or missing parameter in a JSON-RPC request it returns an error object. The JSON schema description of that error object is | If XBMC detects a bad or missing parameter in a JSON-RPC request it returns an error object. The JSON schema description of that error object is | ||
{| | {| | ||
| | | | ||
< | <syntaxhighlight lang=json enclose="div"> | ||
{ | { | ||
"type": "object", | "type": "object", | ||
Line 172: | Line 171: | ||
} | } | ||
} | } | ||
</ | </syntaxhighlight> | ||
|} | |} | ||
==Namespaces== | == Namespaces == | ||
The XBMC JSON-RPC API is split up into namespaces, which contain methods that can be called. These namespaces are: | The XBMC JSON-RPC API is split up into namespaces, which contain methods that can be called. These namespaces are: | ||
{| | {| | ||
Line 189: | Line 188: | ||
Application Application information and control | Application Application information and control | ||
System System controls and information | System System controls and information | ||
XBMC Dumping ground for very | XBMC Dumping ground for very Kodi specific operations | ||
</pre> | </pre> | ||
|} | |} | ||
==Methods== | == Methods == | ||
===Application=== | === Application === | ||
====Application.GetProperties==== | ==== Application.GetProperties ==== | ||
Retrieves the values of the given properties<br /> | Retrieves the values of the given properties<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 201: | Line 200: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Application.Property.Name|Application.Property.Name]]''[] properties | # ''[[#Application.Property.Name|Application.Property.Name]]''[] properties | ||
</div> | </div> | ||
'''Returns:''' ''[[#Application.Property.Value|Application.Property.Value]]'' | '''Returns:''' ''[[#Application.Property.Value|Application.Property.Value]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"$ref": "Application.Property.Value" | "$ref": "Application.Property.Value" | ||
Line 222: | Line 221: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Application.Quit==== | ==== Application.Quit ==== | ||
Quit application<br /> | Quit application<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 229: | Line 228: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 237: | Line 236: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Application.SetMute==== | ==== Application.SetMute ==== | ||
Toggle mute/unmute<br /> | Toggle mute/unmute<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 243: | Line 242: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''mixed'' mute | # ''mixed'' mute | ||
</div> | </div> | ||
'''Returns:''' ''boolean'' | '''Returns:''' ''boolean'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "boolean", | "type": "boolean", | ||
Line 271: | Line 270: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Application.SetVolume==== | ==== Application.SetVolume ==== | ||
Set the current volume<br /> | Set the current volume<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 277: | Line 276: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''integer'' volume | # ''integer'' volume | ||
</div> | </div> | ||
'''Returns:''' ''integer'' | '''Returns:''' ''integer'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"minimum": 0, | "minimum": 0, | ||
Line 297: | Line 296: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===AudioLibrary=== | === AudioLibrary === | ||
====AudioLibrary.Clean==== | ==== AudioLibrary.Clean ==== | ||
Cleans the audio library from non-existent items<br /> | Cleans the audio library from non-existent items<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 305: | Line 304: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 313: | Line 312: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.Export==== | ==== AudioLibrary.Export ==== | ||
Exports all items from the audio library<br /> | Exports all items from the audio library<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 319: | Line 318: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''mixed'' options ] | # [ ''mixed'' options ] | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 364: | Line 363: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.GetAlbumDetails==== | ==== AudioLibrary.GetAlbumDetails ==== | ||
Retrieve details about a specific album<br /> | Retrieve details about a specific album<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 370: | Line 369: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Library.Id|Library.Id]]'' albumid | # ''[[#Library.Id|Library.Id]]'' albumid | ||
#[ ''[[#Audio.Fields.Album|Audio.Fields.Album]]'' properties ] | # [ ''[[#Audio.Fields.Album|Audio.Fields.Album]]'' properties ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 377: | Line 376: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Audio.Details.Album|Audio.Details.Album]]'' albumdetails ] | * [ ''[[#Audio.Details.Album|Audio.Details.Album]]'' albumdetails ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 403: | Line 402: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.GetAlbums==== | ==== AudioLibrary.GetAlbums ==== | ||
Retrieve all albums from specified artist or genre<br /> | Retrieve all albums from specified artist or genre<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 409: | Line 408: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | # [ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | ||
#[ ''[[#Library.Id|Library.Id]]'' genreid = -1 ] | # [ ''[[#Library.Id|Library.Id]]'' genreid = -1 ] | ||
#[ ''[[#Audio.Fields.Album|Audio.Fields.Album]]'' properties ] | # [ ''[[#Audio.Fields.Album|Audio.Fields.Album]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 419: | Line 418: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Audio.Details.Album|Audio.Details.Album]]''[] albums ] | * [ ''[[#Audio.Details.Album|Audio.Details.Album]]''[] albums ] | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 466: | Line 465: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.GetArtistDetails==== | ==== AudioLibrary.GetArtistDetails ==== | ||
Retrieve details about a specific artist<br /> | Retrieve details about a specific artist<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 472: | Line 471: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Library.Id|Library.Id]]'' artistid | # ''[[#Library.Id|Library.Id]]'' artistid | ||
#[ ''[[#Audio.Fields.Artist|Audio.Fields.Artist]]'' properties ] | # [ ''[[#Audio.Fields.Artist|Audio.Fields.Artist]]'' properties ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 479: | Line 478: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Audio.Details.Artist|Audio.Details.Artist]]'' artistdetails ] | * [ ''[[#Audio.Details.Artist|Audio.Details.Artist]]'' artistdetails ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 505: | Line 504: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.GetArtists==== | ==== AudioLibrary.GetArtists ==== | ||
Retrieve all artists<br /> | Retrieve all artists<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 511: | Line 510: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Optional.Boolean|Optional.Boolean]]'' albumartistsonly = null ] | # [ ''[[#Optional.Boolean|Optional.Boolean]]'' albumartistsonly = null ] | ||
#[ ''[[#Library.Id|Library.Id]]'' genreid = -1 ] | # [ ''[[#Library.Id|Library.Id]]'' genreid = -1 ] | ||
#[ ''[[#Audio.Fields.Artist|Audio.Fields.Artist]]'' properties ] | # [ ''[[#Audio.Fields.Artist|Audio.Fields.Artist]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 521: | Line 520: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
*[ ''[[#Audio.Details.Artist|Audio.Details.Artist]]''[] artists ] | * [ ''[[#Audio.Details.Artist|Audio.Details.Artist]]''[] artists ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 569: | Line 568: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.GetGenres==== | ==== AudioLibrary.GetGenres ==== | ||
Retrieve all genres<br /> | Retrieve all genres<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 575: | Line 574: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Library.Fields.Genre|Library.Fields.Genre]]'' properties ] | # [ ''[[#Library.Fields.Genre|Library.Fields.Genre]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 583: | Line 582: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#Library.Details.Genre|Library.Details.Genre]]''[] genres | * ''[[#Library.Details.Genre|Library.Details.Genre]]''[] genres | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 621: | Line 620: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.GetRecentlyAddedAlbums==== | ==== AudioLibrary.GetRecentlyAddedAlbums ==== | ||
Retrieve recently added albums<br /> | Retrieve recently added albums<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 627: | Line 626: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Audio.Fields.Album|Audio.Fields.Album]]'' properties ] | # [ ''[[#Audio.Fields.Album|Audio.Fields.Album]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 635: | Line 634: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Audio.Details.Album|Audio.Details.Album]]''[] albums ] | * [ ''[[#Audio.Details.Album|Audio.Details.Album]]''[] albums ] | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 672: | Line 671: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.GetRecentlyAddedSongs==== | ==== AudioLibrary.GetRecentlyAddedSongs ==== | ||
Retrieve recently added songs<br /> | Retrieve recently added songs<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 678: | Line 677: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#List.Amount|List.Amount]]'' albumlimit = -1 ] | # [ ''[[#List.Amount|List.Amount]]'' albumlimit = -1 ] | ||
#[ ''[[#Audio.Fields.Song|Audio.Fields.Song]]'' properties ] | # [ ''[[#Audio.Fields.Song|Audio.Fields.Song]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 687: | Line 686: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
*[ ''[[#Audio.Details.Song|Audio.Details.Song]]''[] songs ] | * [ ''[[#Audio.Details.Song|Audio.Details.Song]]''[] songs ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 730: | Line 729: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.GetSongDetails==== | ==== AudioLibrary.GetSongDetails ==== | ||
Retrieve details about a specific song<br /> | Retrieve details about a specific song<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 736: | Line 735: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Library.Id|Library.Id]]'' songid | # ''[[#Library.Id|Library.Id]]'' songid | ||
#[ ''[[#Audio.Fields.Song|Audio.Fields.Song]]'' properties ] | # [ ''[[#Audio.Fields.Song|Audio.Fields.Song]]'' properties ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 743: | Line 742: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Audio.Details.Song|Audio.Details.Song]]'' songdetails ] | * [ ''[[#Audio.Details.Song|Audio.Details.Song]]'' songdetails ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 769: | Line 768: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.GetSongs==== | ==== AudioLibrary.GetSongs ==== | ||
Retrieve all songs from specified album, artist or genre<br /> | Retrieve all songs from specified album, artist or genre<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 775: | Line 774: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | # [ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | ||
#[ ''[[#Library.Id|Library.Id]]'' albumid = -1 ] | # [ ''[[#Library.Id|Library.Id]]'' albumid = -1 ] | ||
#[ ''[[#Library.Id|Library.Id]]'' genreid = -1 ] | # [ ''[[#Library.Id|Library.Id]]'' genreid = -1 ] | ||
#[ ''[[#Audio.Fields.Song|Audio.Fields.Song]]'' properties ] | # [ ''[[#Audio.Fields.Song|Audio.Fields.Song]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 786: | Line 785: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
*[ ''[[#Audio.Details.Song|Audio.Details.Song]]''[] songs ] | * [ ''[[#Audio.Details.Song|Audio.Details.Song]]''[] songs ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 838: | Line 837: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.Scan==== | ==== AudioLibrary.Scan ==== | ||
Scans the audio sources for new library items<br /> | Scans the audio sources for new library items<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 845: | Line 844: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 853: | Line 852: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Files=== | === Files === | ||
====Files.Download==== | ==== Files.Download ==== | ||
Provides a way to download a given file (e.g. providing an URL to the real file location)<br /> | Provides a way to download a given file (e.g. providing an URL to the real file location)<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 860: | Line 859: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' path | # ''string'' path | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 866: | Line 865: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''string'' path | * ''string'' path | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 889: | Line 888: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Files.GetDirectory==== | ==== Files.GetDirectory ==== | ||
Get the directories and files in the given directory<br /> | Get the directories and files in the given directory<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 895: | Line 894: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' directory | # ''string'' directory | ||
#[ ''[[#Files.Media|Files.Media]]'' media = "files" ] | # [ ''[[#Files.Media|Files.Media]]'' media = "files" ] | ||
#[ ''[[#List.Fields.All|List.Fields.All]]'' properties ] | # [ ''[[#List.Fields.All|List.Fields.All]]'' properties ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 904: | Line 903: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#List.Item.File|List.Item.File]]''[] files | * ''[[#List.Item.File|List.Item.File]]''[] files | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 948: | Line 947: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Files.GetSources==== | ==== Files.GetSources ==== | ||
Get the sources of the media windows<br /> | Get the sources of the media windows<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 954: | Line 953: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Files.Media|Files.Media]]'' media | # ''[[#Files.Media|Files.Media]]'' media | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 962: | Line 961: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#List.Items.Sources|List.Items.Sources]]'' sources | * ''[[#List.Items.Sources|List.Items.Sources]]'' sources | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 998: | Line 997: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Input=== | === Input === | ||
====Input.Back==== | ==== Input.Back ==== | ||
Goes back in GUI<br /> | Goes back in GUI<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,006: | Line 1,005: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,014: | Line 1,013: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Input.Down==== | ==== Input.Down ==== | ||
Navigate down in GUI<br /> | Navigate down in GUI<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,021: | Line 1,020: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,029: | Line 1,028: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Input.Home==== | ==== Input.Home ==== | ||
Goes to home window in GUI<br /> | Goes to home window in GUI<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,036: | Line 1,035: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,044: | Line 1,043: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Input.Left==== | ==== Input.Left ==== | ||
Navigate left in GUI<br /> | Navigate left in GUI<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,051: | Line 1,050: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,059: | Line 1,058: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Input.Right==== | ==== Input.Right ==== | ||
Navigate right in GUI<br /> | Navigate right in GUI<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,066: | Line 1,065: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,074: | Line 1,073: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Input.Select==== | ==== Input.Select ==== | ||
Select current item in GUI<br /> | Select current item in GUI<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,081: | Line 1,080: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,089: | Line 1,088: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Input.Up==== | ==== Input.Up ==== | ||
Navigate up in GUI<br /> | Navigate up in GUI<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,096: | Line 1,095: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,104: | Line 1,103: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===JSONRPC=== | === JSONRPC === | ||
====JSONRPC.Introspect==== | ==== JSONRPC.Introspect ==== | ||
Enumerates all actions and descriptions<br /> | Enumerates all actions and descriptions<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,111: | Line 1,110: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''boolean'' getdescriptions = True ] | # [ ''boolean'' getdescriptions = True ] | ||
#[ ''boolean'' getmetadata = False ] | # [ ''boolean'' getmetadata = False ] | ||
#[ ''boolean'' filterbytransport = True ] | # [ ''boolean'' filterbytransport = True ] | ||
#[ ''object'' filter ]<br /> | # [ ''object'' filter ]<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''string'' type | * ''string'' type | ||
*''string'' id | * ''string'' id | ||
*[ ''boolean'' getreferences = True ] | * [ ''boolean'' getreferences = True ] | ||
</div> | </div> | ||
Line 1,125: | Line 1,124: | ||
'''Type:''' ''object'' | '''Type:''' ''object'' | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object" | "type": "object" | ||
Line 1,176: | Line 1,175: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====JSONRPC.NotifyAll==== | ==== JSONRPC.NotifyAll ==== | ||
Notify all other connected clients<br /> | Notify all other connected clients<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,182: | Line 1,181: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''string'' message | # ''string'' message | ||
#[ ''any'' data = null ] | # [ ''any'' data = null ] | ||
</div> | </div> | ||
'''Returns:''' ''any'' | '''Returns:''' ''any'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "any" | "type": "any" | ||
Line 1,211: | Line 1,210: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====JSONRPC.Permission==== | ==== JSONRPC.Permission ==== | ||
Retrieve the clients permissions<br /> | Retrieve the clients permissions<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,221: | Line 1,220: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''boolean'' navigate | * ''boolean'' navigate | ||
*''boolean'' removedata | * ''boolean'' removedata | ||
*''boolean'' controlplayback | * ''boolean'' controlplayback | ||
*''boolean'' readdata | * ''boolean'' readdata | ||
*''boolean'' updatedata | * ''boolean'' updatedata | ||
*''boolean'' writefile | * ''boolean'' writefile | ||
*''boolean'' controlnotify | * ''boolean'' controlnotify | ||
*''boolean'' controlpower | * ''boolean'' controlpower | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 1,273: | Line 1,272: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====JSONRPC.Ping==== | ==== JSONRPC.Ping ==== | ||
Ping responder<br /> | Ping responder<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,280: | Line 1,279: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,288: | Line 1,287: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====JSONRPC.Version==== | ==== JSONRPC.Version ==== | ||
Retrieve the jsonrpc protocol version<br /> | Retrieve the jsonrpc protocol version<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,295: | Line 1,294: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,303: | Line 1,302: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Player=== | === Player === | ||
====Player.GetActivePlayers==== | ==== Player.GetActivePlayers ==== | ||
Returns all active players<br /> | Returns all active players<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,314: | Line 1,313: | ||
'''Type:''' ''array'' | '''Type:''' ''array'' | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"uniqueItems": true, | "uniqueItems": true, | ||
Line 1,336: | Line 1,335: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.GetItem==== | ==== Player.GetItem ==== | ||
Retrieves the currently played item<br /> | Retrieves the currently played item<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,342: | Line 1,341: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
#[ ''[[#List.Fields.All|List.Fields.All]]'' properties ] | # [ ''[[#List.Fields.All|List.Fields.All]]'' properties ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 1,349: | Line 1,348: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#List.Item.All|List.Item.All]]'' item | * ''[[#List.Item.All|List.Item.All]]'' item | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 1,376: | Line 1,375: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.GetProperties==== | ==== Player.GetProperties ==== | ||
Retrieves the values of the given properties<br /> | Retrieves the values of the given properties<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,382: | Line 1,381: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
#''[[#Player.Property.Name|Player.Property.Name]]''[] properties | # ''[[#Player.Property.Name|Player.Property.Name]]''[] properties | ||
</div> | </div> | ||
'''Returns:''' ''[[#Player.Property.Value|Player.Property.Value]]'' | '''Returns:''' ''[[#Player.Property.Value|Player.Property.Value]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"$ref": "Player.Property.Value" | "$ref": "Player.Property.Value" | ||
Line 1,409: | Line 1,408: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.GoNext==== | ==== Player.GoNext ==== | ||
Go to next item on the playlist<br /> | Go to next item on the playlist<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,415: | Line 1,414: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,432: | Line 1,431: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.GoPrevious==== | ==== Player.GoPrevious ==== | ||
Go to previous item on the playlist<br /> | Go to previous item on the playlist<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,438: | Line 1,437: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,455: | Line 1,454: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.GoTo==== | ==== Player.GoTo ==== | ||
Go to item at the given position in the playlist<br /> | Go to item at the given position in the playlist<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,461: | Line 1,460: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
#''[[#Playlist.Position|Playlist.Position]]'' position | # ''[[#Playlist.Position|Playlist.Position]]'' position | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,484: | Line 1,483: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.MoveDown==== | ==== Player.MoveDown ==== | ||
If picture is zoomed move viewport down<br /> | If picture is zoomed move viewport down<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,490: | Line 1,489: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,507: | Line 1,506: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.MoveLeft==== | ==== Player.MoveLeft ==== | ||
If picture is zoomed move viewport left otherwise skip previous<br /> | If picture is zoomed move viewport left otherwise skip previous<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,513: | Line 1,512: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,530: | Line 1,529: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.MoveRight==== | ==== Player.MoveRight ==== | ||
If picture is zoomed move viewport right otherwise skip next<br /> | If picture is zoomed move viewport right otherwise skip next<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,536: | Line 1,535: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,553: | Line 1,552: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.MoveUp==== | ==== Player.MoveUp ==== | ||
If picture is zoomed move viewport up<br /> | If picture is zoomed move viewport up<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,559: | Line 1,558: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,576: | Line 1,575: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Open==== | ==== Player.Open ==== | ||
Start playback of either the playlist with the given ID, a slideshow with the pictures from the given directory or a single file or an item from the database.<br /> | Start playback of either the playlist with the given ID, a slideshow with the pictures from the given directory or a single file or an item from the database.<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,582: | Line 1,581: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''mixed'' item ] | # [ ''mixed'' item ] | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,634: | Line 1,633: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.PlayPause==== | ==== Player.PlayPause ==== | ||
Pauses or unpause playback and returns the new state<br /> | Pauses or unpause playback and returns the new state<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,640: | Line 1,639: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''[[#Player.Speed|Player.Speed]]'' | '''Returns:''' ''[[#Player.Speed|Player.Speed]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"$ref": "Player.Speed" | "$ref": "Player.Speed" | ||
Line 1,657: | Line 1,656: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Repeat==== | ==== Player.Repeat ==== | ||
Set the repeat mode of the player<br /> | Set the repeat mode of the player<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,663: | Line 1,662: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
#''[[#Player.Repeat|Player.Repeat]]'' state | # ''[[#Player.Repeat|Player.Repeat]]'' state | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,686: | Line 1,685: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Rotate==== | ==== Player.Rotate ==== | ||
Rotates current picture<br /> | Rotates current picture<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,692: | Line 1,691: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,709: | Line 1,708: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Seek==== | ==== Player.Seek ==== | ||
Seek through the playing item<br /> | Seek through the playing item<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,715: | Line 1,714: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
#''mixed'' value | # ''mixed'' value | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 1,722: | Line 1,721: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Global.Time|Global.Time]]'' totaltime ] | * [ ''[[#Global.Time|Global.Time]]'' totaltime ] | ||
*[ ''[[#Player.Position.Percentage|Player.Position.Percentage]]'' percentage = 0 ] | * [ ''[[#Player.Position.Percentage|Player.Position.Percentage]]'' percentage = 0 ] | ||
*[ ''[[#Global.Time|Global.Time]]'' time ] | * [ ''[[#Global.Time|Global.Time]]'' time ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 1,804: | Line 1,803: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.SetAudioStream==== | ==== Player.SetAudioStream ==== | ||
Set the audio stream played by the player<br /> | Set the audio stream played by the player<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,810: | Line 1,809: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
#''mixed'' stream | # ''mixed'' stream | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,846: | Line 1,845: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.SetSpeed==== | ==== Player.SetSpeed ==== | ||
Set the speed of the current playback<br /> | Set the speed of the current playback<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,852: | Line 1,851: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
#''mixed'' speed | # ''mixed'' speed | ||
</div> | </div> | ||
'''Returns:''' ''[[#Player.Speed|Player.Speed]]'' | '''Returns:''' ''[[#Player.Speed|Player.Speed]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"$ref": "Player.Speed" | "$ref": "Player.Speed" | ||
Line 1,900: | Line 1,899: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.SetSubtitle==== | ==== Player.SetSubtitle ==== | ||
Set the subtitle displayed by the player<br /> | Set the subtitle displayed by the player<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,906: | Line 1,905: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
#''mixed'' subtitle | # ''mixed'' subtitle | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,944: | Line 1,943: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Shuffle==== | ==== Player.Shuffle ==== | ||
Shuffle items in the player<br /> | Shuffle items in the player<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,950: | Line 1,949: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,967: | Line 1,966: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Stop==== | ==== Player.Stop ==== | ||
Stops playback<br /> | Stops playback<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,973: | Line 1,972: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 1,990: | Line 1,989: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.UnShuffle==== | ==== Player.UnShuffle ==== | ||
Unshuffle items in the player<br /> | Unshuffle items in the player<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 1,996: | Line 1,995: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,013: | Line 2,012: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Zoom==== | ==== Player.Zoom ==== | ||
Zooms current picture<br /> | Zooms current picture<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,019: | Line 2,018: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
#''integer'' value | # ''integer'' value | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,045: | Line 2,044: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.ZoomIn==== | ==== Player.ZoomIn ==== | ||
Zoom in once<br /> | Zoom in once<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,051: | Line 2,050: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,068: | Line 2,067: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.ZoomOut==== | ==== Player.ZoomOut ==== | ||
Zoom out once<br /> | Zoom out once<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,074: | Line 2,073: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Player.Id|Player.Id]]'' playerid | # ''[[#Player.Id|Player.Id]]'' playerid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,091: | Line 2,090: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Playlist=== | === Playlist === | ||
====Playlist.Add==== | ==== Playlist.Add ==== | ||
Add item(s) to playlist<br /> | Add item(s) to playlist<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,098: | Line 2,097: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Playlist.Id|Playlist.Id]]'' playlistid | # ''[[#Playlist.Id|Playlist.Id]]'' playlistid | ||
#''[[#Playlist.Item|Playlist.Item]]'' item | # ''[[#Playlist.Item|Playlist.Item]]'' item | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,121: | Line 2,120: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.Clear==== | ==== Playlist.Clear ==== | ||
Clear playlist<br /> | Clear playlist<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,127: | Line 2,126: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Playlist.Id|Playlist.Id]]'' playlistid | # ''[[#Playlist.Id|Playlist.Id]]'' playlistid | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,144: | Line 2,143: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.GetItems==== | ==== Playlist.GetItems ==== | ||
Get all items from playlist<br /> | Get all items from playlist<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,150: | Line 2,149: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Playlist.Id|Playlist.Id]]'' playlistid | # ''[[#Playlist.Id|Playlist.Id]]'' playlistid | ||
#[ ''[[#List.Fields.All|List.Fields.All]]'' properties ] | # [ ''[[#List.Fields.All|List.Fields.All]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 2,159: | Line 2,158: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#List.Item.All|List.Item.All]]''[] items | * ''[[#List.Item.All|List.Item.All]]''[] items | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,202: | Line 2,201: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.GetPlaylists==== | ==== Playlist.GetPlaylists ==== | ||
Returns all existing playlists<br /> | Returns all existing playlists<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,212: | Line 2,211: | ||
'''Type:''' ''array'' | '''Type:''' ''array'' | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"uniqueItems": true, | "uniqueItems": true, | ||
Line 2,234: | Line 2,233: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.GetProperties==== | ==== Playlist.GetProperties ==== | ||
Retrieves the values of the given properties<br /> | Retrieves the values of the given properties<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,240: | Line 2,239: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Playlist.Id|Playlist.Id]]'' playlistid | # ''[[#Playlist.Id|Playlist.Id]]'' playlistid | ||
#''[[#Playlist.Property.Name|Playlist.Property.Name]]''[] properties | # ''[[#Playlist.Property.Name|Playlist.Property.Name]]''[] properties | ||
</div> | </div> | ||
'''Returns:''' ''[[#Playlist.Property.Value|Playlist.Property.Value]]'' | '''Returns:''' ''[[#Playlist.Property.Value|Playlist.Property.Value]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"$ref": "Playlist.Property.Value" | "$ref": "Playlist.Property.Value" | ||
Line 2,267: | Line 2,266: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.Insert==== | ==== Playlist.Insert ==== | ||
Insert item(s) into playlist. Does not work for picture playlists (aka slideshows).<br /> | Insert item(s) into playlist. Does not work for picture playlists (aka slideshows).<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,273: | Line 2,272: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Playlist.Id|Playlist.Id]]'' playlistid | # ''[[#Playlist.Id|Playlist.Id]]'' playlistid | ||
#''[[#Playlist.Position|Playlist.Position]]'' position | # ''[[#Playlist.Position|Playlist.Position]]'' position | ||
#''[[#Playlist.Item|Playlist.Item]]'' item | # ''[[#Playlist.Item|Playlist.Item]]'' item | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,302: | Line 2,301: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.Remove==== | ==== Playlist.Remove ==== | ||
Remove item from playlist. Does not work for picture playlists (aka slideshows).<br /> | Remove item from playlist. Does not work for picture playlists (aka slideshows).<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,308: | Line 2,307: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Playlist.Id|Playlist.Id]]'' playlistid | # ''[[#Playlist.Id|Playlist.Id]]'' playlistid | ||
#''[[#Playlist.Position|Playlist.Position]]'' position | # ''[[#Playlist.Position|Playlist.Position]]'' position | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,331: | Line 2,330: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.Swap==== | ==== Playlist.Swap ==== | ||
Swap items in the playlist. Does not work for picture playlists (aka slideshows).<br /> | Swap items in the playlist. Does not work for picture playlists (aka slideshows).<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,337: | Line 2,336: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Playlist.Id|Playlist.Id]]'' playlistid | # ''[[#Playlist.Id|Playlist.Id]]'' playlistid | ||
#''[[#Playlist.Position|Playlist.Position]]'' position1 | # ''[[#Playlist.Position|Playlist.Position]]'' position1 | ||
#''[[#Playlist.Position|Playlist.Position]]'' position2 | # ''[[#Playlist.Position|Playlist.Position]]'' position2 | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,366: | Line 2,365: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===System=== | === System === | ||
====System.GetProperties==== | ==== System.GetProperties ==== | ||
Retrieves the values of the given properties<br /> | Retrieves the values of the given properties<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,373: | Line 2,372: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#System.Property.Name|System.Property.Name]]''[] properties | # ''[[#System.Property.Name|System.Property.Name]]''[] properties | ||
</div> | </div> | ||
'''Returns:''' ''[[#System.Property.Value|System.Property.Value]]'' | '''Returns:''' ''[[#System.Property.Value|System.Property.Value]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"$ref": "System.Property.Value" | "$ref": "System.Property.Value" | ||
Line 2,394: | Line 2,393: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====System.Hibernate==== | ==== System.Hibernate ==== | ||
Puts the system running XBMC into hibernate mode<br /> | Puts the system running XBMC into hibernate mode<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,401: | Line 2,400: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"params": [], | "params": [], | ||
"description": "Puts the system running | "description": "Puts the system running Kodi into hibernate mode" | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====System.Reboot==== | ==== System.Reboot ==== | ||
Reboots the system running XBMC<br /> | Reboots the system running XBMC<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,416: | Line 2,415: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,424: | Line 2,423: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====System.Shutdown==== | ==== System.Shutdown ==== | ||
Shuts the system running XBMC down<br /> | Shuts the system running XBMC down<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,431: | Line 2,430: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"params": [], | "params": [], | ||
"description": "Shuts the system running | "description": "Shuts the system running Kodi down" | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====System.Suspend==== | ==== System.Suspend ==== | ||
Suspends the system running XBMC<br /> | Suspends the system running XBMC<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,446: | Line 2,445: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,454: | Line 2,453: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===VideoLibrary=== | === VideoLibrary === | ||
====VideoLibrary.Clean==== | ==== VideoLibrary.Clean ==== | ||
Cleans the video library from non-existent items<br /> | Cleans the video library from non-existent items<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,462: | Line 2,461: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,470: | Line 2,469: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.Export==== | ==== VideoLibrary.Export ==== | ||
Exports all items from the video library<br /> | Exports all items from the video library<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,476: | Line 2,475: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''mixed'' options ] | # [ ''mixed'' options ] | ||
</div> | </div> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 2,526: | Line 2,525: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetEpisodeDetails==== | ==== VideoLibrary.GetEpisodeDetails ==== | ||
Retrieve details about a specific tv show episode<br /> | Retrieve details about a specific tv show episode<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,532: | Line 2,531: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Library.Id|Library.Id]]'' episodeid | # ''[[#Library.Id|Library.Id]]'' episodeid | ||
#[ ''[[#Video.Fields.Episode|Video.Fields.Episode]]'' properties ] | # [ ''[[#Video.Fields.Episode|Video.Fields.Episode]]'' properties ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 2,539: | Line 2,538: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.Episode|Video.Details.Episode]]'' episodedetails ] | * [ ''[[#Video.Details.Episode|Video.Details.Episode]]'' episodedetails ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,565: | Line 2,564: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetEpisodes==== | ==== VideoLibrary.GetEpisodes ==== | ||
Retrieve all tv show episodes<br /> | Retrieve all tv show episodes<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,571: | Line 2,570: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ] | # [ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ] | ||
#[ ''integer'' season = -1 ] | # [ ''integer'' season = -1 ] | ||
#[ ''[[#Video.Fields.Episode|Video.Fields.Episode]]'' properties ] | # [ ''[[#Video.Fields.Episode|Video.Fields.Episode]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 2,581: | Line 2,580: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.Episode|Video.Details.Episode]]''[] episodes ] | * [ ''[[#Video.Details.Episode|Video.Details.Episode]]''[] episodes ] | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,629: | Line 2,628: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetGenres==== | ==== VideoLibrary.GetGenres ==== | ||
Retrieve all genres<br /> | Retrieve all genres<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,635: | Line 2,634: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' type | # ''string'' type | ||
#[ ''[[#Library.Fields.Genre|Library.Fields.Genre]]'' properties ] | # [ ''[[#Library.Fields.Genre|Library.Fields.Genre]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 2,644: | Line 2,643: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#Library.Details.Genre|Library.Details.Genre]]''[] genres | * ''[[#Library.Details.Genre|Library.Details.Genre]]''[] genres | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,692: | Line 2,691: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetMovieDetails==== | ==== VideoLibrary.GetMovieDetails ==== | ||
Retrieve details about a specific movie<br /> | Retrieve details about a specific movie<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,698: | Line 2,697: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Library.Id|Library.Id]]'' movieid | # ''[[#Library.Id|Library.Id]]'' movieid | ||
#[ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ] | # [ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 2,705: | Line 2,704: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.Movie|Video.Details.Movie]]'' moviedetails ] | * [ ''[[#Video.Details.Movie|Video.Details.Movie]]'' moviedetails ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,731: | Line 2,730: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetMovieSetDetails==== | ==== VideoLibrary.GetMovieSetDetails ==== | ||
Retrieve details about a specific movie set<br /> | Retrieve details about a specific movie set<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,737: | Line 2,736: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Library.Id|Library.Id]]'' setid | # ''[[#Library.Id|Library.Id]]'' setid | ||
#[ ''[[#Video.Fields.MovieSet|Video.Fields.MovieSet]]'' properties ] | # [ ''[[#Video.Fields.MovieSet|Video.Fields.MovieSet]]'' properties ] | ||
#[ ''object'' movies ]<br /> | # [ ''object'' movies ]<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#List.Sort|List.Sort]]'' sort ] | * [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
*[ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ] | * [ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ] | ||
*[ ''[[#List.Limits|List.Limits]]'' limits ] | * [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
</div> | </div> | ||
Line 2,750: | Line 2,749: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.MovieSet.Extended|Video.Details.MovieSet.Extended]]'' setdetails ] | * [ ''[[#Video.Details.MovieSet.Extended|Video.Details.MovieSet.Extended]]'' setdetails ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,791: | Line 2,790: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetMovieSets==== | ==== VideoLibrary.GetMovieSets ==== | ||
Retrieve all movie sets<br /> | Retrieve all movie sets<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,797: | Line 2,796: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Video.Fields.MovieSet|Video.Fields.MovieSet]]'' properties ] | # [ ''[[#Video.Fields.MovieSet|Video.Fields.MovieSet]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 2,805: | Line 2,804: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
*[ ''[[#Video.Details.MovieSet|Video.Details.MovieSet]]''[] sets ] | * [ ''[[#Video.Details.MovieSet|Video.Details.MovieSet]]''[] sets ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,842: | Line 2,841: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetMovies==== | ==== VideoLibrary.GetMovies ==== | ||
Retrieve all movies<br /> | Retrieve all movies<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,848: | Line 2,847: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ] | # [ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 2,856: | Line 2,855: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ] | * [ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ] | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,893: | Line 2,892: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetMusicVideoDetails==== | ==== VideoLibrary.GetMusicVideoDetails ==== | ||
Retrieve details about a specific music video<br /> | Retrieve details about a specific music video<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,899: | Line 2,898: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Library.Id|Library.Id]]'' musicvideoid | # ''[[#Library.Id|Library.Id]]'' musicvideoid | ||
#[ ''[[#Video.Fields.MusicVideo|Video.Fields.MusicVideo]]'' properties ] | # [ ''[[#Video.Fields.MusicVideo|Video.Fields.MusicVideo]]'' properties ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 2,906: | Line 2,905: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]'' musicvideodetails ] | * [ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]'' musicvideodetails ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,932: | Line 2,931: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetMusicVideos==== | ==== VideoLibrary.GetMusicVideos ==== | ||
Retrieve all music videos<br /> | Retrieve all music videos<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 2,938: | Line 2,937: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | # [ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | ||
#[ ''[[#Library.Id|Library.Id]]'' albumid = -1 ] | # [ ''[[#Library.Id|Library.Id]]'' albumid = -1 ] | ||
#[ ''[[#Video.Fields.MusicVideo|Video.Fields.MusicVideo]]'' properties ] | # [ ''[[#Video.Fields.MusicVideo|Video.Fields.MusicVideo]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 2,948: | Line 2,947: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]''[] musicvideos ] | * [ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]''[] musicvideos ] | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 2,995: | Line 2,994: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetRecentlyAddedEpisodes==== | ==== VideoLibrary.GetRecentlyAddedEpisodes ==== | ||
Retrieve all recently added tv episodes<br /> | Retrieve all recently added tv episodes<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 3,001: | Line 3,000: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Video.Fields.Episode|Video.Fields.Episode]]'' properties ] | # [ ''[[#Video.Fields.Episode|Video.Fields.Episode]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 3,009: | Line 3,008: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.Episode|Video.Details.Episode]]''[] episodes ] | * [ ''[[#Video.Details.Episode|Video.Details.Episode]]''[] episodes ] | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 3,046: | Line 3,045: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetRecentlyAddedMovies==== | ==== VideoLibrary.GetRecentlyAddedMovies ==== | ||
Retrieve all recently added movies<br /> | Retrieve all recently added movies<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 3,052: | Line 3,051: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ] | # [ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 3,060: | Line 3,059: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ] | * [ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ] | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 3,097: | Line 3,096: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetRecentlyAddedMusicVideos==== | ==== VideoLibrary.GetRecentlyAddedMusicVideos ==== | ||
Retrieve all recently added music videos<br /> | Retrieve all recently added music videos<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 3,103: | Line 3,102: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Video.Fields.MusicVideo|Video.Fields.MusicVideo]]'' properties ] | # [ ''[[#Video.Fields.MusicVideo|Video.Fields.MusicVideo]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 3,111: | Line 3,110: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]''[] musicvideos ] | * [ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]''[] musicvideos ] | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 3,148: | Line 3,147: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetSeasons==== | ==== VideoLibrary.GetSeasons ==== | ||
Retrieve all tv seasons<br /> | Retrieve all tv seasons<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 3,154: | Line 3,153: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Library.Id|Library.Id]]'' tvshowid | # ''[[#Library.Id|Library.Id]]'' tvshowid | ||
#[ ''[[#Video.Fields.Season|Video.Fields.Season]]'' properties ] | # [ ''[[#Video.Fields.Season|Video.Fields.Season]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 3,163: | Line 3,162: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.Season|Video.Details.Season]]''[] seasons ] | * [ ''[[#Video.Details.Season|Video.Details.Season]]''[] seasons ] | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 3,205: | Line 3,204: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetTVShowDetails==== | ==== VideoLibrary.GetTVShowDetails ==== | ||
Retrieve details about a specific tv show<br /> | Retrieve details about a specific tv show<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 3,211: | Line 3,210: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''[[#Library.Id|Library.Id]]'' tvshowid | # ''[[#Library.Id|Library.Id]]'' tvshowid | ||
#[ ''[[#Video.Fields.TVShow|Video.Fields.TVShow]]'' properties ] | # [ ''[[#Video.Fields.TVShow|Video.Fields.TVShow]]'' properties ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 3,218: | Line 3,217: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.TVShow|Video.Details.TVShow]]'' tvshowdetails ] | * [ ''[[#Video.Details.TVShow|Video.Details.TVShow]]'' tvshowdetails ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 3,244: | Line 3,243: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.GetTVShows==== | ==== VideoLibrary.GetTVShows ==== | ||
Retrieve all tv shows<br /> | Retrieve all tv shows<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 3,250: | Line 3,249: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#[ ''[[#Video.Fields.TVShow|Video.Fields.TVShow]]'' properties ] | # [ ''[[#Video.Fields.TVShow|Video.Fields.TVShow]]'' properties ] | ||
#[ ''[[#List.Limits|List.Limits]]'' limits ] | # [ ''[[#List.Limits|List.Limits]]'' limits ] | ||
#[ ''[[#List.Sort|List.Sort]]'' sort ] | # [ ''[[#List.Sort|List.Sort]]'' sort ] | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 3,258: | Line 3,257: | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | * ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits | ||
*[ ''[[#Video.Details.TVShow|Video.Details.TVShow]]''[] tvshows ] | * [ ''[[#Video.Details.TVShow|Video.Details.TVShow]]''[] tvshows ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 3,295: | Line 3,294: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.Scan==== | ==== VideoLibrary.Scan ==== | ||
Scans the video sources for new library items<br /> | Scans the video sources for new library items<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 3,302: | Line 3,301: | ||
<br /> | <br /> | ||
'''Returns:''' ''string'' | '''Returns:''' ''string'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "string" | "type": "string" | ||
Line 3,310: | Line 3,309: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===XBMC=== | === XBMC === | ||
====XBMC.GetInfoBooleans==== | ==== XBMC.GetInfoBooleans ==== | ||
Retrieve info booleans about XBMC and the system<br /> | Retrieve info booleans about XBMC and the system<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 3,317: | Line 3,316: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''array''[1..X] booleans | # ''array''[1..X] booleans | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 3,323: | Line 3,322: | ||
'''Type:''' ''object'' | '''Type:''' ''object'' | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 3,339: | Line 3,338: | ||
} | } | ||
], | ], | ||
"description": "Retrieve info booleans about | "description": "Retrieve info booleans about Kodi and the system" | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====XBMC.GetInfoLabels==== | ==== XBMC.GetInfoLabels ==== | ||
Retrieve info labels about XBMC and the system<br /> | Retrieve info labels about XBMC and the system<br /> | ||
'''Permissions:''' | '''Permissions:''' | ||
Line 3,348: | Line 3,347: | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''array''[1..X] labels | # ''array''[1..X] labels | ||
</div> | </div> | ||
'''Returns:''' | '''Returns:''' | ||
Line 3,354: | Line 3,353: | ||
'''Type:''' ''object'' | '''Type:''' ''object'' | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"returns": { | "returns": { | ||
"type": "object", | "type": "object", | ||
Line 3,371: | Line 3,370: | ||
} | } | ||
], | ], | ||
"description": "Retrieve info labels about | "description": "Retrieve info labels about Kodi and the system" | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
==Global types== | == Global types == | ||
===Application=== | === Application === | ||
====Application.Property.Name==== | ==== Application.Property.Name ==== | ||
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": "volume", | "default": "volume", | ||
"enums": [ | "enums": [ | ||
Line 3,390: | Line 3,389: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Application.Property.Value==== | ==== Application.Property.Value ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''boolean'' muted = False ] | * [ ''boolean'' muted = False ] | ||
*[ ''integer'' volume = 0 ] | * [ ''integer'' volume = 0 ] | ||
*[ ''object'' version ]<br /> | * [ ''object'' version ]<br /> | ||
'''Properties:''' | '''Properties:''' | ||
**''integer'' major | ** ''integer'' major | ||
**''string'' tag | ** ''string'' tag | ||
**''integer'' minor | ** ''integer'' minor | ||
**[ ''mixed'' revision = null ] | ** [ ''mixed'' revision = null ] | ||
*[ ''string'' name = "" ] | * [ ''string'' name = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "Application.Property.Value", | "id": "Application.Property.Value", | ||
Line 3,461: | Line 3,460: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Array=== | === Array === | ||
====Array.Integer==== | ==== Array.Integer ==== | ||
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"type": "integer" | "type": "integer" | ||
Line 3,471: | Line 3,470: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Array.String==== | ==== Array.String ==== | ||
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"minLength": 1, | "minLength": 1, | ||
Line 3,481: | Line 3,480: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Audio=== | === Audio === | ||
====Audio.Details.Album==== | ==== Audio.Details.Album ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Audio.Details.Media|Audio.Details.Media]]'' | * ''[[#Audio.Details.Media|Audio.Details.Media]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' style = "" ] | * [ ''string'' style = "" ] | ||
*[ ''string'' mood = "" ] | * [ ''string'' mood = "" ] | ||
*[ ''string'' albumlabel = "" ] | * [ ''string'' albumlabel = "" ] | ||
*[ ''string'' theme = "" ] | * [ ''string'' theme = "" ] | ||
*''[[#Library.Id|Library.Id]]'' albumid | * ''[[#Library.Id|Library.Id]]'' albumid | ||
*[ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | * [ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | ||
*[ ''string'' type = "" ] | * [ ''string'' type = "" ] | ||
*[ ''string'' description = "" ] | * [ ''string'' description = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Audio.Details.Media", | "extends": "Audio.Details.Media", | ||
"id": "Audio.Details.Album", | "id": "Audio.Details.Album", | ||
Line 3,534: | Line 3,533: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Audio.Details.Artist==== | ==== Audio.Details.Artist ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Audio.Details.Base|Audio.Details.Base]]'' | * ''[[#Audio.Details.Base|Audio.Details.Base]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' style = "" ] | * [ ''string'' style = "" ] | ||
*[ ''string'' description = "" ] | * [ ''string'' description = "" ] | ||
*[ ''string'' musicbrainzartistid = "" ] | * [ ''string'' musicbrainzartistid = "" ] | ||
*''string'' artist | * ''string'' artist | ||
*[ ''string'' formed = "" ] | * [ ''string'' formed = "" ] | ||
*[ ''string'' disbanded = "" ] | * [ ''string'' disbanded = "" ] | ||
*[ ''string'' born = "" ] | * [ ''string'' born = "" ] | ||
*''[[#Library.Id|Library.Id]]'' artistid | * ''[[#Library.Id|Library.Id]]'' artistid | ||
*[ ''string'' yearsactive = "" ] | * [ ''string'' yearsactive = "" ] | ||
*[ ''string'' instrument = "" ] | * [ ''string'' instrument = "" ] | ||
*[ ''string'' died = "" ] | * [ ''string'' died = "" ] | ||
*[ ''string'' mood = "" ] | * [ ''string'' mood = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Audio.Details.Base", | "extends": "Audio.Details.Base", | ||
"id": "Audio.Details.Artist", | "id": "Audio.Details.Artist", | ||
Line 3,606: | Line 3,605: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Audio.Details.Base==== | ==== Audio.Details.Base ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Media.Details.Base|Media.Details.Base]]'' | * ''[[#Media.Details.Base|Media.Details.Base]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' genre = "" ] | * [ ''string'' genre = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Media.Details.Base", | "extends": "Media.Details.Base", | ||
"id": "Audio.Details.Base", | "id": "Audio.Details.Base", | ||
Line 3,623: | Line 3,622: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Audio.Details.Media==== | ==== Audio.Details.Media ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Audio.Details.Base|Audio.Details.Base]]'' | * ''[[#Audio.Details.Base|Audio.Details.Base]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''integer'' rating = 0 ] | * [ ''integer'' rating = 0 ] | ||
*[ ''string'' title = "" ] | * [ ''string'' title = "" ] | ||
*[ ''string'' artist = "" ] | * [ ''string'' artist = "" ] | ||
*[ ''string'' musicbrainzalbumartistid = "" ] | * [ ''string'' musicbrainzalbumartistid = "" ] | ||
*[ ''integer'' year = 0 ] | * [ ''integer'' year = 0 ] | ||
*[ ''string'' musicbrainzalbumid = "" ] | * [ ''string'' musicbrainzalbumid = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Audio.Details.Base", | "extends": "Audio.Details.Base", | ||
"id": "Audio.Details.Media", | "id": "Audio.Details.Media", | ||
Line 3,665: | Line 3,664: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Audio.Details.Song==== | ==== Audio.Details.Song ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Audio.Details.Media|Audio.Details.Media]]'' | * ''[[#Audio.Details.Media|Audio.Details.Media]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' album = "" ] | * [ ''string'' album = "" ] | ||
*[ ''string'' comment = "" ] | * [ ''string'' comment = "" ] | ||
*''[[#Library.Id|Library.Id]]'' songid | * ''[[#Library.Id|Library.Id]]'' songid | ||
*[ ''string'' musicbrainzartistid = "" ] | * [ ''string'' musicbrainzartistid = "" ] | ||
*[ ''string'' lyrics = "" ] | * [ ''string'' lyrics = "" ] | ||
*[ ''integer'' track = 0 ] | * [ ''integer'' track = 0 ] | ||
*[ ''string'' musicbrainztrackid = "" ] | * [ ''string'' musicbrainztrackid = "" ] | ||
*[ ''[[#Library.Id|Library.Id]]'' albumid = -1 ] | * [ ''[[#Library.Id|Library.Id]]'' albumid = -1 ] | ||
*[ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | * [ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | ||
*[ ''string'' albumartist = "" ] | * [ ''string'' albumartist = "" ] | ||
*[ ''string'' file = "" ] | * [ ''string'' file = "" ] | ||
*[ ''integer'' duration = 0 ] | * [ ''integer'' duration = 0 ] | ||
*[ ''integer'' playcount = 0 ] | * [ ''integer'' playcount = 0 ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Audio.Details.Media", | "extends": "Audio.Details.Media", | ||
"id": "Audio.Details.Song", | "id": "Audio.Details.Song", | ||
Line 3,742: | Line 3,741: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Audio.Fields.Album==== | ==== Audio.Fields.Album ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 3,771: | Line 3,770: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Audio.Fields.Artist==== | ==== Audio.Fields.Artist ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 3,797: | Line 3,796: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Audio.Fields.Song==== | ==== Audio.Fields.Song ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 3,831: | Line 3,830: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Configuration=== | === Configuration === | ||
====Configuration==== | ==== Configuration ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#Configuration.Notifications|Configuration.Notifications]]'' notifications | * ''[[#Configuration.Notifications|Configuration.Notifications]]'' notifications | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"required": true, | "required": true, | ||
"type": "object", | "type": "object", | ||
Line 3,848: | Line 3,847: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Configuration.Notifications==== | ==== Configuration.Notifications ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''boolean'' gui | * ''boolean'' gui | ||
*''boolean'' system | * ''boolean'' system | ||
*''boolean'' player | * ''boolean'' player | ||
*''boolean'' audiolibrary | * ''boolean'' audiolibrary | ||
*''boolean'' other | * ''boolean'' other | ||
*''boolean'' videolibrary | * ''boolean'' videolibrary | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"additionalProperties": false, | "additionalProperties": false, | ||
"type": "object", | "type": "object", | ||
Line 3,889: | Line 3,888: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Files=== | === Files === | ||
====Files.Media==== | ==== Files.Media ==== | ||
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": "video", | "default": "video", | ||
"enums": [ | "enums": [ | ||
Line 3,904: | Line 3,903: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Global=== | === Global === | ||
====Global.Time==== | ==== Global.Time ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''integer'' hours | * ''integer'' hours | ||
*''integer'' seconds | * ''integer'' seconds | ||
*''integer'' minutes | * ''integer'' minutes | ||
*''integer'' milliseconds | * ''integer'' milliseconds | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"additionalProperties": false, | "additionalProperties": false, | ||
"type": "object", | "type": "object", | ||
Line 3,944: | Line 3,943: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Item=== | === Item === | ||
====Item.Details.Base==== | ==== Item.Details.Base ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''string'' label | * ''string'' label | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "Item.Details.Base", | "id": "Item.Details.Base", | ||
Line 3,960: | Line 3,959: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Item.Fields.Base==== | ==== Item.Fields.Base ==== | ||
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"uniqueItems": true, | "uniqueItems": true, | ||
"items": { | "items": { | ||
Line 3,970: | Line 3,969: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Library=== | === Library === | ||
====Library.Details.Genre==== | ==== Library.Details.Genre ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Details.Base|Item.Details.Base]]'' | * ''[[#Item.Details.Base|Item.Details.Base]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#Library.Id|Library.Id]]'' genreid | * ''[[#Library.Id|Library.Id]]'' genreid | ||
*[ ''string'' thumbnail = "" ] | * [ ''string'' thumbnail = "" ] | ||
*[ ''string'' title = "" ] | * [ ''string'' title = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Item.Details.Base", | "extends": "Item.Details.Base", | ||
"id": "Library.Details.Genre", | "id": "Library.Details.Genre", | ||
Line 3,998: | Line 3,997: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Library.Fields.Genre==== | ==== Library.Fields.Genre ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 4,013: | Line 4,012: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Library.Id==== | ==== Library.Id ==== | ||
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": -1, | "default": -1, | ||
"minimum": 1, | "minimum": 1, | ||
Line 4,021: | Line 4,020: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===List=== | === List === | ||
====List.Amount==== | ==== List.Amount ==== | ||
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": -1, | "default": -1, | ||
"minimum": 0, | "minimum": 0, | ||
Line 4,030: | Line 4,029: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====List.Fields.All==== | ==== List.Fields.All ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 4,092: | Line 4,091: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====List.Item.All==== | ==== List.Item.All ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.File|Video.Details.File]]'' | * ''[[#Video.Details.File|Video.Details.File]]'' | ||
*''[[#Audio.Details.Media|Audio.Details.Media]]'' | * ''[[#Audio.Details.Media|Audio.Details.Media]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' comment = "" ] | * [ ''string'' comment = "" ] | ||
*[ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ] | * [ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ] | ||
*[ ''[[#Array.String|Array.String]]'' set ] | * [ ''[[#Array.String|Array.String]]'' set ] | ||
*[ ''string'' lyrics = "" ] | * [ ''string'' lyrics = "" ] | ||
*[ ''string'' albumartist = "" ] | * [ ''string'' albumartist = "" ] | ||
*[ ''integer'' duration = 0 ] | * [ ''integer'' duration = 0 ] | ||
*[ ''[[#Array.Integer|Array.Integer]]'' setid ] | * [ ''[[#Array.Integer|Array.Integer]]'' setid ] | ||
*[ ''[[#Library.Id|Library.Id]]'' id = -1 ] | * [ ''[[#Library.Id|Library.Id]]'' id = -1 ] | ||
*[ ''string'' album = "" ] | * [ ''string'' album = "" ] | ||
*[ ''string'' votes = "" ] | * [ ''string'' votes = "" ] | ||
*[ ''string'' mpaa = "" ] | * [ ''string'' mpaa = "" ] | ||
*[ ''string'' writer = "" ] | * [ ''string'' writer = "" ] | ||
*[ ''[[#Library.Id|Library.Id]]'' albumid = -1 ] | * [ ''[[#Library.Id|Library.Id]]'' albumid = -1 ] | ||
*[ ''string'' type = "unknown" ] | * [ ''string'' type = "unknown" ] | ||
*[ ''string'' plotoutline = "" ] | * [ ''string'' plotoutline = "" ] | ||
*[ ''integer'' track = 0 ] | * [ ''integer'' track = 0 ] | ||
*[ ''integer'' season = 0 ] | * [ ''integer'' season = 0 ] | ||
*[ ''string'' musicbrainztrackid = "" ] | * [ ''string'' musicbrainztrackid = "" ] | ||
*[ ''string'' imdbnumber = "" ] | * [ ''string'' imdbnumber = "" ] | ||
*[ ''string'' studio = "" ] | * [ ''string'' studio = "" ] | ||
*[ ''string'' showlink = "" ] | * [ ''string'' showlink = "" ] | ||
*[ ''string'' showtitle = "" ] | * [ ''string'' showtitle = "" ] | ||
*[ ''integer'' episode = 0 ] | * [ ''integer'' episode = 0 ] | ||
*[ ''string'' musicbrainzartistid = "" ] | * [ ''string'' musicbrainzartistid = "" ] | ||
*[ ''string'' productioncode = "" ] | * [ ''string'' productioncode = "" ] | ||
*[ ''string'' country = "" ] | * [ ''string'' country = "" ] | ||
*[ ''string'' premiered = "" ] | * [ ''string'' premiered = "" ] | ||
*[ ''string'' originaltitle = "" ] | * [ ''string'' originaltitle = "" ] | ||
*[ ''[[#Video.Cast|Video.Cast]]'' cast ] | * [ ''[[#Video.Cast|Video.Cast]]'' cast ] | ||
*[ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | * [ ''[[#Library.Id|Library.Id]]'' artistid = -1 ] | ||
*[ ''string'' firstaired = "" ] | * [ ''string'' firstaired = "" ] | ||
*[ ''string'' tagline = "" ] | * [ ''string'' tagline = "" ] | ||
*[ ''integer'' top250 = 0 ] | * [ ''integer'' top250 = 0 ] | ||
*[ ''string'' trailer = "" ] | * [ ''string'' trailer = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": [ | "extends": [ | ||
"Video.Details.File", | "Video.Details.File", | ||
Line 4,283: | Line 4,282: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====List.Item.File==== | ==== List.Item.File ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#List.Item.All|List.Item.All]]'' | * ''[[#List.Item.All|List.Item.All]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''string'' filetype | * ''string'' filetype | ||
*''string'' file | * ''string'' file | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "List.Item.All", | "extends": "List.Item.All", | ||
"id": "List.Item.File", | "id": "List.Item.File", | ||
Line 4,309: | Line 4,308: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====List.Items.Sources==== | ==== List.Items.Sources ==== | ||
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"extends": "Item.Details.Base", | "extends": "Item.Details.Base", | ||
Line 4,324: | Line 4,323: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====List.Limits==== | ==== List.Limits ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''integer'' start = 0 ] | * [ ''integer'' start = 0 ] | ||
*[ ''integer'' end = -1 ] | * [ ''integer'' end = -1 ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"additionalProperties": false, | "additionalProperties": false, | ||
"type": "object", | "type": "object", | ||
Line 4,347: | Line 4,346: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====List.LimitsReturned==== | ==== List.LimitsReturned ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''integer'' start = 0 ] | * [ ''integer'' start = 0 ] | ||
*''integer'' total | * ''integer'' total | ||
*[ ''integer'' end = -1 ] | * [ ''integer'' end = -1 ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"additionalProperties": false, | "additionalProperties": false, | ||
"type": "object", | "type": "object", | ||
Line 4,376: | Line 4,375: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====List.Sort==== | ==== List.Sort ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' order = "ascending" ] | * [ ''string'' order = "ascending" ] | ||
*[ ''boolean'' ignorearticle = False ] | * [ ''boolean'' ignorearticle = False ] | ||
*[ ''string'' method = "none" ] | * [ ''string'' method = "none" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "List.Sort", | "id": "List.Sort", | ||
Line 4,435: | Line 4,434: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Media=== | === Media === | ||
====Media.Details.Base==== | ==== Media.Details.Base ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Details.Base|Item.Details.Base]]'' | * ''[[#Item.Details.Base|Item.Details.Base]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' fanart = "" ] | * [ ''string'' fanart = "" ] | ||
*[ ''string'' thumbnail = "" ] | * [ ''string'' thumbnail = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Item.Details.Base", | "extends": "Item.Details.Base", | ||
"id": "Media.Details.Base", | "id": "Media.Details.Base", | ||
Line 4,458: | Line 4,457: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Optional=== | === Optional === | ||
====Optional.Boolean==== | ==== Optional.Boolean ==== | ||
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": null, | "default": null, | ||
"type": [ | "type": [ | ||
Line 4,473: | Line 4,472: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Player=== | === Player === | ||
====Player.Audio.Stream==== | ==== Player.Audio.Stream ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''integer'' index | * ''integer'' index | ||
*''string'' name | * ''string'' name | ||
*''string'' language | * ''string'' language | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "Player.Audio.Stream", | "id": "Player.Audio.Stream", | ||
Line 4,500: | Line 4,499: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Audio.Stream.Extended==== | ==== Player.Audio.Stream.Extended ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Player.Audio.Stream|Player.Audio.Stream]]'' | * ''[[#Player.Audio.Stream|Player.Audio.Stream]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''integer'' channels | * ''integer'' channels | ||
*''string'' codec | * ''string'' codec | ||
*''integer'' bitrate | * ''integer'' bitrate | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Player.Audio.Stream", | "extends": "Player.Audio.Stream", | ||
"id": "Player.Audio.Stream.Extended", | "id": "Player.Audio.Stream.Extended", | ||
Line 4,527: | Line 4,526: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Id==== | ==== Player.Id ==== | ||
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": -1, | "default": -1, | ||
"minimum": 0, | "minimum": 0, | ||
Line 4,536: | Line 4,535: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Notifications.Data==== | ==== Player.Notifications.Data ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#Player.Notifications.Item|Player.Notifications.Item]]'' item | * ''[[#Player.Notifications.Item|Player.Notifications.Item]]'' item | ||
*''[[#Player.Notifications.Player|Player.Notifications.Player]]'' player | * ''[[#Player.Notifications.Player|Player.Notifications.Player]]'' player | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "Player.Notifications.Data", | "id": "Player.Notifications.Data", | ||
Line 4,556: | Line 4,555: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Notifications.Item==== | ==== Player.Notifications.Item ==== | ||
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": [ | "type": [ | ||
{ | { | ||
Line 4,679: | Line 4,678: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Notifications.Item.Type==== | ==== Player.Notifications.Item.Type ==== | ||
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": "unknown", | "default": "unknown", | ||
"enums": [ | "enums": [ | ||
Line 4,693: | Line 4,692: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Notifications.Player==== | ==== Player.Notifications.Player ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#Player.Id|Player.Id]]'' playerid | * ''[[#Player.Id|Player.Id]]'' playerid | ||
*[ ''integer'' speed = 0 ] | * [ ''integer'' speed = 0 ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "Player.Notifications.Player", | "id": "Player.Notifications.Player", | ||
Line 4,713: | Line 4,712: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Notifications.Player.Seek==== | ==== Player.Notifications.Player.Seek ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Player.Notifications.Player|Player.Notifications.Player]]'' | * ''[[#Player.Notifications.Player|Player.Notifications.Player]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Global.Time|Global.Time]]'' seekoffset ] | * [ ''[[#Global.Time|Global.Time]]'' seekoffset ] | ||
*[ ''[[#Global.Time|Global.Time]]'' time ] | * [ ''[[#Global.Time|Global.Time]]'' time ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Player.Notifications.Player", | "extends": "Player.Notifications.Player", | ||
"id": "Player.Notifications.Player.Seek", | "id": "Player.Notifications.Player.Seek", | ||
Line 4,733: | Line 4,732: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Position.Percentage==== | ==== Player.Position.Percentage ==== | ||
'''Type:''' ''number''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''number''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": 0, | "default": 0, | ||
"minimum": 0, | "minimum": 0, | ||
Line 4,742: | Line 4,741: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Property.Name==== | ==== Player.Property.Name ==== | ||
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": "type", | "default": "type", | ||
"enums": [ | "enums": [ | ||
Line 4,773: | Line 4,772: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Property.Value==== | ==== Player.Property.Value ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''boolean'' canrotate = False ] | * [ ''boolean'' canrotate = False ] | ||
*[ ''boolean'' canrepeat = False ] | * [ ''boolean'' canrepeat = False ] | ||
*[ ''integer'' speed = 0 ] | * [ ''integer'' speed = 0 ] | ||
*[ ''boolean'' canshuffle = False ] | * [ ''boolean'' canshuffle = False ] | ||
*[ ''boolean'' shuffled = False ] | * [ ''boolean'' shuffled = False ] | ||
*[ ''boolean'' canmove = False ] | * [ ''boolean'' canmove = False ] | ||
*[ ''boolean'' subtitleenabled = False ] | * [ ''boolean'' subtitleenabled = False ] | ||
*[ ''[[#Player.Position.Percentage|Player.Position.Percentage]]'' percentage = 0 ] | * [ ''[[#Player.Position.Percentage|Player.Position.Percentage]]'' percentage = 0 ] | ||
*[ ''[[#Player.Type|Player.Type]]'' type = "video" ] | * [ ''[[#Player.Type|Player.Type]]'' type = "video" ] | ||
*[ ''[[#Player.Repeat|Player.Repeat]]'' repeat = "off" ] | * [ ''[[#Player.Repeat|Player.Repeat]]'' repeat = "off" ] | ||
*[ ''boolean'' canseek = False ] | * [ ''boolean'' canseek = False ] | ||
*[ ''[[#Player.Subtitle|Player.Subtitle]]'' currentsubtitle ] | * [ ''[[#Player.Subtitle|Player.Subtitle]]'' currentsubtitle ] | ||
*[ ''[[#Player.Subtitle|Player.Subtitle]]''[] subtitles ] | * [ ''[[#Player.Subtitle|Player.Subtitle]]''[] subtitles ] | ||
*[ ''[[#Global.Time|Global.Time]]'' totaltime ] | * [ ''[[#Global.Time|Global.Time]]'' totaltime ] | ||
*[ ''boolean'' canzoom = False ] | * [ ''boolean'' canzoom = False ] | ||
*[ ''[[#Player.Audio.Stream.Extended|Player.Audio.Stream.Extended]]'' currentaudiostream ] | * [ ''[[#Player.Audio.Stream.Extended|Player.Audio.Stream.Extended]]'' currentaudiostream ] | ||
*[ ''[[#Playlist.Id|Playlist.Id]]'' playlistid = -1 ] | * [ ''[[#Playlist.Id|Playlist.Id]]'' playlistid = -1 ] | ||
*[ ''[[#Player.Audio.Stream.Extended|Player.Audio.Stream.Extended]]''[] audiostreams ] | * [ ''[[#Player.Audio.Stream.Extended|Player.Audio.Stream.Extended]]''[] audiostreams ] | ||
*[ ''boolean'' partymode = False ] | * [ ''boolean'' partymode = False ] | ||
*[ ''[[#Global.Time|Global.Time]]'' time ] | * [ ''[[#Global.Time|Global.Time]]'' time ] | ||
*[ ''[[#Playlist.Position|Playlist.Position]]'' position = -1 ] | * [ ''[[#Playlist.Position|Playlist.Position]]'' position = -1 ] | ||
*[ ''boolean'' canchangespeed = False ] | * [ ''boolean'' canchangespeed = False ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "Player.Property.Value", | "id": "Player.Property.Value", | ||
Line 4,893: | Line 4,892: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Repeat==== | ==== Player.Repeat ==== | ||
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": "off", | "default": "off", | ||
"enums": [ | "enums": [ | ||
Line 4,905: | Line 4,904: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Speed==== | ==== Player.Speed ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''integer'' speed = 0 ] | * [ ''integer'' speed = 0 ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"required": true, | "required": true, | ||
"type": "object", | "type": "object", | ||
Line 4,921: | Line 4,920: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Subtitle==== | ==== Player.Subtitle ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''integer'' index | * ''integer'' index | ||
*''string'' name | * ''string'' name | ||
*''string'' language | * ''string'' language | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "Player.Subtitle", | "id": "Player.Subtitle", | ||
Line 4,947: | Line 4,946: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.Type==== | ==== Player.Type ==== | ||
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": "video", | "default": "video", | ||
"enums": [ | "enums": [ | ||
Line 4,959: | Line 4,958: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Playlist=== | === Playlist === | ||
====Playlist.Id==== | ==== Playlist.Id ==== | ||
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": -1, | "default": -1, | ||
"minimum": 0, | "minimum": 0, | ||
Line 4,969: | Line 4,968: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.Item==== | ==== Playlist.Item ==== | ||
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": [ | "type": [ | ||
{ | { | ||
Line 5,068: | Line 5,067: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.Position==== | ==== Playlist.Position ==== | ||
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": -1, | "default": -1, | ||
"minimum": 0, | "minimum": 0, | ||
Line 5,076: | Line 5,075: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.Property.Name==== | ==== Playlist.Property.Name ==== | ||
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": "type", | "default": "type", | ||
"enums": [ | "enums": [ | ||
Line 5,087: | Line 5,086: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.Property.Value==== | ==== Playlist.Property.Value ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Playlist.Type|Playlist.Type]]'' type = "unknown" ] | * [ ''[[#Playlist.Type|Playlist.Type]]'' type = "unknown" ] | ||
*[ ''integer'' size = 0 ] | * [ ''integer'' size = 0 ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "Playlist.Property.Value", | "id": "Playlist.Property.Value", | ||
Line 5,108: | Line 5,107: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Playlist.Type==== | ==== Playlist.Type ==== | ||
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": "unknown", | "default": "unknown", | ||
"enums": [ | "enums": [ | ||
Line 5,122: | Line 5,121: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===System=== | === System === | ||
====System.Property.Name==== | ==== System.Property.Name ==== | ||
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"default": "canshutdown", | "default": "canshutdown", | ||
"enums": [ | "enums": [ | ||
Line 5,136: | Line 5,135: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====System.Property.Value==== | ==== System.Property.Value ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''boolean'' canreboot = False ] | * [ ''boolean'' canreboot = False ] | ||
*[ ''boolean'' cansuspend = False ] | * [ ''boolean'' cansuspend = False ] | ||
*[ ''boolean'' canhibernate = False ] | * [ ''boolean'' canhibernate = False ] | ||
*[ ''boolean'' canshutdown = False ] | * [ ''boolean'' canshutdown = False ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"type": "object", | "type": "object", | ||
"id": "System.Property.Value", | "id": "System.Property.Value", | ||
Line 5,166: | Line 5,165: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Video=== | === Video === | ||
====Video.Cast==== | ==== Video.Cast ==== | ||
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | '''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"additionalProperties": false, | "additionalProperties": false, | ||
Line 5,191: | Line 5,190: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.Base==== | ==== Video.Details.Base ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Media.Details.Base|Media.Details.Base]]'' | * ''[[#Media.Details.Base|Media.Details.Base]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''integer'' playcount = 0 ] | * [ ''integer'' playcount = 0 ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Media.Details.Base", | "extends": "Media.Details.Base", | ||
"id": "Video.Details.Base", | "id": "Video.Details.Base", | ||
Line 5,208: | Line 5,207: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.Episode==== | ==== Video.Details.Episode ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.File|Video.Details.File]]'' | * ''[[#Video.Details.File|Video.Details.File]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''number'' rating = 0 ] | * [ ''number'' rating = 0 ] | ||
*[ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ] | * [ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ] | ||
*[ ''string'' votes = "" ] | * [ ''string'' votes = "" ] | ||
*[ ''integer'' episode = 0 ] | * [ ''integer'' episode = 0 ] | ||
*[ ''string'' productioncode = "" ] | * [ ''string'' productioncode = "" ] | ||
*[ ''integer'' season = 0 ] | * [ ''integer'' season = 0 ] | ||
*[ ''string'' writer = "" ] | * [ ''string'' writer = "" ] | ||
*''[[#Library.Id|Library.Id]]'' episodeid | * ''[[#Library.Id|Library.Id]]'' episodeid | ||
*[ ''string'' originaltitle = "" ] | * [ ''string'' originaltitle = "" ] | ||
*[ ''[[#Video.Cast|Video.Cast]]'' cast ] | * [ ''[[#Video.Cast|Video.Cast]]'' cast ] | ||
*[ ''string'' firstaired = "" ] | * [ ''string'' firstaired = "" ] | ||
*[ ''string'' showtitle = "" ] | * [ ''string'' showtitle = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.File", | "extends": "Video.Details.File", | ||
"id": "Video.Details.Episode", | "id": "Video.Details.Episode", | ||
Line 5,279: | Line 5,278: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.File==== | ==== Video.Details.File ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.Item|Video.Details.Item]]'' | * ''[[#Video.Details.Item|Video.Details.Item]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' director = "" ] | * [ ''string'' director = "" ] | ||
*[ ''[[#Video.Streams|Video.Streams]]'' streamdetails ] | * [ ''[[#Video.Streams|Video.Streams]]'' streamdetails ] | ||
*[ ''string'' runtime = "" ] | * [ ''string'' runtime = "" ] | ||
*[ ''[[#Video.Resume|Video.Resume]]'' resume ] | * [ ''[[#Video.Resume|Video.Resume]]'' resume ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.Item", | "extends": "Video.Details.Item", | ||
"id": "Video.Details.File", | "id": "Video.Details.File", | ||
Line 5,309: | Line 5,308: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.Item==== | ==== Video.Details.Item ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.Media|Video.Details.Media]]'' | * ''[[#Video.Details.Media|Video.Details.Media]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' plot = "" ] | * [ ''string'' plot = "" ] | ||
*[ ''string'' lastplayed = "" ] | * [ ''string'' lastplayed = "" ] | ||
*[ ''string'' file = "" ] | * [ ''string'' file = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.Media", | "extends": "Video.Details.Media", | ||
"id": "Video.Details.Item", | "id": "Video.Details.Item", | ||
Line 5,336: | Line 5,335: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.Media==== | ==== Video.Details.Media ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.Base|Video.Details.Base]]'' | * ''[[#Video.Details.Base|Video.Details.Base]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' title = "" ] | * [ ''string'' title = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.Base", | "extends": "Video.Details.Base", | ||
"id": "Video.Details.Media", | "id": "Video.Details.Media", | ||
Line 5,353: | Line 5,352: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.Movie==== | ==== Video.Details.Movie ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.File|Video.Details.File]]'' | * ''[[#Video.Details.File|Video.Details.File]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''number'' rating = 0 ] | * [ ''number'' rating = 0 ] | ||
*[ ''[[#Array.String|Array.String]]'' set ] | * [ ''[[#Array.String|Array.String]]'' set ] | ||
*[ ''integer'' year = 0 ] | * [ ''integer'' year = 0 ] | ||
*[ ''[[#Array.Integer|Array.Integer]]'' setid ] | * [ ''[[#Array.Integer|Array.Integer]]'' setid ] | ||
*[ ''string'' votes = "" ] | * [ ''string'' votes = "" ] | ||
*[ ''string'' tagline = "" ] | * [ ''string'' tagline = "" ] | ||
*[ ''string'' writer = "" ] | * [ ''string'' writer = "" ] | ||
*[ ''string'' plotoutline = "" ] | * [ ''string'' plotoutline = "" ] | ||
*[ ''string'' sorttitle = "" ] | * [ ''string'' sorttitle = "" ] | ||
*[ ''string'' imdbnumber = "" ] | * [ ''string'' imdbnumber = "" ] | ||
*[ ''string'' studio = "" ] | * [ ''string'' studio = "" ] | ||
*[ ''string'' showlink = "" ] | * [ ''string'' showlink = "" ] | ||
*[ ''string'' genre = "" ] | * [ ''string'' genre = "" ] | ||
*''[[#Library.Id|Library.Id]]'' movieid | * ''[[#Library.Id|Library.Id]]'' movieid | ||
*[ ''string'' productioncode = "" ] | * [ ''string'' productioncode = "" ] | ||
*[ ''string'' country = "" ] | * [ ''string'' country = "" ] | ||
*[ ''string'' premiered = "" ] | * [ ''string'' premiered = "" ] | ||
*[ ''string'' originaltitle = "" ] | * [ ''string'' originaltitle = "" ] | ||
*[ ''[[#Video.Cast|Video.Cast]]'' cast ] | * [ ''[[#Video.Cast|Video.Cast]]'' cast ] | ||
*[ ''string'' mpaa = "" ] | * [ ''string'' mpaa = "" ] | ||
*[ ''integer'' top250 = 0 ] | * [ ''integer'' top250 = 0 ] | ||
*[ ''string'' trailer = "" ] | * [ ''string'' trailer = "" ] | ||
*[ ''array'' streamdetails = "" ] | * [ ''array'' streamdetails = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.File", | "extends": "Video.Details.File", | ||
"id": "Video.Details.Movie", | "id": "Video.Details.Movie", | ||
Line 5,473: | Line 5,472: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.MovieSet==== | ==== Video.Details.MovieSet ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.Media|Video.Details.Media]]'' | * ''[[#Video.Details.Media|Video.Details.Media]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#Library.Id|Library.Id]]'' setid | * ''[[#Library.Id|Library.Id]]'' setid | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.Media", | "extends": "Video.Details.Media", | ||
"id": "Video.Details.MovieSet", | "id": "Video.Details.MovieSet", | ||
Line 5,490: | Line 5,489: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.MovieSet.Extended==== | ==== Video.Details.MovieSet.Extended ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.MovieSet|Video.Details.MovieSet]]'' | * ''[[#Video.Details.MovieSet|Video.Details.MovieSet]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ] | * [ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.MovieSet", | "extends": "Video.Details.MovieSet", | ||
"id": "Video.Details.MovieSet.Extended", | "id": "Video.Details.MovieSet.Extended", | ||
Line 5,509: | Line 5,508: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.MusicVideo==== | ==== Video.Details.MusicVideo ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.File|Video.Details.File]]'' | * ''[[#Video.Details.File|Video.Details.File]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' album = "" ] | * [ ''string'' album = "" ] | ||
*[ ''string'' artist = "" ] | * [ ''string'' artist = "" ] | ||
*[ ''integer'' track = 0 ] | * [ ''integer'' track = 0 ] | ||
*[ ''string'' studio = "" ] | * [ ''string'' studio = "" ] | ||
*[ ''integer'' year = 0 ] | * [ ''integer'' year = 0 ] | ||
*[ ''string'' genre = "" ] | * [ ''string'' genre = "" ] | ||
*''[[#Library.Id|Library.Id]]'' musicvideoid | * ''[[#Library.Id|Library.Id]]'' musicvideoid | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.File", | "extends": "Video.Details.File", | ||
"id": "Video.Details.MusicVideo", | "id": "Video.Details.MusicVideo", | ||
Line 5,556: | Line 5,555: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.Season==== | ==== Video.Details.Season ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.Base|Video.Details.Base]]'' | * ''[[#Video.Details.Base|Video.Details.Base]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''integer'' season | * ''integer'' season | ||
*[ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ] | * [ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ] | ||
*[ ''integer'' episode = 0 ] | * [ ''integer'' episode = 0 ] | ||
*[ ''string'' showtitle = "" ] | * [ ''string'' showtitle = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.Base", | "extends": "Video.Details.Base", | ||
"id": "Video.Details.Season", | "id": "Video.Details.Season", | ||
Line 5,588: | Line 5,587: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Details.TVShow==== | ==== Video.Details.TVShow ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Video.Details.Item|Video.Details.Item]]'' | * ''[[#Video.Details.Item|Video.Details.Item]]'' | ||
<br /> | <br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''string'' episodeguide = "" ] | * [ ''string'' episodeguide = "" ] | ||
*''[[#Library.Id|Library.Id]]'' tvshowid | * ''[[#Library.Id|Library.Id]]'' tvshowid | ||
*[ ''integer'' episode = 0 ] | * [ ''integer'' episode = 0 ] | ||
*[ ''string'' imdbnumber = "" ] | * [ ''string'' imdbnumber = "" ] | ||
*[ ''number'' rating = 0 ] | * [ ''number'' rating = 0 ] | ||
*[ ''string'' mpaa = "" ] | * [ ''string'' mpaa = "" ] | ||
*[ ''integer'' year = 0 ] | * [ ''integer'' year = 0 ] | ||
*[ ''string'' votes = "" ] | * [ ''string'' votes = "" ] | ||
*[ ''string'' premiered = "" ] | * [ ''string'' premiered = "" ] | ||
*[ ''string'' originaltitle = "" ] | * [ ''string'' originaltitle = "" ] | ||
*[ ''[[#Video.Cast|Video.Cast]]'' cast ] | * [ ''[[#Video.Cast|Video.Cast]]'' cast ] | ||
*[ ''string'' studio = "" ] | * [ ''string'' studio = "" ] | ||
*[ ''string'' sorttitle = "" ] | * [ ''string'' sorttitle = "" ] | ||
*[ ''string'' genre = "" ] | * [ ''string'' genre = "" ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"extends": "Video.Details.Item", | "extends": "Video.Details.Item", | ||
"id": "Video.Details.TVShow", | "id": "Video.Details.TVShow", | ||
Line 5,669: | Line 5,668: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Fields.Episode==== | ==== Video.Fields.Episode ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 5,705: | Line 5,704: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Fields.Movie==== | ==== Video.Fields.Movie ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 5,751: | Line 5,750: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Fields.MovieSet==== | ==== Video.Fields.MovieSet ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 5,768: | Line 5,767: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Fields.MusicVideo==== | ==== Video.Fields.MusicVideo ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 5,799: | Line 5,798: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Fields.Season==== | ==== Video.Fields.Season ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 5,819: | Line 5,818: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Fields.TVShow==== | ==== Video.Fields.TVShow ==== | ||
'''Extends:''' | '''Extends:''' | ||
*''[[#Item.Fields.Base|Item.Fields.Base]]'' | * ''[[#Item.Fields.Base|Item.Fields.Base]]'' | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"items": { | "items": { | ||
"enums": [ | "enums": [ | ||
Line 5,853: | Line 5,852: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Resume==== | ==== Video.Resume ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''number'' position = 0 ] | * [ ''number'' position = 0 ] | ||
*[ ''number'' total = 0 ] | * [ ''number'' total = 0 ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"additionalProperties": false, | "additionalProperties": false, | ||
"type": "object", | "type": "object", | ||
Line 5,876: | Line 5,875: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Video.Streams==== | ==== Video.Streams ==== | ||
'''Type:''' ''object''<br /> | '''Type:''' ''object''<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''array''[1..X] video ] | * [ ''array''[1..X] video ] | ||
*[ ''array''[1..X] audio ] | * [ ''array''[1..X] audio ] | ||
*[ ''array''[1..X] subtitle ] | * [ ''array''[1..X] subtitle ] | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"additionalProperties": false, | "additionalProperties": false, | ||
"type": "object", | "type": "object", | ||
Line 5,957: | Line 5,956: | ||
==Notifications== | == Notifications == | ||
===AudioLibrary=== | === AudioLibrary === | ||
====AudioLibrary.OnRemove==== | ==== AudioLibrary.OnRemove ==== | ||
An audio item has been removed.<br /> | An audio item has been removed.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''object'' data<br /> | # ''object'' data<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#Notifications.Library.Audio.Type|Notifications.Library.Audio.Type]]'' type | * ''[[#Notifications.Library.Audio.Type|Notifications.Library.Audio.Type]]'' type | ||
*''[[#Library.Id|Library.Id]]'' id | * ''[[#Library.Id|Library.Id]]'' id | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 5,997: | Line 5,996: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====AudioLibrary.OnUpdate==== | ==== AudioLibrary.OnUpdate ==== | ||
An audio item has been updated.<br /> | An audio item has been updated.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''object'' data<br /> | # ''object'' data<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''string'' type | * ''string'' type | ||
*''[[#Library.Id|Library.Id]]'' id | * ''[[#Library.Id|Library.Id]]'' id | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,039: | Line 6,038: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===Player=== | === Player === | ||
====Player.OnPause==== | ==== Player.OnPause ==== | ||
Playback of a media item has been paused. If there is no ID available extra information will be provided.<br /> | Playback of a media item has been paused. If there is no ID available extra information will be provided.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''[[#Player.Notifications.Data|Player.Notifications.Data]]'' data | # ''[[#Player.Notifications.Data|Player.Notifications.Data]]'' data | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,064: | Line 6,063: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.OnPlay==== | ==== Player.OnPlay ==== | ||
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.<br /> | 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.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''[[#Player.Notifications.Data|Player.Notifications.Data]]'' data | # ''[[#Player.Notifications.Data|Player.Notifications.Data]]'' data | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,088: | Line 6,087: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.OnSeek==== | ==== Player.OnSeek ==== | ||
The playback position has been changed. If there is no ID available extra information will be provided.<br /> | The playback position has been changed. If there is no ID available extra information will be provided.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''object'' data<br /> | # ''object'' data<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Player.Notifications.Item|Player.Notifications.Item]]'' item ] | * [ ''[[#Player.Notifications.Item|Player.Notifications.Item]]'' item ] | ||
*''[[#Player.Notifications.Player.Seek|Player.Notifications.Player.Seek]]'' player | * ''[[#Player.Notifications.Player.Seek|Player.Notifications.Player.Seek]]'' player | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,125: | Line 6,124: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.OnSpeedChanged==== | ==== Player.OnSpeedChanged ==== | ||
Speed of the playback of a media item has been changed. If there is no ID available extra information will be provided.<br /> | Speed of the playback of a media item has been changed. If there is no ID available extra information will be provided.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''[[#Player.Notifications.Data|Player.Notifications.Data]]'' data | # ''[[#Player.Notifications.Data|Player.Notifications.Data]]'' data | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,149: | Line 6,148: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====Player.OnStop==== | ==== Player.OnStop ==== | ||
Playback of a media item has been stopped. If there is no ID available extra information will be provided.<br /> | Playback of a media item has been stopped. If there is no ID available extra information will be provided.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''object'' data<br /> | # ''object'' data<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''[[#Player.Notifications.Item|Player.Notifications.Item]]'' item ] | * [ ''[[#Player.Notifications.Item|Player.Notifications.Item]]'' item ] | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,181: | Line 6,180: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===System=== | === System === | ||
====System.OnLowBattery==== | ==== System.OnLowBattery ==== | ||
The system is on low battery.<br /> | The system is on low battery.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''null'' data | # ''null'' data | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,206: | Line 6,205: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====System.OnQuit==== | ==== System.OnQuit ==== | ||
XBMC will be closed.<br /> | XBMC will be closed.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''null'' data | # ''null'' data | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,230: | Line 6,229: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====System.OnRestart==== | ==== System.OnRestart ==== | ||
The system will be restarted.<br /> | The system will be restarted.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''null'' data | # ''null'' data | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,254: | Line 6,253: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====System.OnSleep==== | ==== System.OnSleep ==== | ||
The system will be suspended.<br /> | The system will be suspended.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''null'' data | # ''null'' data | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,278: | Line 6,277: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====System.OnWake==== | ==== System.OnWake ==== | ||
The system woke up from suspension.<br /> | The system woke up from suspension.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''null'' data | # ''null'' data | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,302: | Line 6,301: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
===VideoLibrary=== | === VideoLibrary === | ||
====VideoLibrary.OnRemove==== | ==== VideoLibrary.OnRemove ==== | ||
A video item has been removed.<br /> | A video item has been removed.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''object'' data<br /> | # ''object'' data<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*''[[#Notifications.Library.Video.Type|Notifications.Library.Video.Type]]'' type | * ''[[#Notifications.Library.Video.Type|Notifications.Library.Video.Type]]'' type | ||
*''[[#Library.Id|Library.Id]]'' id | * ''[[#Library.Id|Library.Id]]'' id | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,341: | Line 6,340: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
====VideoLibrary.OnUpdate==== | ==== VideoLibrary.OnUpdate ==== | ||
A video item has been updated.<br /> | A video item has been updated.<br /> | ||
'''Parameters:''' | '''Parameters:''' | ||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | <div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | ||
#''string'' sender | # ''string'' sender | ||
#''object'' data<br /> | # ''object'' data<br /> | ||
'''Properties:''' | '''Properties:''' | ||
*[ ''integer'' playcount = -1 ] | * [ ''integer'' playcount = -1 ] | ||
*''string'' type | * ''string'' type | ||
*''[[#Library.Id|Library.Id]]'' id | * ''[[#Library.Id|Library.Id]]'' id | ||
</div> | </div> | ||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{ | {{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{ | ||
"params": [ | "params": [ | ||
{ | { | ||
Line 6,392: | Line 6,391: | ||
}</syntaxhighlight>}} | }</syntaxhighlight>}} | ||
==External links== | == External links == | ||
*[http://jsonrpc.org/spec.html JSON-RPC 2.0 specification] | * [http://jsonrpc.org/spec.html JSON-RPC 2.0 specification] | ||
*[http://tools.ietf.org/html/draft-zyp-json-schema-03 A JSON Media Type for Describing the Structure and Meaning of JSON Documents (Draft 03)] | * [http://tools.ietf.org/html/draft-zyp-json-schema-03 A JSON Media Type for Describing the Structure and Meaning of JSON Documents (Draft 03)] | ||
[[Category: | [[Category:JSON-RPC]] |
Latest revision as of 23:33, 27 August 2020
Version 4 is a stable version of XBMC's JSON-RPC API and is published with the release of Eden. It is a complete re-write and re-structuring of version 2 and therefore isn't backwards compatible to it. The main reason for this was the need to make this version fully compatible with all the functionality, features and requirements of the JSON-RPC 2.0 specification. This was a main concern during early development to make it easier for third party developers and applications to interact with XBMC's JSON-RPC API by using existing JSON-RPC libraries.
An rough and incomplete list of changes compared to version 2 can be found here. A more complete and detailed list can be found in the forum.
JSON-RPC 2.0 compatibility
Version | Method calls | Notifications (server-side) |
Notifications (client-side) |
Parameters by-name |
Parameters by-position |
Batch requests |
---|---|---|---|---|---|---|
Version 4 | Yes | Yes | Yes | Yes | Yes | Yes |
Documentation (JSON Schema)
Starting with JSON-RPC API version 3 a new way of API documentation has been introduced. All methods and data types are described using JSON Schema. This provides third party developers with an always complete and up-to-date documentation by calling JSONRPC.Introspect even during periods of heavy development. Furthermore the same method and data type specification that can be used by third party developers as a documentation is used by XBMC to check and verify method parameters and their values on every JSON-RPC request and allows to provide detailed error messages in case of a bad or missing parameter.
Supported features of JSON Schema
Schema | IETF Draft 03 |
---|---|
type | Yes |
properties | Yes |
patternProperties | No |
additionalProperties | Yes |
items | Yes |
additionalItems | Yes |
required | Yes |
dependencies | No |
minimum | Yes |
maximum | Yes |
Schema | IETF Draft 03 |
---|---|
exclusiveMinimum | Yes |
exclusiveMaximum | Yes |
minItems | Yes |
maxItems | Yes |
uniqueItems | Yes |
pattern | No |
minLength | Yes |
maxLength | Yes |
enum | Yes |
default | Yes |
Schema | IETF Draft 03 |
---|---|
title | No |
description | Yes |
format | No |
divisibleBy | Yes |
disallow | No |
extends | Yes |
id | Yes |
$ref | Yes |
$schema | No |
Hyper Schema | No |
Error message
If XBMC detects a bad or missing parameter in a JSON-RPC request it returns an error object. The JSON schema description of that error object is
{ "type": "object", "properties": { "code": { "type": "integer", "required": true }, "message": { "type": "string", "required": true }, "data": { "type": "object", "properties": { "method": { "type": "string", "required": true }, "stack": { "type": "object", "id": "Error.Stack", "properties": { "name": { "type": "string", "required": true }, "type": { "type": "string", "required": true }, "message": { "type": "string", "required": true }, "property": { "$ref": "Error.Stack" } } } } } } } |
Namespaces
The XBMC JSON-RPC API is split up into namespaces, which contain methods that can be called. These namespaces are:
JSONRPC A variety of standard JSONRPC calls Player Manages all available players Playlist Playlist modification Files Shares information AudioLibrary Audio Library information VideoLibrary Video Library information Input Allows limited navigation within XBMC Application Application information and control System System controls and information XBMC Dumping ground for very Kodi specific operations |
Methods
Application
Application.GetProperties
Retrieves the values of the given properties
Permissions:
- ReadData
Parameters:
- Application.Property.Name[] properties
Returns: Application.Property.Value
JSON Schema Description |
---|
{ "returns": { "$ref": "Application.Property.Value" }, "params": [ { "uniqueItems": true, "items": { "$ref": "Application.Property.Name" }, "required": true, "type": "array", "name": "properties" } ], "description": "Retrieves the values of the given properties" } |
Application.Quit
Quit application
Permissions:
- ControlPower
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Quit application" } |
Application.SetMute
Toggle mute/unmute
Permissions:
- ControlPlayback
Parameters:
- mixed mute
Returns: boolean
JSON Schema Description |
---|
{ "returns": { "type": "boolean", "description": "Mute state" }, "params": [ { "required": true, "type": [ { "type": "boolean" }, { "enums": [ "toggle" ], "type": "string" } ], "name": "mute" } ], "description": "Toggle mute/unmute" } |
Application.SetVolume
Set the current volume
Permissions:
- ControlPlayback
Parameters:
- integer volume
Returns: integer
JSON Schema Description |
---|
{ "returns": { "minimum": 0, "type": "integer" }, "params": [ { "required": true, "minimum": 0, "type": "integer", "maximum": 100, "name": "volume" } ], "description": "Set the current volume" } |
AudioLibrary
AudioLibrary.Clean
Cleans the audio library from non-existent items
Permissions:
- RemoveData
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Cleans the audio library from non-existent items" } |
AudioLibrary.Export
Exports all items from the audio library
Permissions:
- WriteFile
Parameters:
- [ mixed options ]
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "type": [ { "additionalProperties": false, "type": "object", "properties": { "path": { "minLength": 1, "required": true, "type": "string", "description": "Path to the directory to where the data should be exported" } } }, { "additionalProperties": false, "type": "object", "properties": { "images": { "default": false, "type": "boolean", "description": "Whether to export thumbnails and fanart images" }, "overwrite": { "default": false, "type": "boolean", "description": "Whether to overwrite existing exported files" } } } ], "name": "options" } ], "description": "Exports all items from the audio library" } |
AudioLibrary.GetAlbumDetails
Retrieve details about a specific album
Permissions:
- ReadData
Parameters:
- Library.Id albumid
- [ Audio.Fields.Album properties ]
Returns:
Type: object
Properties:
- [ Audio.Details.Album albumdetails ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "albumdetails": { "$ref": "Audio.Details.Album" } } }, "params": [ { "required": true, "name": "albumid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Audio.Fields.Album" } ], "description": "Retrieve details about a specific album" } |
AudioLibrary.GetAlbums
Retrieve all albums from specified artist or genre
Permissions:
- ReadData
Parameters:
- [ Library.Id artistid = -1 ]
- [ Library.Id genreid = -1 ]
- [ Audio.Fields.Album properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- [ Audio.Details.Album[] albums ]
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "albums": { "items": { "$ref": "Audio.Details.Album" }, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "default": -1, "name": "artistid", "$ref": "Library.Id" }, { "default": -1, "name": "genreid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Audio.Fields.Album" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all albums from specified artist or genre" } |
AudioLibrary.GetArtistDetails
Retrieve details about a specific artist
Permissions:
- ReadData
Parameters:
- Library.Id artistid
- [ Audio.Fields.Artist properties ]
Returns:
Type: object
Properties:
- [ Audio.Details.Artist artistdetails ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "artistdetails": { "$ref": "Audio.Details.Artist" } } }, "params": [ { "required": true, "name": "artistid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Audio.Fields.Artist" } ], "description": "Retrieve details about a specific artist" } |
AudioLibrary.GetArtists
Retrieve all artists
Permissions:
- ReadData
Parameters:
- [ Optional.Boolean albumartistsonly = null ]
- [ Library.Id genreid = -1 ]
- [ Audio.Fields.Artist properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- List.LimitsReturned limits
- [ Audio.Details.Artist[] artists ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "limits": { "required": true, "$ref": "List.LimitsReturned" }, "artists": { "items": { "$ref": "Audio.Details.Artist" }, "type": "array" } } }, "params": [ { "default": null, "description": "Whether or not to include artists only appearing in compilations. If the parameter is not passed or is passed as null the GUI setting will be used", "name": "albumartistsonly", "$ref": "Optional.Boolean" }, { "default": -1, "name": "genreid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Audio.Fields.Artist" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all artists" } |
AudioLibrary.GetGenres
Retrieve all genres
Permissions:
- ReadData
Parameters:
- [ Library.Fields.Genre properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- Library.Details.Genre[] genres
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "genres": { "items": { "$ref": "Library.Details.Genre" }, "required": true, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "name": "properties", "$ref": "Library.Fields.Genre" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all genres" } |
AudioLibrary.GetRecentlyAddedAlbums
Retrieve recently added albums
Permissions:
- ReadData
Parameters:
- [ Audio.Fields.Album properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- [ Audio.Details.Album[] albums ]
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "albums": { "items": { "$ref": "Audio.Details.Album" }, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "name": "properties", "$ref": "Audio.Fields.Album" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve recently added albums" } |
AudioLibrary.GetRecentlyAddedSongs
Retrieve recently added songs
Permissions:
- ReadData
Parameters:
- [ List.Amount albumlimit = -1 ]
- [ Audio.Fields.Song properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- List.LimitsReturned limits
- [ Audio.Details.Song[] songs ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "limits": { "required": true, "$ref": "List.LimitsReturned" }, "songs": { "items": { "$ref": "Audio.Details.Song" }, "type": "array" } } }, "params": [ { "default": -1, "description": "The amount of recently added albums from which to return the songs", "name": "albumlimit", "$ref": "List.Amount" }, { "name": "properties", "$ref": "Audio.Fields.Song" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve recently added songs" } |
AudioLibrary.GetSongDetails
Retrieve details about a specific song
Permissions:
- ReadData
Parameters:
- Library.Id songid
- [ Audio.Fields.Song properties ]
Returns:
Type: object
Properties:
- [ Audio.Details.Song songdetails ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "songdetails": { "$ref": "Audio.Details.Song" } } }, "params": [ { "required": true, "name": "songid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Audio.Fields.Song" } ], "description": "Retrieve details about a specific song" } |
AudioLibrary.GetSongs
Retrieve all songs from specified album, artist or genre
Permissions:
- ReadData
Parameters:
- [ Library.Id artistid = -1 ]
- [ Library.Id albumid = -1 ]
- [ Library.Id genreid = -1 ]
- [ Audio.Fields.Song properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- List.LimitsReturned limits
- [ Audio.Details.Song[] songs ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "limits": { "required": true, "$ref": "List.LimitsReturned" }, "songs": { "items": { "$ref": "Audio.Details.Song" }, "type": "array" } } }, "params": [ { "default": -1, "name": "artistid", "$ref": "Library.Id" }, { "default": -1, "name": "albumid", "$ref": "Library.Id" }, { "default": -1, "name": "genreid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Audio.Fields.Song" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all songs from specified album, artist or genre" } |
AudioLibrary.Scan
Scans the audio sources for new library items
Permissions:
- UpdateData
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Scans the audio sources for new library items" } |
Files
Files.Download
Provides a way to download a given file (e.g. providing an URL to the real file location)
Permissions:
- ReadData
Parameters:
- string path
Returns:
Type: object
Properties:
- string path
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "path": { "required": true, "type": "string" } } }, "params": [ { "required": true, "type": "string", "name": "path" } ], "description": "Provides a way to download a given file (e.g. providing an URL to the real file location)" } |
Files.GetDirectory
Get the directories and files in the given directory
Permissions:
- ReadData
Parameters:
- string directory
- [ Files.Media media = "files" ]
- [ List.Fields.All properties ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- List.Item.File[] files
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "files": { "items": { "$ref": "List.Item.File" }, "required": true, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "required": true, "type": "string", "name": "directory" }, { "default": "files", "name": "media", "$ref": "Files.Media" }, { "name": "properties", "$ref": "List.Fields.All" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Get the directories and files in the given directory" } |
Files.GetSources
Get the sources of the media windows
Permissions:
- ReadData
Parameters:
- Files.Media media
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- List.Items.Sources sources
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "sources": { "required": true, "$ref": "List.Items.Sources" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "required": true, "name": "media", "$ref": "Files.Media" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Get the sources of the media windows" } |
Input
Input.Back
Goes back in GUI
Permissions:
- Navigate
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Goes back in GUI" } |
Input.Down
Navigate down in GUI
Permissions:
- Navigate
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Navigate down in GUI" } |
Input.Home
Goes to home window in GUI
Permissions:
- Navigate
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Goes to home window in GUI" } |
Input.Left
Navigate left in GUI
Permissions:
- Navigate
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Navigate left in GUI" } |
Input.Right
Navigate right in GUI
Permissions:
- Navigate
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Navigate right in GUI" } |
Input.Select
Select current item in GUI
Permissions:
- Navigate
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Select current item in GUI" } |
Input.Up
Navigate up in GUI
Permissions:
- Navigate
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Navigate up in GUI" } |
JSONRPC
JSONRPC.Introspect
Enumerates all actions and descriptions
Permissions:
- ReadData
Parameters:
- [ boolean getdescriptions = True ]
- [ boolean getmetadata = False ]
- [ boolean filterbytransport = True ]
- [ object filter ]
Properties:
- string type
- string id
- [ boolean getreferences = True ]
Returns:
Type: object
JSON Schema Description |
---|
{ "returns": { "type": "object" }, "params": [ { "default": true, "type": "boolean", "name": "getdescriptions" }, { "default": false, "type": "boolean", "name": "getmetadata" }, { "default": true, "type": "boolean", "name": "filterbytransport" }, { "type": "object", "name": "filter", "properties": { "type": { "enums": [ "method", "namespace", "type", "notification" ], "type": "string", "description": "Type of the given name", "required": true }, "id": { "required": true, "type": "string", "description": "Name of a namespace, method or type" }, "getreferences": { "default": true, "type": "boolean", "description": "Whether or not to print the schema for referenced types" } } } ], "description": "Enumerates all actions and descriptions" } |
JSONRPC.NotifyAll
Notify all other connected clients
Permissions:
- ReadData
Parameters:
- string sender
- string message
- [ any data = null ]
Returns: any
JSON Schema Description |
---|
{ "returns": { "type": "any" }, "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "string", "name": "message" }, { "default": null, "type": "any", "name": "data" } ], "description": "Notify all other connected clients" } |
JSONRPC.Permission
Retrieve the clients permissions
Permissions:
- ReadData
Parameters: None
Returns:
Type: object
Properties:
- boolean navigate
- boolean removedata
- boolean controlplayback
- boolean readdata
- boolean updatedata
- boolean writefile
- boolean controlnotify
- boolean controlpower
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "navigate": { "required": true, "type": "boolean" }, "removedata": { "required": true, "type": "boolean" }, "controlplayback": { "required": true, "type": "boolean" }, "readdata": { "required": true, "type": "boolean" }, "updatedata": { "required": true, "type": "boolean" }, "writefile": { "required": true, "type": "boolean" }, "controlnotify": { "required": true, "type": "boolean" }, "controlpower": { "required": true, "type": "boolean" } } }, "params": [], "description": "Retrieve the clients permissions" } |
JSONRPC.Ping
Ping responder
Permissions:
- ReadData
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Ping responder" } |
JSONRPC.Version
Retrieve the jsonrpc protocol version
Permissions:
- ReadData
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Retrieve the jsonrpc protocol version" } |
Player
Player.GetActivePlayers
Returns all active players
Permissions:
- ReadData
Parameters: None
Returns:
Type: array
JSON Schema Description |
---|
{ "returns": { "uniqueItems": true, "items": { "type": "object", "properties": { "playerid": { "required": true, "$ref": "Player.Id" }, "type": { "required": true, "$ref": "Player.Type" } } }, "type": "array" }, "params": [], "description": "Returns all active players" } |
Player.GetItem
Retrieves the currently played item
Permissions:
- ReadData
Parameters:
- Player.Id playerid
- [ List.Fields.All properties ]
Returns:
Type: object
Properties:
- List.Item.All item
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "item": { "required": true, "$ref": "List.Item.All" } } }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" }, { "name": "properties", "$ref": "List.Fields.All" } ], "description": "Retrieves the currently played item" } |
Player.GetProperties
Retrieves the values of the given properties
Permissions:
- ReadData
Parameters:
- Player.Id playerid
- Player.Property.Name[] properties
Returns: Player.Property.Value
JSON Schema Description |
---|
{ "returns": { "$ref": "Player.Property.Value" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" }, { "uniqueItems": true, "items": { "$ref": "Player.Property.Name" }, "required": true, "type": "array", "name": "properties" } ], "description": "Retrieves the values of the given properties" } |
Player.GoNext
Go to next item on the playlist
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "Go to next item on the playlist" } |
Player.GoPrevious
Go to previous item on the playlist
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "Go to previous item on the playlist" } |
Player.GoTo
Go to item at the given position in the playlist
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
- Playlist.Position position
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" }, { "required": true, "name": "position", "$ref": "Playlist.Position" } ], "description": "Go to item at the given position in the playlist" } |
Player.MoveDown
If picture is zoomed move viewport down
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "If picture is zoomed move viewport down" } |
Player.MoveLeft
If picture is zoomed move viewport left otherwise skip previous
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "If picture is zoomed move viewport left otherwise skip previous" } |
Player.MoveRight
If picture is zoomed move viewport right otherwise skip next
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "If picture is zoomed move viewport right otherwise skip next" } |
Player.MoveUp
If picture is zoomed move viewport up
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "If picture is zoomed move viewport up" } |
Player.Open
Start playback of either the playlist with the given ID, a slideshow with the pictures from the given directory or a single file or an item from the database.
Permissions:
- ControlPlayback
Parameters:
- [ mixed item ]
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "type": [ { "additionalProperties": false, "type": "object", "properties": { "position": { "default": 0, "$ref": "Playlist.Position" }, "playlistid": { "required": true, "$ref": "Playlist.Id" } } }, { "$ref": "Playlist.Item" }, { "additionalProperties": false, "type": "object", "properties": { "path": { "required": true, "type": "string" }, "random": { "default": true, "type": "boolean" }, "recursive": { "default": true, "type": "boolean" } } } ], "name": "item" } ], "description": "Start playback of either the playlist with the given ID, a slideshow with the pictures from the given directory or a single file or an item from the database." } |
Player.PlayPause
Pauses or unpause playback and returns the new state
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: Player.Speed
JSON Schema Description |
---|
{ "returns": { "$ref": "Player.Speed" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "Pauses or unpause playback and returns the new state" } |
Player.Repeat
Set the repeat mode of the player
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
- Player.Repeat state
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" }, { "required": true, "name": "state", "$ref": "Player.Repeat" } ], "description": "Set the repeat mode of the player" } |
Player.Rotate
Rotates current picture
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "Rotates current picture" } |
Player.Seek
Seek through the playing item
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
- mixed value
Returns:
Type: object
Properties:
- [ Global.Time totaltime ]
- [ Player.Position.Percentage percentage = 0 ]
- [ Global.Time time ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "totaltime": { "$ref": "Global.Time" }, "percentage": { "default": 0, "$ref": "Player.Position.Percentage" }, "time": { "$ref": "Global.Time" } } }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" }, { "required": true, "type": [ { "description": "Percentage value to seek to", "$ref": "Player.Position.Percentage" }, { "additionalProperties": false, "type": "object", "description": "Time to seek to", "properties": { "hours": { "default": 0, "minimum": 0, "type": "integer", "maximum": 23 }, "seconds": { "default": 0, "minimum": 0, "type": "integer", "maximum": 59 }, "minutes": { "default": 0, "minimum": 0, "type": "integer", "maximum": 59 }, "milliseconds": { "default": 0, "minimum": 0, "type": "integer", "maximum": 999 } } }, { "enums": [ "smallforward", "smallbackward", "bigforward", "bigbackward" ], "type": "string", "description": "Seek by predefined jumps" } ], "name": "value" } ], "description": "Seek through the playing item" } |
Player.SetAudioStream
Set the audio stream played by the player
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
- mixed stream
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" }, { "required": true, "type": [ { "enums": [ "previous", "next" ], "type": "string" }, { "minimum": 0, "type": "integer", "description": "Index of the audio stream to play" } ], "name": "stream" } ], "description": "Set the audio stream played by the player" } |
Player.SetSpeed
Set the speed of the current playback
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
- mixed speed
Returns: Player.Speed
JSON Schema Description |
---|
{ "returns": { "$ref": "Player.Speed" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" }, { "enums": [ -32, -16, -8, -4, -2, -1, 0, 1, 2, 4, 8, 16, 32, "increment", "decrement" ], "type": [ { "minimum": 0, "type": "integer" }, { "type": "string" } ], "name": "speed", "required": true } ], "description": "Set the speed of the current playback" } |
Player.SetSubtitle
Set the subtitle displayed by the player
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
- mixed subtitle
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" }, { "required": true, "type": [ { "enums": [ "previous", "next", "off", "on" ], "type": "string" }, { "minimum": 0, "type": "integer", "description": "Index of the subtitle to display" } ], "name": "subtitle" } ], "description": "Set the subtitle displayed by the player" } |
Player.Shuffle
Shuffle items in the player
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "Shuffle items in the player" } |
Player.Stop
Stops playback
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "Stops playback" } |
Player.UnShuffle
Unshuffle items in the player
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "Unshuffle items in the player" } |
Player.Zoom
Zooms current picture
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
- integer value
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" }, { "description": "Zoom level", "required": true, "maximum": 10, "minimum": 1, "type": "integer", "name": "value" } ], "description": "Zooms current picture" } |
Player.ZoomIn
Zoom in once
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "Zoom in once" } |
Player.ZoomOut
Zoom out once
Permissions:
- ControlPlayback
Parameters:
- Player.Id playerid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playerid", "$ref": "Player.Id" } ], "description": "Zoom out once" } |
Playlist
Playlist.Add
Add item(s) to playlist
Permissions:
- ControlPlayback
Parameters:
- Playlist.Id playlistid
- Playlist.Item item
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playlistid", "$ref": "Playlist.Id" }, { "required": true, "name": "item", "$ref": "Playlist.Item" } ], "description": "Add item(s) to playlist" } |
Playlist.Clear
Clear playlist
Permissions:
- ControlPlayback
Parameters:
- Playlist.Id playlistid
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playlistid", "$ref": "Playlist.Id" } ], "description": "Clear playlist" } |
Playlist.GetItems
Get all items from playlist
Permissions:
- ReadData
Parameters:
- Playlist.Id playlistid
- [ List.Fields.All properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- List.Item.All[] items
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "items": { "items": { "$ref": "List.Item.All" }, "required": true, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "required": true, "name": "playlistid", "$ref": "Playlist.Id" }, { "name": "properties", "$ref": "List.Fields.All" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Get all items from playlist" } |
Playlist.GetPlaylists
Returns all existing playlists
Permissions:
- ReadData
Parameters: None
Returns:
Type: array
JSON Schema Description |
---|
{ "returns": { "uniqueItems": true, "items": { "type": "object", "properties": { "playlistid": { "required": true, "$ref": "Playlist.Id" }, "type": { "required": true, "$ref": "Playlist.Type" } } }, "type": "array" }, "params": [], "description": "Returns all existing playlists" } |
Playlist.GetProperties
Retrieves the values of the given properties
Permissions:
- ReadData
Parameters:
- Playlist.Id playlistid
- Playlist.Property.Name[] properties
Returns: Playlist.Property.Value
JSON Schema Description |
---|
{ "returns": { "$ref": "Playlist.Property.Value" }, "params": [ { "required": true, "name": "playlistid", "$ref": "Playlist.Id" }, { "uniqueItems": true, "items": { "$ref": "Playlist.Property.Name" }, "required": true, "type": "array", "name": "properties" } ], "description": "Retrieves the values of the given properties" } |
Playlist.Insert
Insert item(s) into playlist. Does not work for picture playlists (aka slideshows).
Permissions:
- ControlPlayback
Parameters:
- Playlist.Id playlistid
- Playlist.Position position
- Playlist.Item item
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playlistid", "$ref": "Playlist.Id" }, { "required": true, "name": "position", "$ref": "Playlist.Position" }, { "required": true, "name": "item", "$ref": "Playlist.Item" } ], "description": "Insert item(s) into playlist. Does not work for picture playlists (aka slideshows)." } |
Playlist.Remove
Remove item from playlist. Does not work for picture playlists (aka slideshows).
Permissions:
- ControlPlayback
Parameters:
- Playlist.Id playlistid
- Playlist.Position position
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playlistid", "$ref": "Playlist.Id" }, { "required": true, "name": "position", "$ref": "Playlist.Position" } ], "description": "Remove item from playlist. Does not work for picture playlists (aka slideshows)." } |
Playlist.Swap
Swap items in the playlist. Does not work for picture playlists (aka slideshows).
Permissions:
- ControlPlayback
Parameters:
- Playlist.Id playlistid
- Playlist.Position position1
- Playlist.Position position2
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "required": true, "name": "playlistid", "$ref": "Playlist.Id" }, { "required": true, "name": "position1", "$ref": "Playlist.Position" }, { "required": true, "name": "position2", "$ref": "Playlist.Position" } ], "description": "Swap items in the playlist. Does not work for picture playlists (aka slideshows)." } |
System
System.GetProperties
Retrieves the values of the given properties
Permissions:
- ReadData
Parameters:
- System.Property.Name[] properties
Returns: System.Property.Value
JSON Schema Description |
---|
{ "returns": { "$ref": "System.Property.Value" }, "params": [ { "uniqueItems": true, "items": { "$ref": "System.Property.Name" }, "required": true, "type": "array", "name": "properties" } ], "description": "Retrieves the values of the given properties" } |
System.Hibernate
Puts the system running XBMC into hibernate mode
Permissions:
- ControlPower
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Puts the system running Kodi into hibernate mode" } |
System.Reboot
Reboots the system running XBMC
Permissions:
- ControlPower
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Reboots the system running XBMC" } |
System.Shutdown
Shuts the system running XBMC down
Permissions:
- ControlPower
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Shuts the system running Kodi down" } |
System.Suspend
Suspends the system running XBMC
Permissions:
- ControlPower
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Suspends the system running XBMC" } |
VideoLibrary
VideoLibrary.Clean
Cleans the video library from non-existent items
Permissions:
- RemoveData
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Cleans the video library from non-existent items" } |
VideoLibrary.Export
Exports all items from the video library
Permissions:
- WriteFile
Parameters:
- [ mixed options ]
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [ { "type": [ { "additionalProperties": false, "type": "object", "properties": { "path": { "minLength": 1, "required": true, "type": "string", "description": "Path to the directory to where the data should be exported" } } }, { "additionalProperties": false, "type": "object", "properties": { "images": { "default": false, "type": "boolean", "description": "Whether to export thumbnails and fanart images" }, "overwrite": { "default": false, "type": "boolean", "description": "Whether to overwrite existing exported files" }, "actorthumbs": { "default": false, "type": "boolean", "description": "Whether to export actor thumbnails" } } } ], "name": "options" } ], "description": "Exports all items from the video library" } |
VideoLibrary.GetEpisodeDetails
Retrieve details about a specific tv show episode
Permissions:
- ReadData
Parameters:
- Library.Id episodeid
- [ Video.Fields.Episode properties ]
Returns:
Type: object
Properties:
- [ Video.Details.Episode episodedetails ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "episodedetails": { "$ref": "Video.Details.Episode" } } }, "params": [ { "required": true, "name": "episodeid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Video.Fields.Episode" } ], "description": "Retrieve details about a specific tv show episode" } |
VideoLibrary.GetEpisodes
Retrieve all tv show episodes
Permissions:
- ReadData
Parameters:
- [ Library.Id tvshowid = -1 ]
- [ integer season = -1 ]
- [ Video.Fields.Episode properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- [ Video.Details.Episode[] episodes ]
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "episodes": { "items": { "$ref": "Video.Details.Episode" }, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "default": -1, "name": "tvshowid", "$ref": "Library.Id" }, { "default": -1, "minimum": 0, "type": "integer", "name": "season" }, { "name": "properties", "$ref": "Video.Fields.Episode" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all tv show episodes" } |
VideoLibrary.GetGenres
Retrieve all genres
Permissions:
- ReadData
Parameters:
- string type
- [ Library.Fields.Genre properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- Library.Details.Genre[] genres
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "genres": { "items": { "$ref": "Library.Details.Genre" }, "required": true, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "enums": [ "movie", "tvshow", "musicvideo" ], "type": "string", "name": "type", "required": true }, { "name": "properties", "$ref": "Library.Fields.Genre" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all genres" } |
VideoLibrary.GetMovieDetails
Retrieve details about a specific movie
Permissions:
- ReadData
Parameters:
- Library.Id movieid
- [ Video.Fields.Movie properties ]
Returns:
Type: object
Properties:
- [ Video.Details.Movie moviedetails ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "moviedetails": { "$ref": "Video.Details.Movie" } } }, "params": [ { "required": true, "name": "movieid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Video.Fields.Movie" } ], "description": "Retrieve details about a specific movie" } |
VideoLibrary.GetMovieSetDetails
Retrieve details about a specific movie set
Permissions:
- ReadData
Parameters:
- Library.Id setid
- [ Video.Fields.MovieSet properties ]
- [ object movies ]
Properties:
- [ List.Sort sort ]
- [ Video.Fields.Movie properties ]
- [ List.Limits limits ]
Returns:
Type: object
Properties:
- [ Video.Details.MovieSet.Extended setdetails ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "setdetails": { "$ref": "Video.Details.MovieSet.Extended" } } }, "params": [ { "required": true, "name": "setid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Video.Fields.MovieSet" }, { "type": "object", "name": "movies", "properties": { "sort": { "$ref": "List.Sort" }, "properties": { "$ref": "Video.Fields.Movie" }, "limits": { "$ref": "List.Limits" } } } ], "description": "Retrieve details about a specific movie set" } |
VideoLibrary.GetMovieSets
Retrieve all movie sets
Permissions:
- ReadData
Parameters:
- [ Video.Fields.MovieSet properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- List.LimitsReturned limits
- [ Video.Details.MovieSet[] sets ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "limits": { "required": true, "$ref": "List.LimitsReturned" }, "sets": { "items": { "$ref": "Video.Details.MovieSet" }, "type": "array" } } }, "params": [ { "name": "properties", "$ref": "Video.Fields.MovieSet" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all movie sets" } |
VideoLibrary.GetMovies
Retrieve all movies
Permissions:
- ReadData
Parameters:
- [ Video.Fields.Movie properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- [ Video.Details.Movie[] movies ]
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "movies": { "items": { "$ref": "Video.Details.Movie" }, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "name": "properties", "$ref": "Video.Fields.Movie" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all movies" } |
VideoLibrary.GetMusicVideoDetails
Retrieve details about a specific music video
Permissions:
- ReadData
Parameters:
- Library.Id musicvideoid
- [ Video.Fields.MusicVideo properties ]
Returns:
Type: object
Properties:
- [ Video.Details.MusicVideo musicvideodetails ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "musicvideodetails": { "$ref": "Video.Details.MusicVideo" } } }, "params": [ { "required": true, "name": "musicvideoid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Video.Fields.MusicVideo" } ], "description": "Retrieve details about a specific music video" } |
VideoLibrary.GetMusicVideos
Retrieve all music videos
Permissions:
- ReadData
Parameters:
- [ Library.Id artistid = -1 ]
- [ Library.Id albumid = -1 ]
- [ Video.Fields.MusicVideo properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- [ Video.Details.MusicVideo[] musicvideos ]
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "musicvideos": { "items": { "$ref": "Video.Details.MusicVideo" }, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "default": -1, "name": "artistid", "$ref": "Library.Id" }, { "default": -1, "name": "albumid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Video.Fields.MusicVideo" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all music videos" } |
VideoLibrary.GetRecentlyAddedEpisodes
Retrieve all recently added tv episodes
Permissions:
- ReadData
Parameters:
- [ Video.Fields.Episode properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- [ Video.Details.Episode[] episodes ]
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "episodes": { "items": { "$ref": "Video.Details.Episode" }, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "name": "properties", "$ref": "Video.Fields.Episode" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all recently added tv episodes" } |
VideoLibrary.GetRecentlyAddedMovies
Retrieve all recently added movies
Permissions:
- ReadData
Parameters:
- [ Video.Fields.Movie properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- [ Video.Details.Movie[] movies ]
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "movies": { "items": { "$ref": "Video.Details.Movie" }, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "name": "properties", "$ref": "Video.Fields.Movie" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all recently added movies" } |
VideoLibrary.GetRecentlyAddedMusicVideos
Retrieve all recently added music videos
Permissions:
- ReadData
Parameters:
- [ Video.Fields.MusicVideo properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- [ Video.Details.MusicVideo[] musicvideos ]
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "musicvideos": { "items": { "$ref": "Video.Details.MusicVideo" }, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "name": "properties", "$ref": "Video.Fields.MusicVideo" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all recently added music videos" } |
VideoLibrary.GetSeasons
Retrieve all tv seasons
Permissions:
- ReadData
Parameters:
- Library.Id tvshowid
- [ Video.Fields.Season properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- [ Video.Details.Season[] seasons ]
- List.LimitsReturned limits
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "seasons": { "items": { "$ref": "Video.Details.Season" }, "type": "array" }, "limits": { "required": true, "$ref": "List.LimitsReturned" } } }, "params": [ { "required": true, "name": "tvshowid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Video.Fields.Season" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all tv seasons" } |
VideoLibrary.GetTVShowDetails
Retrieve details about a specific tv show
Permissions:
- ReadData
Parameters:
- Library.Id tvshowid
- [ Video.Fields.TVShow properties ]
Returns:
Type: object
Properties:
- [ Video.Details.TVShow tvshowdetails ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "tvshowdetails": { "$ref": "Video.Details.TVShow" } } }, "params": [ { "required": true, "name": "tvshowid", "$ref": "Library.Id" }, { "name": "properties", "$ref": "Video.Fields.TVShow" } ], "description": "Retrieve details about a specific tv show" } |
VideoLibrary.GetTVShows
Retrieve all tv shows
Permissions:
- ReadData
Parameters:
- [ Video.Fields.TVShow properties ]
- [ List.Limits limits ]
- [ List.Sort sort ]
Returns:
Type: object
Properties:
- List.LimitsReturned limits
- [ Video.Details.TVShow[] tvshows ]
JSON Schema Description |
---|
{ "returns": { "type": "object", "properties": { "limits": { "required": true, "$ref": "List.LimitsReturned" }, "tvshows": { "items": { "$ref": "Video.Details.TVShow" }, "type": "array" } } }, "params": [ { "name": "properties", "$ref": "Video.Fields.TVShow" }, { "name": "limits", "$ref": "List.Limits" }, { "name": "sort", "$ref": "List.Sort" } ], "description": "Retrieve all tv shows" } |
VideoLibrary.Scan
Scans the video sources for new library items
Permissions:
- UpdateData
Parameters: None
Returns: string
JSON Schema Description |
---|
{ "returns": { "type": "string" }, "params": [], "description": "Scans the video sources for new library items" } |
XBMC
XBMC.GetInfoBooleans
Retrieve info booleans about XBMC and the system
Permissions:
- ReadData
Parameters:
- array[1..X] booleans
Returns:
Type: object
JSON Schema Description |
---|
{ "returns": { "type": "object", "description": "List of key-value pairs of the retrieved info booleans" }, "params": [ { "minItems": 1, "items": { "type": "string" }, "required": true, "type": "array", "name": "booleans" } ], "description": "Retrieve info booleans about Kodi and the system" } |
XBMC.GetInfoLabels
Retrieve info labels about XBMC and the system
Permissions:
- ReadData
Parameters:
- array[1..X] labels
Returns:
Type: object
JSON Schema Description |
---|
{ "returns": { "type": "object", "description": "List of key-value pairs of the retrieved info labels" }, "params": [ { "description": "See http://wiki.xbmc.org/index.php?title=InfoLabels for a list of possible info labels", "minItems": 1, "items": { "type": "string" }, "required": true, "type": "array", "name": "labels" } ], "description": "Retrieve info labels about Kodi and the system" } |
Global types
Application
Application.Property.Name
Type: string
JSON Schema Description |
---|
{ "default": "volume", "enums": [ "volume", "muted", "name", "version" ], "type": "string", "id": "Application.Property.Name" } |
Application.Property.Value
Type: object
Properties:
- [ boolean muted = False ]
- [ integer volume = 0 ]
- [ object version ]
Properties:
- integer major
- string tag
- integer minor
- [ mixed revision = null ]
- [ string name = "" ]
JSON Schema Description |
---|
{ "type": "object", "id": "Application.Property.Value", "properties": { "muted": { "default": false, "type": "boolean" }, "volume": { "default": 0, "type": "integer" }, "version": { "type": "object", "properties": { "major": { "minimum": 0, "type": "integer", "required": true }, "tag": { "enums": [ "prealpha", "alpha", "beta", "releasecandidate", "stable" ], "type": "string", "required": true }, "minor": { "minimum": 0, "type": "integer", "required": true }, "revision": { "default": null, "type": [ { "type": "string" }, { "minimum": 0, "type": "integer" } ] } } }, "name": { "default": "", "minLength": 1, "type": "string" } } } |
Array
Array.Integer
Type: array
JSON Schema Description |
---|
{ "items": { "type": "integer" }, "type": "array", "id": "Array.Integer" } |
Array.String
Type: array
JSON Schema Description |
---|
{ "items": { "minLength": 1, "type": "string" }, "type": "array", "id": "Array.String" } |
Audio
Audio.Details.Album
Extends:
Properties:
- [ string style = "" ]
- [ string mood = "" ]
- [ string albumlabel = "" ]
- [ string theme = "" ]
- Library.Id albumid
- [ Library.Id artistid = -1 ]
- [ string type = "" ]
- [ string description = "" ]
JSON Schema Description |
---|
{ "extends": "Audio.Details.Media", "id": "Audio.Details.Album", "properties": { "style": { "default": "", "type": "string" }, "mood": { "default": "", "type": "string" }, "albumlabel": { "default": "", "type": "string" }, "theme": { "default": "", "type": "string" }, "albumid": { "required": true, "$ref": "Library.Id" }, "artistid": { "default": -1, "$ref": "Library.Id" }, "type": { "default": "", "type": "string" }, "description": { "default": "", "type": "string" } } } |
Audio.Details.Artist
Extends:
Properties:
- [ string style = "" ]
- [ string description = "" ]
- [ string musicbrainzartistid = "" ]
- string artist
- [ string formed = "" ]
- [ string disbanded = "" ]
- [ string born = "" ]
- Library.Id artistid
- [ string yearsactive = "" ]
- [ string instrument = "" ]
- [ string died = "" ]
- [ string mood = "" ]
JSON Schema Description |
---|
{ "extends": "Audio.Details.Base", "id": "Audio.Details.Artist", "properties": { "style": { "default": "", "type": "string" }, "description": { "default": "", "type": "string" }, "musicbrainzartistid": { "default": "", "type": "string" }, "artist": { "required": true, "type": "string" }, "formed": { "default": "", "type": "string" }, "disbanded": { "default": "", "type": "string" }, "born": { "default": "", "type": "string" }, "artistid": { "required": true, "$ref": "Library.Id" }, "yearsactive": { "default": "", "type": "string" }, "instrument": { "default": "", "type": "string" }, "died": { "default": "", "type": "string" }, "mood": { "default": "", "type": "string" } } } |
Audio.Details.Base
Extends:
Properties:
- [ string genre = "" ]
JSON Schema Description |
---|
{ "extends": "Media.Details.Base", "id": "Audio.Details.Base", "properties": { "genre": { "default": "", "type": "string" } } } |
Audio.Details.Media
Extends:
Properties:
- [ integer rating = 0 ]
- [ string title = "" ]
- [ string artist = "" ]
- [ string musicbrainzalbumartistid = "" ]
- [ integer year = 0 ]
- [ string musicbrainzalbumid = "" ]
JSON Schema Description |
---|
{ "extends": "Audio.Details.Base", "id": "Audio.Details.Media", "properties": { "rating": { "default": 0, "type": "integer" }, "title": { "default": "", "type": "string" }, "artist": { "default": "", "type": "string" }, "musicbrainzalbumartistid": { "default": "", "type": "string" }, "year": { "default": 0, "type": "integer" }, "musicbrainzalbumid": { "default": "", "type": "string" } } } |
Audio.Details.Song
Extends:
Properties:
- [ string album = "" ]
- [ string comment = "" ]
- Library.Id songid
- [ string musicbrainzartistid = "" ]
- [ string lyrics = "" ]
- [ integer track = 0 ]
- [ string musicbrainztrackid = "" ]
- [ Library.Id albumid = -1 ]
- [ Library.Id artistid = -1 ]
- [ string albumartist = "" ]
- [ string file = "" ]
- [ integer duration = 0 ]
- [ integer playcount = 0 ]
JSON Schema Description |
---|
{ "extends": "Audio.Details.Media", "id": "Audio.Details.Song", "properties": { "album": { "default": "", "type": "string" }, "comment": { "default": "", "type": "string" }, "songid": { "required": true, "$ref": "Library.Id" }, "musicbrainzartistid": { "default": "", "type": "string" }, "lyrics": { "default": "", "type": "string" }, "track": { "default": 0, "type": "integer" }, "musicbrainztrackid": { "default": "", "type": "string" }, "albumid": { "default": -1, "$ref": "Library.Id" }, "artistid": { "default": -1, "$ref": "Library.Id" }, "albumartist": { "default": "", "type": "string" }, "file": { "default": "", "type": "string" }, "duration": { "default": 0, "type": "integer" }, "playcount": { "default": 0, "type": "integer" } } } |
Audio.Fields.Album
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "title", "description", "artist", "genre", "theme", "mood", "style", "type", "albumlabel", "rating", "year", "musicbrainzalbumid", "musicbrainzalbumartistid", "fanart", "thumbnail", "artistid" ], "type": "string" }, "extends": "Item.Fields.Base", "id": "Audio.Fields.Album" } |
Audio.Fields.Artist
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "instrument", "style", "mood", "born", "formed", "description", "genre", "died", "disbanded", "yearsactive", "musicbrainzartistid", "fanart", "thumbnail" ], "type": "string" }, "extends": "Item.Fields.Base", "id": "Audio.Fields.Artist" } |
Audio.Fields.Song
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "title", "artist", "albumartist", "genre", "year", "rating", "album", "track", "duration", "comment", "lyrics", "musicbrainztrackid", "musicbrainzartistid", "musicbrainzalbumid", "musicbrainzalbumartistid", "playcount", "fanart", "thumbnail", "file", "artistid", "albumid" ], "type": "string" }, "extends": "Item.Fields.Base", "id": "Audio.Fields.Song" } |
Configuration
Configuration
Type: object
Properties:
- Configuration.Notifications notifications
JSON Schema Description |
---|
{ "required": true, "type": "object", "id": "Configuration", "properties": { "notifications": { "required": true, "$ref": "Configuration.Notifications" } } } |
Configuration.Notifications
Type: object
Properties:
- boolean gui
- boolean system
- boolean player
- boolean audiolibrary
- boolean other
- boolean videolibrary
JSON Schema Description |
---|
{ "additionalProperties": false, "type": "object", "id": "Configuration.Notifications", "properties": { "gui": { "required": true, "type": "boolean" }, "system": { "required": true, "type": "boolean" }, "player": { "required": true, "type": "boolean" }, "audiolibrary": { "required": true, "type": "boolean" }, "other": { "required": true, "type": "boolean" }, "videolibrary": { "required": true, "type": "boolean" } } } |
Files
Files.Media
Type: string
JSON Schema Description |
---|
{ "default": "video", "enums": [ "video", "music", "pictures", "files", "programs" ], "type": "string", "id": "Files.Media" } |
Global
Global.Time
Type: object
Properties:
- integer hours
- integer seconds
- integer minutes
- integer milliseconds
JSON Schema Description |
---|
{ "additionalProperties": false, "type": "object", "id": "Global.Time", "properties": { "hours": { "minimum": 0, "type": "integer", "maximum": 23, "required": true }, "seconds": { "minimum": 0, "type": "integer", "maximum": 59, "required": true }, "minutes": { "minimum": 0, "type": "integer", "maximum": 59, "required": true }, "milliseconds": { "minimum": 0, "type": "integer", "maximum": 999, "required": true } } } |
Item
Item.Details.Base
Type: object
Properties:
- string label
JSON Schema Description |
---|
{ "type": "object", "id": "Item.Details.Base", "properties": { "label": { "required": true, "type": "string" } } } |
Item.Fields.Base
Type: array
JSON Schema Description |
---|
{ "uniqueItems": true, "items": { "type": "string" }, "type": "array", "id": "Item.Fields.Base" } |
Library
Library.Details.Genre
Extends:
Properties:
- Library.Id genreid
- [ string thumbnail = "" ]
- [ string title = "" ]
JSON Schema Description |
---|
{ "extends": "Item.Details.Base", "id": "Library.Details.Genre", "properties": { "genreid": { "required": true, "$ref": "Library.Id" }, "thumbnail": { "default": "", "type": "string" }, "title": { "default": "", "type": "string" } } } |
Library.Fields.Genre
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "title", "thumbnail" ], "type": "string" }, "extends": "Item.Fields.Base", "id": "Library.Fields.Genre" } |
Library.Id
Type: integer
JSON Schema Description |
---|
{ "default": -1, "minimum": 1, "type": "integer", "id": "Library.Id" } |
List
List.Amount
Type: integer
JSON Schema Description |
---|
{ "default": -1, "minimum": 0, "type": "integer", "id": "List.Amount" } |
List.Fields.All
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "title", "artist", "albumartist", "genre", "year", "rating", "album", "track", "duration", "comment", "lyrics", "musicbrainztrackid", "musicbrainzartistid", "musicbrainzalbumid", "musicbrainzalbumartistid", "playcount", "fanart", "director", "trailer", "tagline", "plot", "plotoutline", "originaltitle", "lastplayed", "writer", "studio", "mpaa", "cast", "country", "imdbnumber", "premiered", "productioncode", "runtime", "set", "showlink", "streamdetails", "top250", "votes", "firstaired", "season", "episode", "showtitle", "thumbnail", "file", "resume", "artistid", "albumid", "tvshowid", "setid" ], "type": "string" }, "extends": "Item.Fields.Base", "id": "List.Fields.All" } |
List.Item.All
Extends:
Properties:
- [ string comment = "" ]
- [ Library.Id tvshowid = -1 ]
- [ Array.String set ]
- [ string lyrics = "" ]
- [ string albumartist = "" ]
- [ integer duration = 0 ]
- [ Array.Integer setid ]
- [ Library.Id id = -1 ]
- [ string album = "" ]
- [ string votes = "" ]
- [ string mpaa = "" ]
- [ string writer = "" ]
- [ Library.Id albumid = -1 ]
- [ string type = "unknown" ]
- [ string plotoutline = "" ]
- [ integer track = 0 ]
- [ integer season = 0 ]
- [ string musicbrainztrackid = "" ]
- [ string imdbnumber = "" ]
- [ string studio = "" ]
- [ string showlink = "" ]
- [ string showtitle = "" ]
- [ integer episode = 0 ]
- [ string musicbrainzartistid = "" ]
- [ string productioncode = "" ]
- [ string country = "" ]
- [ string premiered = "" ]
- [ string originaltitle = "" ]
- [ Video.Cast cast ]
- [ Library.Id artistid = -1 ]
- [ string firstaired = "" ]
- [ string tagline = "" ]
- [ integer top250 = 0 ]
- [ string trailer = "" ]
JSON Schema Description |
---|
{ "extends": [ "Video.Details.File", "Audio.Details.Media" ], "id": "List.Item.All", "properties": { "comment": { "default": "", "type": "string" }, "tvshowid": { "default": -1, "$ref": "Library.Id" }, "set": { "$ref": "Array.String" }, "lyrics": { "default": "", "type": "string" }, "albumartist": { "default": "", "type": "string" }, "duration": { "default": 0, "type": "integer" }, "setid": { "$ref": "Array.Integer" }, "id": { "default": -1, "$ref": "Library.Id" }, "album": { "default": "", "type": "string" }, "votes": { "default": "", "type": "string" }, "mpaa": { "default": "", "type": "string" }, "writer": { "default": "", "type": "string" }, "albumid": { "default": -1, "$ref": "Library.Id" }, "type": { "default": "unknown", "enums": [ "unknown", "movie", "episode", "musicvideo", "song", "picture" ], "type": "string" }, "plotoutline": { "default": "", "type": "string" }, "track": { "default": 0, "type": "integer" }, "season": { "default": 0, "type": "integer" }, "musicbrainztrackid": { "default": "", "type": "string" }, "imdbnumber": { "default": "", "type": "string" }, "studio": { "default": "", "type": "string" }, "showlink": { "default": "", "type": "string" }, "showtitle": { "default": "", "type": "string" }, "episode": { "default": 0, "type": "integer" }, "musicbrainzartistid": { "default": "", "type": "string" }, "productioncode": { "default": "", "type": "string" }, "country": { "default": "", "type": "string" }, "premiered": { "default": "", "type": "string" }, "originaltitle": { "default": "", "type": "string" }, "cast": { "$ref": "Video.Cast" }, "artistid": { "default": -1, "$ref": "Library.Id" }, "firstaired": { "default": "", "type": "string" }, "tagline": { "default": "", "type": "string" }, "top250": { "default": 0, "type": "integer" }, "trailer": { "default": "", "type": "string" } } } |
List.Item.File
Extends:
Properties:
- string filetype
- string file
JSON Schema Description |
---|
{ "extends": "List.Item.All", "id": "List.Item.File", "properties": { "filetype": { "enums": [ "file", "directory" ], "type": "string", "required": true }, "file": { "required": true, "type": "string" } } } |
List.Items.Sources
Type: array
JSON Schema Description |
---|
{ "items": { "extends": "Item.Details.Base", "properties": { "file": { "required": true, "type": "string" } } }, "type": "array", "id": "List.Items.Sources" } |
List.Limits
Type: object
Properties:
- [ integer start = 0 ]
- [ integer end = -1 ]
JSON Schema Description |
---|
{ "additionalProperties": false, "type": "object", "id": "List.Limits", "properties": { "start": { "default": 0, "minimum": 0, "type": "integer" }, "end": { "default": -1, "minimum": 0, "type": "integer" } } } |
List.LimitsReturned
Type: object
Properties:
- [ integer start = 0 ]
- integer total
- [ integer end = -1 ]
JSON Schema Description |
---|
{ "additionalProperties": false, "type": "object", "id": "List.LimitsReturned", "properties": { "start": { "default": 0, "minimum": 0, "type": "integer" }, "total": { "minimum": 0, "type": "integer", "required": true }, "end": { "default": -1, "minimum": 0, "type": "integer" } } } |
List.Sort
Type: object
Properties:
- [ string order = "ascending" ]
- [ boolean ignorearticle = False ]
- [ string method = "none" ]
JSON Schema Description |
---|
{ "type": "object", "id": "List.Sort", "properties": { "order": { "default": "ascending", "enums": [ "ascending", "descending" ], "type": "string" }, "ignorearticle": { "default": false, "type": "boolean" }, "method": { "default": "none", "enums": [ "none", "label", "date", "size", "file", "drivetype", "track", "duration", "title", "artist", "album", "genre", "year", "videorating", "programcount", "playlist", "episode", "videotitle", "sorttitle", "productioncode", "songrating", "mpaarating", "videoruntime", "studio", "fullpath", "lastplayed", "unsorted", "max" ], "type": "string" } } } |
Media
Media.Details.Base
Extends:
Properties:
- [ string fanart = "" ]
- [ string thumbnail = "" ]
JSON Schema Description |
---|
{ "extends": "Item.Details.Base", "id": "Media.Details.Base", "properties": { "fanart": { "default": "", "type": "string" }, "thumbnail": { "default": "", "type": "string" } } } |
Optional
Optional.Boolean
Type: mixed
JSON Schema Description |
---|
{ "default": null, "type": [ { "type": "null" }, { "type": "boolean" } ], "id": "Optional.Boolean" } |
Player
Player.Audio.Stream
Type: object
Properties:
- integer index
- string name
- string language
JSON Schema Description |
---|
{ "type": "object", "id": "Player.Audio.Stream", "properties": { "index": { "minimum": 0, "type": "integer", "required": true }, "name": { "required": true, "type": "string" }, "language": { "required": true, "type": "string" } } } |
Player.Audio.Stream.Extended
Extends:
Properties:
- integer channels
- string codec
- integer bitrate
JSON Schema Description |
---|
{ "extends": "Player.Audio.Stream", "id": "Player.Audio.Stream.Extended", "properties": { "channels": { "required": true, "type": "integer" }, "codec": { "required": true, "type": "string" }, "bitrate": { "required": true, "type": "integer" } } } |
Player.Id
Type: integer
JSON Schema Description |
---|
{ "default": -1, "minimum": 0, "type": "integer", "id": "Player.Id", "maximum": 2 } |
Player.Notifications.Data
Type: object
Properties:
- Player.Notifications.Item item
- Player.Notifications.Player player
JSON Schema Description |
---|
{ "type": "object", "id": "Player.Notifications.Data", "properties": { "item": { "required": true, "$ref": "Player.Notifications.Item" }, "player": { "required": true, "$ref": "Player.Notifications.Player" } } } |
Player.Notifications.Item
Type: mixed
JSON Schema Description |
---|
{ "type": [ { "type": "object", "description": "An unknown item does not have any additional information.", "properties": { "type": { "required": true, "$ref": "Player.Notifications.Item.Type" } } }, { "type": "object", "description": "An item known to the database has an identification.", "properties": { "type": { "required": true, "$ref": "Player.Notifications.Item.Type" }, "id": { "required": true, "$ref": "Library.Id" } } }, { "type": "object", "description": "A movie item has a title and may have a release year.", "properties": { "year": { "default": 0, "type": "integer" }, "type": { "required": true, "$ref": "Player.Notifications.Item.Type" }, "title": { "required": true, "type": "string" } } }, { "type": "object", "description": "A tv episode has a title and may have an episode number, season number and the title of the show it belongs to.", "properties": { "season": { "default": 0, "type": "integer" }, "type": { "required": true, "$ref": "Player.Notifications.Item.Type" }, "episode": { "default": 0, "type": "integer" }, "showtitle": { "default": "", "type": "string" }, "title": { "required": true, "type": "string" } } }, { "type": "object", "description": "A music video has a title and may have an album and an artist.", "properties": { "album": { "default": "", "type": "string" }, "title": { "required": true, "type": "string" }, "type": { "required": true, "$ref": "Player.Notifications.Item.Type" }, "artist": { "default": "", "type": "string" } } }, { "type": "object", "description": "A song has a title and may have an album, an artist and a track number.", "properties": { "album": { "default": "", "type": "string" }, "track": { "default": 0, "type": "integer" }, "title": { "required": true, "type": "string" }, "type": { "required": true, "$ref": "Player.Notifications.Item.Type" }, "artist": { "default": "", "type": "string" } } } ], "id": "Player.Notifications.Item" } |
Player.Notifications.Item.Type
Type: string
JSON Schema Description |
---|
{ "default": "unknown", "enums": [ "unknown", "movie", "episode", "musicvideo", "song" ], "type": "string", "id": "Player.Notifications.Item.Type" } |
Player.Notifications.Player
Type: object
Properties:
- Player.Id playerid
- [ integer speed = 0 ]
JSON Schema Description |
---|
{ "type": "object", "id": "Player.Notifications.Player", "properties": { "playerid": { "required": true, "$ref": "Player.Id" }, "speed": { "default": 0, "type": "integer" } } } |
Player.Notifications.Player.Seek
Extends:
Properties:
- [ Global.Time seekoffset ]
- [ Global.Time time ]
JSON Schema Description |
---|
{ "extends": "Player.Notifications.Player", "id": "Player.Notifications.Player.Seek", "properties": { "seekoffset": { "$ref": "Global.Time" }, "time": { "$ref": "Global.Time" } } } |
Player.Position.Percentage
Type: number
JSON Schema Description |
---|
{ "default": 0, "minimum": 0, "type": "number", "id": "Player.Position.Percentage", "maximum": 100 } |
Player.Property.Name
Type: string
JSON Schema Description |
---|
{ "default": "type", "enums": [ "type", "partymode", "speed", "time", "percentage", "totaltime", "playlistid", "position", "repeat", "shuffled", "canseek", "canchangespeed", "canmove", "canzoom", "canrotate", "canshuffle", "canrepeat", "currentaudiostream", "audiostreams", "subtitleenabled", "currentsubtitle", "subtitles" ], "type": "string", "id": "Player.Property.Name" } |
Player.Property.Value
Type: object
Properties:
- [ boolean canrotate = False ]
- [ boolean canrepeat = False ]
- [ integer speed = 0 ]
- [ boolean canshuffle = False ]
- [ boolean shuffled = False ]
- [ boolean canmove = False ]
- [ boolean subtitleenabled = False ]
- [ Player.Position.Percentage percentage = 0 ]
- [ Player.Type type = "video" ]
- [ Player.Repeat repeat = "off" ]
- [ boolean canseek = False ]
- [ Player.Subtitle currentsubtitle ]
- [ Player.Subtitle[] subtitles ]
- [ Global.Time totaltime ]
- [ boolean canzoom = False ]
- [ Player.Audio.Stream.Extended currentaudiostream ]
- [ Playlist.Id playlistid = -1 ]
- [ Player.Audio.Stream.Extended[] audiostreams ]
- [ boolean partymode = False ]
- [ Global.Time time ]
- [ Playlist.Position position = -1 ]
- [ boolean canchangespeed = False ]
JSON Schema Description |
---|
{ "type": "object", "id": "Player.Property.Value", "properties": { "canrotate": { "default": false, "type": "boolean" }, "canrepeat": { "default": false, "type": "boolean" }, "speed": { "default": 0, "type": "integer" }, "canshuffle": { "default": false, "type": "boolean" }, "shuffled": { "default": false, "type": "boolean" }, "canmove": { "default": false, "type": "boolean" }, "subtitleenabled": { "default": false, "type": "boolean" }, "percentage": { "default": 0, "$ref": "Player.Position.Percentage" }, "type": { "default": "video", "$ref": "Player.Type" }, "repeat": { "default": "off", "$ref": "Player.Repeat" }, "canseek": { "default": false, "type": "boolean" }, "currentsubtitle": { "$ref": "Player.Subtitle" }, "subtitles": { "items": { "$ref": "Player.Subtitle" }, "type": "array" }, "totaltime": { "$ref": "Global.Time" }, "canzoom": { "default": false, "type": "boolean" }, "currentaudiostream": { "$ref": "Player.Audio.Stream.Extended" }, "playlistid": { "default": -1, "$ref": "Playlist.Id" }, "audiostreams": { "items": { "$ref": "Player.Audio.Stream.Extended" }, "type": "array" }, "partymode": { "default": false, "type": "boolean" }, "time": { "$ref": "Global.Time" }, "position": { "default": -1, "$ref": "Playlist.Position" }, "canchangespeed": { "default": false, "type": "boolean" } } } |
Player.Repeat
Type: string
JSON Schema Description |
---|
{ "default": "off", "enums": [ "off", "one", "all" ], "type": "string", "id": "Player.Repeat" } |
Player.Speed
Type: object
Properties:
- [ integer speed = 0 ]
JSON Schema Description |
---|
{ "required": true, "type": "object", "id": "Player.Speed", "properties": { "speed": { "default": 0, "type": "integer" } } } |
Player.Subtitle
Type: object
Properties:
- integer index
- string name
- string language
JSON Schema Description |
---|
{ "type": "object", "id": "Player.Subtitle", "properties": { "index": { "minimum": 0, "type": "integer", "required": true }, "name": { "required": true, "type": "string" }, "language": { "required": true, "type": "string" } } } |
Player.Type
Type: string
JSON Schema Description |
---|
{ "default": "video", "enums": [ "video", "audio", "picture" ], "type": "string", "id": "Player.Type" } |
Playlist
Playlist.Id
Type: integer
JSON Schema Description |
---|
{ "default": -1, "minimum": 0, "type": "integer", "id": "Playlist.Id", "maximum": 2 } |
Playlist.Item
Type: mixed
JSON Schema Description |
---|
{ "type": [ { "additionalProperties": false, "type": "object", "properties": { "file": { "required": true, "type": "string", "description": "Path to a file (not a directory) to be added to the playlist" } } }, { "additionalProperties": false, "type": "object", "properties": { "directory": { "required": true, "type": "string" } } }, { "additionalProperties": false, "type": "object", "properties": { "movieid": { "required": true, "$ref": "Library.Id" } } }, { "additionalProperties": false, "type": "object", "properties": { "episodeid": { "required": true, "$ref": "Library.Id" } } }, { "additionalProperties": false, "type": "object", "properties": { "musicvideoid": { "required": true, "$ref": "Library.Id" } } }, { "additionalProperties": false, "type": "object", "properties": { "artistid": { "required": true, "$ref": "Library.Id" } } }, { "additionalProperties": false, "type": "object", "properties": { "albumid": { "required": true, "$ref": "Library.Id" } } }, { "additionalProperties": false, "type": "object", "properties": { "songid": { "required": true, "$ref": "Library.Id" } } }, { "additionalProperties": false, "type": "object", "properties": { "genreid": { "required": true, "description": "Identification of a genre from the AudioLibrary", "$ref": "Library.Id" } } } ], "id": "Playlist.Item" } |
Playlist.Position
Type: integer
JSON Schema Description |
---|
{ "default": -1, "minimum": 0, "type": "integer", "id": "Playlist.Position" } |
Playlist.Property.Name
Type: string
JSON Schema Description |
---|
{ "default": "type", "enums": [ "type", "size" ], "type": "string", "id": "Playlist.Property.Name" } |
Playlist.Property.Value
Type: object
Properties:
- [ Playlist.Type type = "unknown" ]
- [ integer size = 0 ]
JSON Schema Description |
---|
{ "type": "object", "id": "Playlist.Property.Value", "properties": { "type": { "default": "unknown", "$ref": "Playlist.Type" }, "size": { "default": 0, "minimum": 0, "type": "integer" } } } |
Playlist.Type
Type: string
JSON Schema Description |
---|
{ "default": "unknown", "enums": [ "unknown", "video", "audio", "picture", "mixed" ], "type": "string", "id": "Playlist.Type" } |
System
System.Property.Name
Type: string
JSON Schema Description |
---|
{ "default": "canshutdown", "enums": [ "canshutdown", "cansuspend", "canhibernate", "canreboot" ], "type": "string", "id": "System.Property.Name" } |
System.Property.Value
Type: object
Properties:
- [ boolean canreboot = False ]
- [ boolean cansuspend = False ]
- [ boolean canhibernate = False ]
- [ boolean canshutdown = False ]
JSON Schema Description |
---|
{ "type": "object", "id": "System.Property.Value", "properties": { "canreboot": { "default": false, "type": "boolean" }, "cansuspend": { "default": false, "type": "boolean" }, "canhibernate": { "default": false, "type": "boolean" }, "canshutdown": { "default": false, "type": "boolean" } } } |
Video
Video.Cast
Type: array
JSON Schema Description |
---|
{ "items": { "additionalProperties": false, "type": "object", "properties": { "role": { "required": true, "type": "string" }, "name": { "required": true, "type": "string" }, "thumbnail": { "default": "", "type": "string" } } }, "type": "array", "id": "Video.Cast" } |
Video.Details.Base
Extends:
Properties:
- [ integer playcount = 0 ]
JSON Schema Description |
---|
{ "extends": "Media.Details.Base", "id": "Video.Details.Base", "properties": { "playcount": { "default": 0, "type": "integer" } } } |
Video.Details.Episode
Extends:
Properties:
- [ number rating = 0 ]
- [ Library.Id tvshowid = -1 ]
- [ string votes = "" ]
- [ integer episode = 0 ]
- [ string productioncode = "" ]
- [ integer season = 0 ]
- [ string writer = "" ]
- Library.Id episodeid
- [ string originaltitle = "" ]
- [ Video.Cast cast ]
- [ string firstaired = "" ]
- [ string showtitle = "" ]
JSON Schema Description |
---|
{ "extends": "Video.Details.File", "id": "Video.Details.Episode", "properties": { "rating": { "default": 0, "type": "number" }, "tvshowid": { "default": -1, "$ref": "Library.Id" }, "votes": { "default": "", "type": "string" }, "episode": { "default": 0, "type": "integer" }, "productioncode": { "default": "", "type": "string" }, "season": { "default": 0, "type": "integer" }, "writer": { "default": "", "type": "string" }, "episodeid": { "required": true, "$ref": "Library.Id" }, "originaltitle": { "default": "", "type": "string" }, "cast": { "$ref": "Video.Cast" }, "firstaired": { "default": "", "type": "string" }, "showtitle": { "default": "", "type": "string" } } } |
Video.Details.File
Extends:
Properties:
- [ string director = "" ]
- [ Video.Streams streamdetails ]
- [ string runtime = "" ]
- [ Video.Resume resume ]
JSON Schema Description |
---|
{ "extends": "Video.Details.Item", "id": "Video.Details.File", "properties": { "director": { "default": "", "type": "string" }, "streamdetails": { "$ref": "Video.Streams" }, "runtime": { "default": "", "type": "string" }, "resume": { "$ref": "Video.Resume" } } } |
Video.Details.Item
Extends:
Properties:
- [ string plot = "" ]
- [ string lastplayed = "" ]
- [ string file = "" ]
JSON Schema Description |
---|
{ "extends": "Video.Details.Media", "id": "Video.Details.Item", "properties": { "plot": { "default": "", "type": "string" }, "lastplayed": { "default": "", "type": "string" }, "file": { "default": "", "type": "string" } } } |
Video.Details.Media
Extends:
Properties:
- [ string title = "" ]
JSON Schema Description |
---|
{ "extends": "Video.Details.Base", "id": "Video.Details.Media", "properties": { "title": { "default": "", "type": "string" } } } |
Video.Details.Movie
Extends:
Properties:
- [ number rating = 0 ]
- [ Array.String set ]
- [ integer year = 0 ]
- [ Array.Integer setid ]
- [ string votes = "" ]
- [ string tagline = "" ]
- [ string writer = "" ]
- [ string plotoutline = "" ]
- [ string sorttitle = "" ]
- [ string imdbnumber = "" ]
- [ string studio = "" ]
- [ string showlink = "" ]
- [ string genre = "" ]
- Library.Id movieid
- [ string productioncode = "" ]
- [ string country = "" ]
- [ string premiered = "" ]
- [ string originaltitle = "" ]
- [ Video.Cast cast ]
- [ string mpaa = "" ]
- [ integer top250 = 0 ]
- [ string trailer = "" ]
- [ array streamdetails = "" ]
JSON Schema Description |
---|
{ "extends": "Video.Details.File", "id": "Video.Details.Movie", "properties": { "rating": { "default": 0, "type": "number" }, "set": { "$ref": "Array.String" }, "year": { "default": 0, "type": "integer" }, "setid": { "$ref": "Array.Integer" }, "votes": { "default": "", "type": "string" }, "tagline": { "default": "", "type": "string" }, "writer": { "default": "", "type": "string" }, "plotoutline": { "default": "", "type": "string" }, "sorttitle": { "default": "", "type": "string" }, "imdbnumber": { "default": "", "type": "string" }, "studio": { "default": "", "type": "string" }, "showlink": { "default": "", "type": "string" }, "genre": { "default": "", "type": "string" }, "movieid": { "required": true, "$ref": "Library.Id" }, "productioncode": { "default": "", "type": "string" }, "country": { "default": "", "type": "string" }, "premiered": { "default": "", "type": "string" }, "originaltitle": { "default": "", "type": "string" }, "cast": { "$ref": "Video.Cast" }, "mpaa": { "default": "", "type": "string" }, "top250": { "default": 0, "type": "integer" }, "trailer": { "default": "", "type": "string" } } } |
Video.Details.MovieSet
Extends:
Properties:
- Library.Id setid
JSON Schema Description |
---|
{ "extends": "Video.Details.Media", "id": "Video.Details.MovieSet", "properties": { "setid": { "required": true, "$ref": "Library.Id" } } } |
Video.Details.MovieSet.Extended
Extends:
Properties:
- [ Video.Details.Movie[] movies ]
JSON Schema Description |
---|
{ "extends": "Video.Details.MovieSet", "id": "Video.Details.MovieSet.Extended", "properties": { "movies": { "items": { "$ref": "Video.Details.Movie" }, "type": "array" } } } |
Video.Details.MusicVideo
Extends:
Properties:
- [ string album = "" ]
- [ string artist = "" ]
- [ integer track = 0 ]
- [ string studio = "" ]
- [ integer year = 0 ]
- [ string genre = "" ]
- Library.Id musicvideoid
JSON Schema Description |
---|
{ "extends": "Video.Details.File", "id": "Video.Details.MusicVideo", "properties": { "album": { "default": "", "type": "string" }, "artist": { "default": "", "type": "string" }, "track": { "default": 0, "type": "integer" }, "studio": { "default": "", "type": "string" }, "year": { "default": 0, "type": "integer" }, "genre": { "default": "", "type": "string" }, "musicvideoid": { "required": true, "$ref": "Library.Id" } } } |
Video.Details.Season
Extends:
Properties:
- integer season
- [ Library.Id tvshowid = -1 ]
- [ integer episode = 0 ]
- [ string showtitle = "" ]
JSON Schema Description |
---|
{ "extends": "Video.Details.Base", "id": "Video.Details.Season", "properties": { "season": { "required": true, "type": "integer" }, "tvshowid": { "default": -1, "$ref": "Library.Id" }, "episode": { "default": 0, "type": "integer" }, "showtitle": { "default": "", "type": "string" } } } |
Video.Details.TVShow
Extends:
Properties:
- [ string episodeguide = "" ]
- Library.Id tvshowid
- [ integer episode = 0 ]
- [ string imdbnumber = "" ]
- [ number rating = 0 ]
- [ string mpaa = "" ]
- [ integer year = 0 ]
- [ string votes = "" ]
- [ string premiered = "" ]
- [ string originaltitle = "" ]
- [ Video.Cast cast ]
- [ string studio = "" ]
- [ string sorttitle = "" ]
- [ string genre = "" ]
JSON Schema Description |
---|
{ "extends": "Video.Details.Item", "id": "Video.Details.TVShow", "properties": { "episodeguide": { "default": "", "type": "string" }, "tvshowid": { "required": true, "$ref": "Library.Id" }, "episode": { "default": 0, "type": "integer" }, "imdbnumber": { "default": "", "type": "string" }, "rating": { "default": 0, "type": "number" }, "mpaa": { "default": "", "type": "string" }, "year": { "default": 0, "type": "integer" }, "votes": { "default": "", "type": "string" }, "premiered": { "default": "", "type": "string" }, "originaltitle": { "default": "", "type": "string" }, "cast": { "$ref": "Video.Cast" }, "studio": { "default": "", "type": "string" }, "sorttitle": { "default": "", "type": "string" }, "genre": { "default": "", "type": "string" } } } |
Video.Fields.Episode
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "title", "plot", "votes", "rating", "writer", "firstaired", "playcount", "runtime", "director", "productioncode", "season", "episode", "originaltitle", "showtitle", "cast", "streamdetails", "lastplayed", "fanart", "thumbnail", "file", "resume", "tvshowid" ], "type": "string", "description": "Requesting the cast and/or resume field will result in increased response times" }, "extends": "Item.Fields.Base", "id": "Video.Fields.Episode" } |
Video.Fields.Movie
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "title", "genre", "year", "rating", "director", "trailer", "tagline", "plot", "plotoutline", "originaltitle", "lastplayed", "playcount", "writer", "studio", "mpaa", "cast", "country", "imdbnumber", "premiered", "productioncode", "runtime", "set", "showlink", "streamdetails", "top250", "votes", "fanart", "thumbnail", "file", "sorttitle", "resume", "setid" ], "type": "string", "description": "Requesting the cast, set, showling and/or resume field will result in increased response times" }, "extends": "Item.Fields.Base", "id": "Video.Fields.Movie" } |
Video.Fields.MovieSet
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "title", "playcount", "fanart", "thumbnail" ], "type": "string" }, "extends": "Item.Fields.Base", "id": "Video.Fields.MovieSet" } |
Video.Fields.MusicVideo
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "title", "playcount", "runtime", "director", "studio", "year", "plot", "album", "artist", "genre", "track", "streamdetails", "lastplayed", "fanart", "thumbnail", "file", "resume" ], "type": "string", "description": "Requesting the resume field will result in increased response times" }, "extends": "Item.Fields.Base", "id": "Video.Fields.MusicVideo" } |
Video.Fields.Season
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "season", "showtitle", "playcount", "episode", "fanart", "thumbnail", "tvshowid" ], "type": "string" }, "extends": "Item.Fields.Base", "id": "Video.Fields.Season" } |
Video.Fields.TVShow
Extends:
JSON Schema Description |
---|
{ "items": { "enums": [ "title", "genre", "year", "rating", "plot", "studio", "mpaa", "cast", "playcount", "episode", "imdbnumber", "premiered", "votes", "lastplayed", "fanart", "thumbnail", "file", "originaltitle", "sorttitle", "episodeguide" ], "type": "string", "description": "Requesting the cast field will result in increased response times" }, "extends": "Item.Fields.Base", "id": "Video.Fields.TVShow" } |
Video.Resume
Type: object
Properties:
- [ number position = 0 ]
- [ number total = 0 ]
JSON Schema Description |
---|
{ "additionalProperties": false, "type": "object", "id": "Video.Resume", "properties": { "position": { "default": 0, "minimum": 0, "type": "number" }, "total": { "default": 0, "minimum": 0, "type": "number" } } } |
Video.Streams
Type: object
Properties:
- [ array[1..X] video ]
- [ array[1..X] audio ]
- [ array[1..X] subtitle ]
JSON Schema Description |
---|
{ "additionalProperties": false, "type": "object", "id": "Video.Streams", "properties": { "video": { "minItems": 1, "items": { "additionalProperties": false, "type": "object", "properties": { "duration": { "default": 0, "type": "integer" }, "width": { "default": 0, "type": "integer" }, "codec": { "default": "", "type": "string" }, "aspect": { "default": 0, "type": "number" }, "height": { "default": 0, "type": "integer" } } }, "type": "array" }, "audio": { "minItems": 1, "items": { "additionalProperties": false, "type": "object", "properties": { "channels": { "default": 0, "type": "integer" }, "codec": { "default": "", "type": "string" }, "language": { "default": "", "type": "string" } } }, "type": "array" }, "subtitle": { "minItems": 1, "items": { "additionalProperties": false, "type": "object", "properties": { "language": { "default": "", "type": "string" } } }, "type": "array" } } } |
Notifications
AudioLibrary
AudioLibrary.OnRemove
An audio item has been removed.
Parameters:
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "object", "name": "data", "properties": { "type": { "required": true, "$ref": "Notifications.Library.Audio.Type" }, "id": { "required": true, "$ref": "Library.Id" } } } ], "description": "An audio item has been removed." } |
AudioLibrary.OnUpdate
An audio item has been updated.
Parameters:
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "object", "name": "data", "properties": { "type": { "enum": [ "song" ], "type": "string", "id": "Notifications.Library.Audio.Type", "required": true }, "id": { "required": true, "$ref": "Library.Id" } } } ], "description": "An audio item has been updated." } |
Player
Player.OnPause
Playback of a media item has been paused. If there is no ID available extra information will be provided.
Parameters:
- string sender
- Player.Notifications.Data data
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "name": "data", "$ref": "Player.Notifications.Data" } ], "description": "Playback of a media item has been paused. If there is no ID available extra information will be provided." } |
Player.OnPlay
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.
Parameters:
- string sender
- Player.Notifications.Data data
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "name": "data", "$ref": "Player.Notifications.Data" } ], "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." } |
Player.OnSeek
The playback position has been changed. If there is no ID available extra information will be provided.
Parameters:
- string sender
- object data
Properties:
- [ Player.Notifications.Item item ]
- Player.Notifications.Player.Seek player
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "object", "name": "data", "properties": { "item": { "$ref": "Player.Notifications.Item" }, "player": { "required": true, "$ref": "Player.Notifications.Player.Seek" } } } ], "description": "The playback position has been changed. If there is no ID available extra information will be provided." } |
Player.OnSpeedChanged
Speed of the playback of a media item has been changed. If there is no ID available extra information will be provided.
Parameters:
- string sender
- Player.Notifications.Data data
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "name": "data", "$ref": "Player.Notifications.Data" } ], "description": "Speed of the playback of a media item has been changed. If there is no ID available extra information will be provided." } |
Player.OnStop
Playback of a media item has been stopped. If there is no ID available extra information will be provided.
Parameters:
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "object", "name": "data", "properties": { "item": { "$ref": "Player.Notifications.Item" } } } ], "description": "Playback of a media item has been stopped. If there is no ID available extra information will be provided." } |
System
System.OnLowBattery
The system is on low battery.
Parameters:
- string sender
- null data
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "null", "name": "data" } ], "description": "The system is on low battery." } |
System.OnQuit
XBMC will be closed.
Parameters:
- string sender
- null data
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "null", "name": "data" } ], "description": "XBMC will be closed." } |
System.OnRestart
The system will be restarted.
Parameters:
- string sender
- null data
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "null", "name": "data" } ], "description": "The system will be restarted." } |
System.OnSleep
The system will be suspended.
Parameters:
- string sender
- null data
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "null", "name": "data" } ], "description": "The system will be suspended." } |
System.OnWake
The system woke up from suspension.
Parameters:
- string sender
- null data
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "null", "name": "data" } ], "description": "The system woke up from suspension." } |
VideoLibrary
VideoLibrary.OnRemove
A video item has been removed.
Parameters:
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "object", "name": "data", "properties": { "type": { "required": true, "$ref": "Notifications.Library.Video.Type" }, "id": { "required": true, "$ref": "Library.Id" } } } ], "description": "A video item has been removed." } |
VideoLibrary.OnUpdate
A video item has been updated.
Parameters:
JSON Schema Description |
---|
{ "params": [ { "required": true, "type": "string", "name": "sender" }, { "required": true, "type": "object", "name": "data", "properties": { "playcount": { "default": -1, "minimum": 0, "type": "integer" }, "type": { "enum": [ "movie", "tvshow", "episode", "musicvideo" ], "type": "string", "id": "Notifications.Library.Video.Type", "required": true }, "id": { "required": true, "$ref": "Library.Id" } } } ], "description": "A video item has been updated." } |