Archive:JSON-RPC API/v4: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Montellese
mNo edit summary
 
(30 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:JSON-RPC API v3 (pre Eden)}}
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 3 is a development version of XBMC's JSON-RPC API and will be released as a stable version 4 with the release of Eden. It is a complete re-write and re-structuring of [[JSON-RPC API/v2|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.


An rough and incomplete list of changes compared to version 2 can be found [[Eden API Changes|here]]. A more complete and detailed list can be found in the [http://forum.xbmc.org/showthread.php?t=98551 forum].
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="wikitable" style="margin-right: 0;"
{| 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 15: Line 14:
!style="padding-left: 10px; padding-right: 10px;"|Batch requests
!style="padding-left: 10px; padding-right: 10px;"|Batch requests
|-
|-
|style="padding-left: 5px;"|Version 3
|style="padding-left: 5px;"|Version 4
|{{yes}}
|{{yes}}
|{{yes}}
|{{yes}}
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 [[#JSONRPC.Introspect|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.
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="wikitable" style="margin-right: 0;"
{| 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="wikitable" style="margin-right: 0;"
{| 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="wikitable" style="margin-right: 0;"
{| 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
{|
{|
|
|
<source lang="javascript">
<syntaxhighlight lang=json enclose="div">
{
{
   "type": "object",
   "type": "object",
Line 172: Line 171:
   }
   }
}
}
</source>
</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 specific operations
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 XBMC into hibernate mode"
   "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 XBMC down"
   "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 XBMC and the system"
   "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 XBMC and the system"
   "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 = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{
* [ ''array''  streamdetails = "" ]
{{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,472: 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,489: 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,508: 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,555: 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,587: 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,668: 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,704: 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,750: 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,767: 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,798: 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,818: 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,852: 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,875: 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,956: 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,996: 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,038: 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,063: 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,087: 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,124: 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,148: 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,180: 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,205: 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,229: 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,253: 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,277: 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,301: 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,340: 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,391: Line 6,391:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


==See also==
*[[JSON-RPC API]]
*[[JSON-RPC API/v2|JSON-RPC API v2 (Dharma)]]


==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:Development]]
[[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:

  1. Application.Property.Name[] properties

Returns: Application.Property.Value

Application.Quit

Quit application
Permissions:

  • ControlPower

Parameters: None
Returns: string

Application.SetMute

Toggle mute/unmute
Permissions:

  • ControlPlayback

Parameters:

  1. mixed mute

Returns: boolean

Application.SetVolume

Set the current volume
Permissions:

  • ControlPlayback

Parameters:

  1. integer volume

Returns: integer

AudioLibrary

AudioLibrary.Clean

Cleans the audio library from non-existent items
Permissions:

  • RemoveData

Parameters: None
Returns: string

AudioLibrary.Export

Exports all items from the audio library
Permissions:

  • WriteFile

Parameters:

  1. [ mixed options ]

Returns: string

AudioLibrary.GetAlbumDetails

Retrieve details about a specific album
Permissions:

  • ReadData

Parameters:

  1. Library.Id albumid
  2. [ Audio.Fields.Album properties ]

Returns:

Type: object
Properties:

AudioLibrary.GetAlbums

Retrieve all albums from specified artist or genre
Permissions:

  • ReadData

Parameters:

  1. [ Library.Id artistid = -1 ]
  2. [ Library.Id genreid = -1 ]
  3. [ Audio.Fields.Album properties ]
  4. [ List.Limits limits ]
  5. [ List.Sort sort ]

Returns:

Type: object
Properties:

AudioLibrary.GetArtistDetails

Retrieve details about a specific artist
Permissions:

  • ReadData

Parameters:

  1. Library.Id artistid
  2. [ Audio.Fields.Artist properties ]

Returns:

Type: object
Properties:

AudioLibrary.GetArtists

Retrieve all artists
Permissions:

  • ReadData

Parameters:

  1. [ Optional.Boolean albumartistsonly = null ]
  2. [ Library.Id genreid = -1 ]
  3. [ Audio.Fields.Artist properties ]
  4. [ List.Limits limits ]
  5. [ List.Sort sort ]

Returns:

Type: object
Properties:

AudioLibrary.GetGenres

Retrieve all genres
Permissions:

  • ReadData

Parameters:

  1. [ Library.Fields.Genre properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]

Returns:

Type: object
Properties:

AudioLibrary.GetRecentlyAddedAlbums

Retrieve recently added albums
Permissions:

  • ReadData

Parameters:

  1. [ Audio.Fields.Album properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]

Returns:

Type: object
Properties:

AudioLibrary.GetRecentlyAddedSongs

Retrieve recently added songs
Permissions:

  • ReadData

Parameters:

  1. [ List.Amount albumlimit = -1 ]
  2. [ Audio.Fields.Song properties ]
  3. [ List.Limits limits ]
  4. [ List.Sort sort ]

Returns:

Type: object
Properties:

AudioLibrary.GetSongDetails

Retrieve details about a specific song
Permissions:

  • ReadData

Parameters:

  1. Library.Id songid
  2. [ Audio.Fields.Song properties ]

Returns:

Type: object
Properties:

AudioLibrary.GetSongs

Retrieve all songs from specified album, artist or genre
Permissions:

  • ReadData

Parameters:

  1. [ Library.Id artistid = -1 ]
  2. [ Library.Id albumid = -1 ]
  3. [ Library.Id genreid = -1 ]
  4. [ Audio.Fields.Song properties ]
  5. [ List.Limits limits ]
  6. [ List.Sort sort ]

Returns:

Type: object
Properties:

AudioLibrary.Scan

Scans the audio sources for new library items
Permissions:

  • UpdateData

Parameters: None
Returns: string

Files

Files.Download

Provides a way to download a given file (e.g. providing an URL to the real file location)
Permissions:

  • ReadData

Parameters:

  1. string path

Returns:

Type: object
Properties:

  • string path

Files.GetDirectory

Get the directories and files in the given directory
Permissions:

  • ReadData

Parameters:

  1. string directory
  2. [ Files.Media media = "files" ]
  3. [ List.Fields.All properties ]
  4. [ List.Sort sort ]

Returns:

Type: object
Properties:

Files.GetSources

Get the sources of the media windows
Permissions:

  • ReadData

Parameters:

  1. Files.Media media
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]

Returns:

Type: object
Properties:

Input

Input.Back

Goes back in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.Down

Navigate down in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.Home

Goes to home window in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.Left

Navigate left in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.Right

Navigate right in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.Select

Select current item in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.Up

Navigate up in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

JSONRPC

JSONRPC.Introspect

Enumerates all actions and descriptions
Permissions:

  • ReadData

Parameters:

  1. [ boolean getdescriptions = True ]
  2. [ boolean getmetadata = False ]
  3. [ boolean filterbytransport = True ]
  4. [ object filter ]

Properties:

  • string type
  • string id
  • [ boolean getreferences = True ]

Returns:

Type: object

JSONRPC.NotifyAll

Notify all other connected clients
Permissions:

  • ReadData

Parameters:

  1. string sender
  2. string message
  3. [ any data = null ]

Returns: any

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

JSONRPC.Ping

Ping responder
Permissions:

  • ReadData

Parameters: None
Returns: string

JSONRPC.Version

Retrieve the jsonrpc protocol version
Permissions:

  • ReadData

Parameters: None
Returns: string

Player

Player.GetActivePlayers

Returns all active players
Permissions:

  • ReadData

Parameters: None
Returns:

Type: array

Player.GetItem

Retrieves the currently played item
Permissions:

  • ReadData

Parameters:

  1. Player.Id playerid
  2. [ List.Fields.All properties ]

Returns:

Type: object
Properties:

Player.GetProperties

Retrieves the values of the given properties
Permissions:

  • ReadData

Parameters:

  1. Player.Id playerid
  2. Player.Property.Name[] properties

Returns: Player.Property.Value

Player.GoNext

Go to next item on the playlist
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.GoPrevious

Go to previous item on the playlist
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.GoTo

Go to item at the given position in the playlist
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. Playlist.Position position

Returns: string

Player.MoveDown

If picture is zoomed move viewport down
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.MoveLeft

If picture is zoomed move viewport left otherwise skip previous
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.MoveRight

If picture is zoomed move viewport right otherwise skip next
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.MoveUp

If picture is zoomed move viewport up
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

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:

  1. [ mixed item ]

Returns: string

Player.PlayPause

Pauses or unpause playback and returns the new state
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: Player.Speed

Player.Repeat

Set the repeat mode of the player
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. Player.Repeat state

Returns: string

Player.Rotate

Rotates current picture
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.Seek

Seek through the playing item
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. mixed value

Returns:

Type: object
Properties:

Player.SetAudioStream

Set the audio stream played by the player
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. mixed stream

Returns: string

Player.SetSpeed

Set the speed of the current playback
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. mixed speed

Returns: Player.Speed

Player.SetSubtitle

Set the subtitle displayed by the player
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. mixed subtitle

Returns: string

Player.Shuffle

Shuffle items in the player
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.Stop

Stops playback
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.UnShuffle

Unshuffle items in the player
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.Zoom

Zooms current picture
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. integer value

Returns: string

Player.ZoomIn

Zoom in once
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.ZoomOut

Zoom out once
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Playlist

Playlist.Add

Add item(s) to playlist
Permissions:

  • ControlPlayback

Parameters:

  1. Playlist.Id playlistid
  2. Playlist.Item item

Returns: string

Playlist.Clear

Clear playlist
Permissions:

  • ControlPlayback

Parameters:

  1. Playlist.Id playlistid

Returns: string

Playlist.GetItems

Get all items from playlist
Permissions:

  • ReadData

Parameters:

  1. Playlist.Id playlistid
  2. [ List.Fields.All properties ]
  3. [ List.Limits limits ]
  4. [ List.Sort sort ]

Returns:

Type: object
Properties:

Playlist.GetPlaylists

Returns all existing playlists
Permissions:

  • ReadData

Parameters: None
Returns:

Type: array

Playlist.GetProperties

Retrieves the values of the given properties
Permissions:

  • ReadData

Parameters:

  1. Playlist.Id playlistid
  2. Playlist.Property.Name[] properties

Returns: Playlist.Property.Value

Playlist.Insert

Insert item(s) into playlist. Does not work for picture playlists (aka slideshows).
Permissions:

  • ControlPlayback

Parameters:

  1. Playlist.Id playlistid
  2. Playlist.Position position
  3. Playlist.Item item

Returns: string

Playlist.Remove

Remove item from playlist. Does not work for picture playlists (aka slideshows).
Permissions:

  • ControlPlayback

Parameters:

  1. Playlist.Id playlistid
  2. Playlist.Position position

Returns: string

Playlist.Swap

Swap items in the playlist. Does not work for picture playlists (aka slideshows).
Permissions:

  • ControlPlayback

Parameters:

  1. Playlist.Id playlistid
  2. Playlist.Position position1
  3. Playlist.Position position2

Returns: string

System

System.GetProperties

Retrieves the values of the given properties
Permissions:

  • ReadData

Parameters:

  1. System.Property.Name[] properties

Returns: System.Property.Value

System.Hibernate

Puts the system running XBMC into hibernate mode
Permissions:

  • ControlPower

Parameters: None
Returns: string

System.Reboot

Reboots the system running XBMC
Permissions:

  • ControlPower

Parameters: None
Returns: string

System.Shutdown

Shuts the system running XBMC down
Permissions:

  • ControlPower

Parameters: None
Returns: string

System.Suspend

Suspends the system running XBMC
Permissions:

  • ControlPower

Parameters: None
Returns: string

VideoLibrary

VideoLibrary.Clean

Cleans the video library from non-existent items
Permissions:

  • RemoveData

Parameters: None
Returns: string

VideoLibrary.Export

Exports all items from the video library
Permissions:

  • WriteFile

Parameters:

  1. [ mixed options ]

Returns: string

VideoLibrary.GetEpisodeDetails

Retrieve details about a specific tv show episode
Permissions:

  • ReadData

Parameters:

  1. Library.Id episodeid
  2. [ Video.Fields.Episode properties ]

Returns:

Type: object
Properties:

VideoLibrary.GetEpisodes

Retrieve all tv show episodes
Permissions:

  • ReadData

Parameters:

  1. [ Library.Id tvshowid = -1 ]
  2. [ integer season = -1 ]
  3. [ Video.Fields.Episode properties ]
  4. [ List.Limits limits ]
  5. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.GetGenres

Retrieve all genres
Permissions:

  • ReadData

Parameters:

  1. string type
  2. [ Library.Fields.Genre properties ]
  3. [ List.Limits limits ]
  4. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.GetMovieDetails

Retrieve details about a specific movie
Permissions:

  • ReadData

Parameters:

  1. Library.Id movieid
  2. [ Video.Fields.Movie properties ]

Returns:

Type: object
Properties:

VideoLibrary.GetMovieSetDetails

Retrieve details about a specific movie set
Permissions:

  • ReadData

Parameters:

  1. Library.Id setid
  2. [ Video.Fields.MovieSet properties ]
  3. [ object movies ]

Properties:

Returns:

Type: object
Properties:

VideoLibrary.GetMovieSets

Retrieve all movie sets
Permissions:

  • ReadData

Parameters:

  1. [ Video.Fields.MovieSet properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.GetMovies

Retrieve all movies
Permissions:

  • ReadData

Parameters:

  1. [ Video.Fields.Movie properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.GetMusicVideoDetails

Retrieve details about a specific music video
Permissions:

  • ReadData

Parameters:

  1. Library.Id musicvideoid
  2. [ Video.Fields.MusicVideo properties ]

Returns:

Type: object
Properties:

VideoLibrary.GetMusicVideos

Retrieve all music videos
Permissions:

  • ReadData

Parameters:

  1. [ Library.Id artistid = -1 ]
  2. [ Library.Id albumid = -1 ]
  3. [ Video.Fields.MusicVideo properties ]
  4. [ List.Limits limits ]
  5. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.GetRecentlyAddedEpisodes

Retrieve all recently added tv episodes
Permissions:

  • ReadData

Parameters:

  1. [ Video.Fields.Episode properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.GetRecentlyAddedMovies

Retrieve all recently added movies
Permissions:

  • ReadData

Parameters:

  1. [ Video.Fields.Movie properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.GetRecentlyAddedMusicVideos

Retrieve all recently added music videos
Permissions:

  • ReadData

Parameters:

  1. [ Video.Fields.MusicVideo properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.GetSeasons

Retrieve all tv seasons
Permissions:

  • ReadData

Parameters:

  1. Library.Id tvshowid
  2. [ Video.Fields.Season properties ]
  3. [ List.Limits limits ]
  4. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.GetTVShowDetails

Retrieve details about a specific tv show
Permissions:

  • ReadData

Parameters:

  1. Library.Id tvshowid
  2. [ Video.Fields.TVShow properties ]

Returns:

Type: object
Properties:

VideoLibrary.GetTVShows

Retrieve all tv shows
Permissions:

  • ReadData

Parameters:

  1. [ Video.Fields.TVShow properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]

Returns:

Type: object
Properties:

VideoLibrary.Scan

Scans the video sources for new library items
Permissions:

  • UpdateData

Parameters: None
Returns: string

XBMC

XBMC.GetInfoBooleans

Retrieve info booleans about XBMC and the system
Permissions:

  • ReadData

Parameters:

  1. array[1..X] booleans

Returns:

Type: object

XBMC.GetInfoLabels

Retrieve info labels about XBMC and the system
Permissions:

  • ReadData

Parameters:

  1. array[1..X] labels

Returns:

Type: object


Global types

Application

Application.Property.Name

Type: string

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 = "" ]

Array

Array.Integer

Type: array

Array.String

Type: array

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 = "" ]

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 = "" ]

Audio.Details.Base

Extends:


Properties:

  • [ string genre = "" ]

Audio.Details.Media

Extends:


Properties:

  • [ integer rating = 0 ]
  • [ string title = "" ]
  • [ string artist = "" ]
  • [ string musicbrainzalbumartistid = "" ]
  • [ integer year = 0 ]
  • [ string musicbrainzalbumid = "" ]

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 ]

Audio.Fields.Album

Extends:

Audio.Fields.Artist

Extends:

Audio.Fields.Song

Extends:

Configuration

Configuration

Type: object
Properties:

Configuration.Notifications

Type: object
Properties:

  • boolean gui
  • boolean system
  • boolean player
  • boolean audiolibrary
  • boolean other
  • boolean videolibrary

Files

Files.Media

Type: string

Global

Global.Time

Type: object
Properties:

  • integer hours
  • integer seconds
  • integer minutes
  • integer milliseconds

Item

Item.Details.Base

Type: object
Properties:

  • string label

Item.Fields.Base

Type: array

Library

Library.Details.Genre

Extends:


Properties:

  • Library.Id genreid
  • [ string thumbnail = "" ]
  • [ string title = "" ]

Library.Fields.Genre

Extends:

Library.Id

Type: integer

List

List.Amount

Type: integer

List.Fields.All

Extends:

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 = "" ]

List.Item.File

Extends:


Properties:

  • string filetype
  • string file

List.Items.Sources

Type: array

List.Limits

Type: object
Properties:

  • [ integer start = 0 ]
  • [ integer end = -1 ]

List.LimitsReturned

Type: object
Properties:

  • [ integer start = 0 ]
  • integer total
  • [ integer end = -1 ]

List.Sort

Type: object
Properties:

  • [ string order = "ascending" ]
  • [ boolean ignorearticle = False ]
  • [ string method = "none" ]

Media

Media.Details.Base

Extends:


Properties:

  • [ string fanart = "" ]
  • [ string thumbnail = "" ]

Optional

Optional.Boolean

Type: mixed

Player

Player.Audio.Stream

Type: object
Properties:

  • integer index
  • string name
  • string language

Player.Audio.Stream.Extended

Extends:


Properties:

  • integer channels
  • string codec
  • integer bitrate

Player.Id

Type: integer

Player.Notifications.Data

Type: object
Properties:

Player.Notifications.Item

Type: mixed

Player.Notifications.Item.Type

Type: string

Player.Notifications.Player

Type: object
Properties:

Player.Notifications.Player.Seek

Extends:


Properties:

Player.Position.Percentage

Type: number

Player.Property.Name

Type: string

Player.Property.Value

Type: object
Properties:

Player.Repeat

Type: string

Player.Speed

Type: object
Properties:

  • [ integer speed = 0 ]

Player.Subtitle

Type: object
Properties:

  • integer index
  • string name
  • string language

Player.Type

Type: string

Playlist

Playlist.Id

Type: integer

Playlist.Item

Type: mixed

Playlist.Position

Type: integer

Playlist.Property.Name

Type: string

Playlist.Property.Value

Type: object
Properties:

Playlist.Type

Type: string

System

System.Property.Name

Type: string

System.Property.Value

Type: object
Properties:

  • [ boolean canreboot = False ]
  • [ boolean cansuspend = False ]
  • [ boolean canhibernate = False ]
  • [ boolean canshutdown = False ]

Video

Video.Cast

Type: array

Video.Details.Base

Extends:


Properties:

  • [ integer playcount = 0 ]

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 = "" ]

Video.Details.File

Extends:


Properties:

Video.Details.Item

Extends:


Properties:

  • [ string plot = "" ]
  • [ string lastplayed = "" ]
  • [ string file = "" ]

Video.Details.Media

Extends:


Properties:

  • [ string title = "" ]

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 = "" ]

Video.Details.MovieSet

Extends:


Properties:

Video.Details.MovieSet.Extended

Extends:


Properties:

Video.Details.MusicVideo

Extends:


Properties:

  • [ string album = "" ]
  • [ string artist = "" ]
  • [ integer track = 0 ]
  • [ string studio = "" ]
  • [ integer year = 0 ]
  • [ string genre = "" ]
  • Library.Id musicvideoid

Video.Details.Season

Extends:


Properties:

  • integer season
  • [ Library.Id tvshowid = -1 ]
  • [ integer episode = 0 ]
  • [ string showtitle = "" ]

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 = "" ]

Video.Fields.Episode

Extends:

Video.Fields.Movie

Extends:

Video.Fields.MovieSet

Extends:

Video.Fields.MusicVideo

Extends:

Video.Fields.Season

Extends:

Video.Fields.TVShow

Extends:

Video.Resume

Type: object
Properties:

  • [ number position = 0 ]
  • [ number total = 0 ]

Video.Streams

Type: object
Properties:

  • [ array[1..X] video ]
  • [ array[1..X] audio ]
  • [ array[1..X] subtitle ]


Notifications

AudioLibrary

AudioLibrary.OnRemove

An audio item has been removed.
Parameters:

  1. string sender
  2. object data

Properties:

AudioLibrary.OnUpdate

An audio item has been updated.
Parameters:

  1. string sender
  2. object data

Properties:

Player

Player.OnPause

Playback of a media item has been paused. If there is no ID available extra information will be provided.
Parameters:

  1. string sender
  2. Player.Notifications.Data data

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:

  1. string sender
  2. Player.Notifications.Data data

Player.OnSeek

The playback position has been changed. If there is no ID available extra information will be provided.
Parameters:

  1. string sender
  2. object data

Properties:

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:

  1. string sender
  2. Player.Notifications.Data data

Player.OnStop

Playback of a media item has been stopped. If there is no ID available extra information will be provided.
Parameters:

  1. string sender
  2. object data

Properties:

System

System.OnLowBattery

The system is on low battery.
Parameters:

  1. string sender
  2. null data

System.OnQuit

XBMC will be closed.
Parameters:

  1. string sender
  2. null data

System.OnRestart

The system will be restarted.
Parameters:

  1. string sender
  2. null data

System.OnSleep

The system will be suspended.
Parameters:

  1. string sender
  2. null data

System.OnWake

The system woke up from suspension.
Parameters:

  1. string sender
  2. null data

VideoLibrary

VideoLibrary.OnRemove

A video item has been removed.
Parameters:

  1. string sender
  2. object data

Properties:

VideoLibrary.OnUpdate

A video item has been updated.
Parameters:

  1. string sender
  2. object data

Properties:

  • [ integer playcount = -1 ]
  • string type
  • Library.Id id


External links