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

From Official Kodi Wiki
Jump to navigation Jump to search
>Montellese
>NedBot
m (Robot: Cosmetic changes)
Line 7: Line 7:


{{TOC right}}
{{TOC right}}
==JSON-RPC 2.0 compatibility==
== JSON-RPC 2.0 compatibility ==
{| class="wikitable" style="margin-right: 0;"
{| class="wikitable" style="margin-right: 0;"
!style="padding-left: 5px; width: 7em; text-align: left;"|Version
!style="padding-left: 5px; width: 7em; text-align: left;"|Version
Line 27: Line 27:
|}
|}


==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|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="wikitable" style="margin-right: 0;"
Line 149: Line 149:
<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
{|
{|
Line 177: Line 177:
|}
|}


==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 195: Line 195:
|}
|}


==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 203: Line 203:
'''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]]''
Line 224: Line 224:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Application.Quit====
==== Application.Quit ====
Quit application<br />
Quit application<br />
'''Permissions:'''
'''Permissions:'''
Line 239: Line 239:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Application.SetMute====
==== Application.SetMute ====
Toggle mute/unmute<br />
Toggle mute/unmute<br />
'''Permissions:'''
'''Permissions:'''
Line 245: Line 245:
'''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''
Line 273: Line 273:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Application.SetVolume====
==== Application.SetVolume ====
Set the current volume<br />
Set the current volume<br />
'''Permissions:'''
'''Permissions:'''
Line 279: Line 279:
'''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''
Line 299: Line 299:
}</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 315: Line 315:
}</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 321: Line 321:
'''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''
Line 366: Line 366:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetAlbumDetails====
==== AudioLibrary.GetAlbumDetails ====
Retrieve details about a specific album<br />
Retrieve details about a specific album<br />
'''Permissions:'''
'''Permissions:'''
Line 372: Line 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">
#''[[#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 379: Line 379:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Audio.Details.Album|Audio.Details.Album]]'' albumdetails ]
* [ ''[[#Audio.Details.Album|Audio.Details.Album]]'' albumdetails ]


</div>
</div>
Line 405: Line 405:
}</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 411: Line 411:
'''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 421: Line 421:
'''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>
Line 468: Line 468:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetArtistDetails====
==== AudioLibrary.GetArtistDetails ====
Retrieve details about a specific artist<br />
Retrieve details about a specific artist<br />
'''Permissions:'''
'''Permissions:'''
Line 474: Line 474:
'''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 481: Line 481:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Audio.Details.Artist|Audio.Details.Artist]]'' artistdetails ]
* [ ''[[#Audio.Details.Artist|Audio.Details.Artist]]'' artistdetails ]


</div>
</div>
Line 507: Line 507:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetArtists====
==== AudioLibrary.GetArtists ====
Retrieve all artists<br />
Retrieve all artists<br />
'''Permissions:'''
'''Permissions:'''
Line 513: Line 513:
'''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 523: Line 523:
'''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>
Line 571: Line 571:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetGenres====
==== AudioLibrary.GetGenres ====
Retrieve all genres<br />
Retrieve all genres<br />
'''Permissions:'''
'''Permissions:'''
Line 577: Line 577:
'''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 585: Line 585:
'''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>
Line 623: Line 623:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetRecentlyAddedAlbums====
==== AudioLibrary.GetRecentlyAddedAlbums ====
Retrieve recently added albums<br />
Retrieve recently added albums<br />
'''Permissions:'''
'''Permissions:'''
Line 629: Line 629:
'''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 637: Line 637:
'''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>
Line 674: Line 674:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetRecentlyAddedSongs====
==== AudioLibrary.GetRecentlyAddedSongs ====
Retrieve recently added songs<br />
Retrieve recently added songs<br />
'''Permissions:'''
'''Permissions:'''
Line 680: Line 680:
'''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 689: Line 689:
'''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>
Line 732: Line 732:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetSongDetails====
==== AudioLibrary.GetSongDetails ====
Retrieve details about a specific song<br />
Retrieve details about a specific song<br />
'''Permissions:'''
'''Permissions:'''
Line 738: Line 738:
'''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 745: Line 745:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Audio.Details.Song|Audio.Details.Song]]'' songdetails ]
* [ ''[[#Audio.Details.Song|Audio.Details.Song]]'' songdetails ]


</div>
</div>
Line 771: Line 771:
}</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 777: Line 777:
'''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 788: Line 788:
'''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>
Line 840: Line 840:
}</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 855: Line 855:
}</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 862: Line 862:
'''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 868: Line 868:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''string'' path
* ''string'' path


</div>
</div>
Line 891: Line 891:
}</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 897: Line 897:
'''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 906: Line 906:
'''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>
Line 950: Line 950:
}</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 956: Line 956:
'''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 964: Line 964:
'''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>
Line 1,000: Line 1,000:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Input===
=== Input ===
====Input.Back====
==== Input.Back ====
Goes back in GUI<br />
Goes back in GUI<br />
'''Permissions:'''
'''Permissions:'''
Line 1,016: Line 1,016:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Input.Down====
==== Input.Down ====
Navigate down in GUI<br />
Navigate down in GUI<br />
'''Permissions:'''
'''Permissions:'''
Line 1,031: Line 1,031:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Input.Home====
==== Input.Home ====
Goes to home window in GUI<br />
Goes to home window in GUI<br />
'''Permissions:'''
'''Permissions:'''
Line 1,046: Line 1,046:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Input.Left====
==== Input.Left ====
Navigate left in GUI<br />
Navigate left in GUI<br />
'''Permissions:'''
'''Permissions:'''
Line 1,061: Line 1,061:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Input.Right====
==== Input.Right ====
Navigate right in GUI<br />
Navigate right in GUI<br />
'''Permissions:'''
'''Permissions:'''
Line 1,076: Line 1,076:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Input.Select====
==== Input.Select ====
Select current item in GUI<br />
Select current item in GUI<br />
'''Permissions:'''
'''Permissions:'''
Line 1,091: Line 1,091:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Input.Up====
==== Input.Up ====
Navigate up in GUI<br />
Navigate up in GUI<br />
'''Permissions:'''
'''Permissions:'''
Line 1,106: Line 1,106:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===JSONRPC===
=== JSONRPC ===
====JSONRPC.Introspect====
==== JSONRPC.Introspect ====
Enumerates all actions and descriptions<br />
Enumerates all actions and descriptions<br />
'''Permissions:'''
'''Permissions:'''
Line 1,113: Line 1,113:
'''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,178: Line 1,178:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====JSONRPC.NotifyAll====
==== JSONRPC.NotifyAll ====
Notify all other connected clients<br />
Notify all other connected clients<br />
'''Permissions:'''
'''Permissions:'''
Line 1,184: Line 1,184:
'''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''
Line 1,213: Line 1,213:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====JSONRPC.Permission====
==== JSONRPC.Permission ====
Retrieve the clients permissions<br />
Retrieve the clients permissions<br />
'''Permissions:'''
'''Permissions:'''
Line 1,223: Line 1,223:
'''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>
Line 1,275: Line 1,275:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====JSONRPC.Ping====
==== JSONRPC.Ping ====
Ping responder<br />
Ping responder<br />
'''Permissions:'''
'''Permissions:'''
Line 1,290: Line 1,290:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====JSONRPC.Version====
==== JSONRPC.Version ====
Retrieve the jsonrpc protocol version<br />
Retrieve the jsonrpc protocol version<br />
'''Permissions:'''
'''Permissions:'''
Line 1,305: Line 1,305:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Player===
=== Player ===
====Player.GetActivePlayers====
==== Player.GetActivePlayers ====
Returns all active players<br />
Returns all active players<br />
'''Permissions:'''
'''Permissions:'''
Line 1,338: Line 1,338:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.GetItem====
==== Player.GetItem ====
Retrieves the currently played item<br />
Retrieves the currently played item<br />
'''Permissions:'''
'''Permissions:'''
Line 1,344: Line 1,344:
'''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,351: Line 1,351:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.Item.All|List.Item.All]]'' item
* ''[[#List.Item.All|List.Item.All]]'' item


</div>
</div>
Line 1,378: Line 1,378:
}</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,384: Line 1,384:
'''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]]''
Line 1,411: Line 1,411:
}</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,417: Line 1,417:
'''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''
Line 1,434: Line 1,434:
}</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,440: Line 1,440:
'''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''
Line 1,457: Line 1,457:
}</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,463: Line 1,463:
'''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''
Line 1,486: Line 1,486:
}</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,492: Line 1,492:
'''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''
Line 1,509: Line 1,509:
}</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,515: Line 1,515:
'''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''
Line 1,532: Line 1,532:
}</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,538: Line 1,538:
'''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''
Line 1,555: Line 1,555:
}</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,561: Line 1,561:
'''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''
Line 1,578: Line 1,578:
}</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,584: Line 1,584:
'''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''
Line 1,636: Line 1,636:
}</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,642: Line 1,642:
'''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]]''
Line 1,659: Line 1,659:
}</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,665: Line 1,665:
'''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''
Line 1,688: Line 1,688:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Rotate====
==== Player.Rotate ====
Rotates current picture<br />
Rotates current picture<br />
'''Permissions:'''
'''Permissions:'''
Line 1,694: Line 1,694:
'''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''
Line 1,711: Line 1,711:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Seek====
==== Player.Seek ====
Seek through the playing item<br />
Seek through the playing item<br />
'''Permissions:'''
'''Permissions:'''
Line 1,717: Line 1,717:
'''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,724: Line 1,724:
'''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>
Line 1,806: Line 1,806:
}</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,812: Line 1,812:
'''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''
Line 1,848: Line 1,848:
}</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,854: Line 1,854:
'''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]]''
Line 1,902: Line 1,902:
}</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,908: Line 1,908:
'''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''
Line 1,946: Line 1,946:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Shuffle====
==== Player.Shuffle ====
Shuffle items in the player<br />
Shuffle items in the player<br />
'''Permissions:'''
'''Permissions:'''
Line 1,952: Line 1,952:
'''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''
Line 1,969: Line 1,969:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Stop====
==== Player.Stop ====
Stops playback<br />
Stops playback<br />
'''Permissions:'''
'''Permissions:'''
Line 1,975: Line 1,975:
'''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''
Line 1,992: Line 1,992:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.UnShuffle====
==== Player.UnShuffle ====
Unshuffle items in the player<br />
Unshuffle items in the player<br />
'''Permissions:'''
'''Permissions:'''
Line 1,998: Line 1,998:
'''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''
Line 2,015: Line 2,015:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Zoom====
==== Player.Zoom ====
Zooms current picture<br />
Zooms current picture<br />
'''Permissions:'''
'''Permissions:'''
Line 2,021: Line 2,021:
'''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''
Line 2,047: Line 2,047:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.ZoomIn====
==== Player.ZoomIn ====
Zoom in once<br />
Zoom in once<br />
'''Permissions:'''
'''Permissions:'''
Line 2,053: Line 2,053:
'''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''
Line 2,070: Line 2,070:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.ZoomOut====
==== Player.ZoomOut ====
Zoom out once<br />
Zoom out once<br />
'''Permissions:'''
'''Permissions:'''
Line 2,076: Line 2,076:
'''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''
Line 2,093: Line 2,093:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Playlist===
=== Playlist ===
====Playlist.Add====
==== Playlist.Add ====
Add item(s) to playlist<br />
Add item(s) to playlist<br />
'''Permissions:'''
'''Permissions:'''
Line 2,100: Line 2,100:
'''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''
Line 2,123: Line 2,123:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Playlist.Clear====
==== Playlist.Clear ====
Clear playlist<br />
Clear playlist<br />
'''Permissions:'''
'''Permissions:'''
Line 2,129: Line 2,129:
'''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''
Line 2,146: Line 2,146:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Playlist.GetItems====
==== Playlist.GetItems ====
Get all items from playlist<br />
Get all items from playlist<br />
'''Permissions:'''
'''Permissions:'''
Line 2,152: Line 2,152:
'''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,161: Line 2,161:
'''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>
Line 2,204: Line 2,204:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Playlist.GetPlaylists====
==== Playlist.GetPlaylists ====
Returns all existing playlists<br />
Returns all existing playlists<br />
'''Permissions:'''
'''Permissions:'''
Line 2,236: Line 2,236:
}</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,242: Line 2,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">
#''[[#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]]''
Line 2,269: Line 2,269:
}</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,275: Line 2,275:
'''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''
Line 2,304: Line 2,304:
}</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,310: Line 2,310:
'''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''
Line 2,333: Line 2,333:
}</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,339: Line 2,339:
'''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''
Line 2,368: Line 2,368:
}</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,375: Line 2,375:
'''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]]''
Line 2,396: Line 2,396:
}</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,411: Line 2,411:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.Reboot====
==== System.Reboot ====
Reboots the system running XBMC<br />
Reboots the system running XBMC<br />
'''Permissions:'''
'''Permissions:'''
Line 2,426: Line 2,426:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.Shutdown====
==== System.Shutdown ====
Shuts the system running XBMC down<br />
Shuts the system running XBMC down<br />
'''Permissions:'''
'''Permissions:'''
Line 2,441: Line 2,441:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.Suspend====
==== System.Suspend ====
Suspends the system running XBMC<br />
Suspends the system running XBMC<br />
'''Permissions:'''
'''Permissions:'''
Line 2,456: Line 2,456:
}</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,472: Line 2,472:
}</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,478: Line 2,478:
'''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''
Line 2,528: Line 2,528:
}</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,534: Line 2,534:
'''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,541: Line 2,541:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Video.Details.Episode|Video.Details.Episode]]'' episodedetails ]
* [ ''[[#Video.Details.Episode|Video.Details.Episode]]'' episodedetails ]


</div>
</div>
Line 2,567: Line 2,567:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetEpisodes====
==== VideoLibrary.GetEpisodes ====
Retrieve all tv show episodes<br />
Retrieve all tv show episodes<br />
'''Permissions:'''
'''Permissions:'''
Line 2,573: Line 2,573:
'''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,583: Line 2,583:
'''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>
Line 2,631: Line 2,631:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetGenres====
==== VideoLibrary.GetGenres ====
Retrieve all genres<br />
Retrieve all genres<br />
'''Permissions:'''
'''Permissions:'''
Line 2,637: Line 2,637:
'''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,646: Line 2,646:
'''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>
Line 2,694: Line 2,694:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetMovieDetails====
==== VideoLibrary.GetMovieDetails ====
Retrieve details about a specific movie<br />
Retrieve details about a specific movie<br />
'''Permissions:'''
'''Permissions:'''
Line 2,700: Line 2,700:
'''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,707: Line 2,707:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Video.Details.Movie|Video.Details.Movie]]'' moviedetails ]
* [ ''[[#Video.Details.Movie|Video.Details.Movie]]'' moviedetails ]


</div>
</div>
Line 2,733: Line 2,733:
}</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,739: Line 2,739:
'''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,752: Line 2,752:
'''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>
Line 2,793: Line 2,793:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetMovieSets====
==== VideoLibrary.GetMovieSets ====
Retrieve all movie sets<br />
Retrieve all movie sets<br />
'''Permissions:'''
'''Permissions:'''
Line 2,799: Line 2,799:
'''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,807: Line 2,807:
'''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>
Line 2,844: Line 2,844:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetMovies====
==== VideoLibrary.GetMovies ====
Retrieve all movies<br />
Retrieve all movies<br />
'''Permissions:'''
'''Permissions:'''
Line 2,850: Line 2,850:
'''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,858: Line 2,858:
'''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>
Line 2,895: Line 2,895:
}</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,901: Line 2,901:
'''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,908: Line 2,908:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]'' musicvideodetails ]
* [ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]'' musicvideodetails ]


</div>
</div>
Line 2,934: Line 2,934:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetMusicVideos====
==== VideoLibrary.GetMusicVideos ====
Retrieve all music videos<br />
Retrieve all music videos<br />
'''Permissions:'''
'''Permissions:'''
Line 2,940: Line 2,940:
'''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,950: Line 2,950:
'''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>
Line 2,997: Line 2,997:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetRecentlyAddedEpisodes====
==== VideoLibrary.GetRecentlyAddedEpisodes ====
Retrieve all recently added tv episodes<br />
Retrieve all recently added tv episodes<br />
'''Permissions:'''
'''Permissions:'''
Line 3,003: Line 3,003:
'''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,011: Line 3,011:
'''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>
Line 3,048: Line 3,048:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetRecentlyAddedMovies====
==== VideoLibrary.GetRecentlyAddedMovies ====
Retrieve all recently added movies<br />
Retrieve all recently added movies<br />
'''Permissions:'''
'''Permissions:'''
Line 3,054: Line 3,054:
'''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,062: Line 3,062:
'''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>
Line 3,099: Line 3,099:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetRecentlyAddedMusicVideos====
==== VideoLibrary.GetRecentlyAddedMusicVideos ====
Retrieve all recently added music videos<br />
Retrieve all recently added music videos<br />
'''Permissions:'''
'''Permissions:'''
Line 3,105: Line 3,105:
'''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,113: Line 3,113:
'''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>
Line 3,150: Line 3,150:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetSeasons====
==== VideoLibrary.GetSeasons ====
Retrieve all tv seasons<br />
Retrieve all tv seasons<br />
'''Permissions:'''
'''Permissions:'''
Line 3,156: Line 3,156:
'''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,165: Line 3,165:
'''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>
Line 3,207: Line 3,207:
}</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,213: Line 3,213:
'''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,220: Line 3,220:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Video.Details.TVShow|Video.Details.TVShow]]'' tvshowdetails ]
* [ ''[[#Video.Details.TVShow|Video.Details.TVShow]]'' tvshowdetails ]


</div>
</div>
Line 3,246: Line 3,246:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetTVShows====
==== VideoLibrary.GetTVShows ====
Retrieve all tv shows<br />
Retrieve all tv shows<br />
'''Permissions:'''
'''Permissions:'''
Line 3,252: Line 3,252:
'''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,260: Line 3,260:
'''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>
Line 3,297: Line 3,297:
}</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,312: Line 3,312:
}</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,319: Line 3,319:
'''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,344: Line 3,344:
}</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,350: Line 3,350:
'''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,377: Line 3,377:




==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">{
   "default": "volume",  
   "default": "volume",  
Line 3,392: Line 3,392:
}</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">{
   "type": "object",  
   "type": "object",  
Line 3,463: Line 3,463:
}</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">{
   "items": {
   "items": {
Line 3,473: Line 3,473:
}</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">{
   "items": {
   "items": {
Line 3,483: Line 3,483:
}</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">{
   "extends": "Audio.Details.Media",  
   "extends": "Audio.Details.Media",  
Line 3,536: Line 3,536:
}</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">{
   "extends": "Audio.Details.Base",  
   "extends": "Audio.Details.Base",  
Line 3,608: Line 3,608:
}</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">{
   "extends": "Media.Details.Base",  
   "extends": "Media.Details.Base",  
Line 3,625: Line 3,625:
}</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">{
   "extends": "Audio.Details.Base",  
   "extends": "Audio.Details.Base",  
Line 3,667: Line 3,667:
}</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">{
   "extends": "Audio.Details.Media",  
   "extends": "Audio.Details.Media",  
Line 3,744: Line 3,744:
}</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">{
   "items": {
   "items": {
Line 3,773: Line 3,773:
}</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">{
   "items": {
   "items": {
Line 3,799: Line 3,799:
}</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">{
   "items": {
   "items": {
Line 3,833: Line 3,833:
}</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">{
   "required": true,  
   "required": true,  
Line 3,850: Line 3,850:
}</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">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 3,891: Line 3,891:
}</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">{
   "default": "video",  
   "default": "video",  
Line 3,906: Line 3,906:
}</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">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 3,946: Line 3,946:
}</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">{
   "type": "object",  
   "type": "object",  
Line 3,962: Line 3,962:
}</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">{
   "uniqueItems": true,  
   "uniqueItems": true,  
Line 3,972: Line 3,972:
}</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">{
   "extends": "Item.Details.Base",  
   "extends": "Item.Details.Base",  
Line 4,000: Line 4,000:
}</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">{
   "items": {
   "items": {
Line 4,015: Line 4,015:
}</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">{
   "default": -1,  
   "default": -1,  
Line 4,023: Line 4,023:
}</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">{
   "default": -1,  
   "default": -1,  
Line 4,032: Line 4,032:
}</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">{
   "items": {
   "items": {
Line 4,094: Line 4,094:
}</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">{
   "extends": [
   "extends": [
Line 4,285: Line 4,285:
}</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">{
   "extends": "List.Item.All",  
   "extends": "List.Item.All",  
Line 4,311: Line 4,311:
}</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">{
   "items": {
   "items": {
Line 4,326: Line 4,326:
}</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">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 4,349: Line 4,349:
}</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">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 4,378: Line 4,378:
}</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">{
   "type": "object",  
   "type": "object",  
Line 4,437: Line 4,437:
}</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">{
   "extends": "Item.Details.Base",  
   "extends": "Item.Details.Base",  
Line 4,460: Line 4,460:
}</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">{
   "default": null,  
   "default": null,  
Line 4,475: Line 4,475:
}</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">{
   "type": "object",  
   "type": "object",  
Line 4,502: Line 4,502:
}</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">{
   "extends": "Player.Audio.Stream",  
   "extends": "Player.Audio.Stream",  
Line 4,529: Line 4,529:
}</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">{
   "default": -1,  
   "default": -1,  
Line 4,538: Line 4,538:
}</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">{
   "type": "object",  
   "type": "object",  
Line 4,558: Line 4,558:
}</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">{
   "type": [
   "type": [
Line 4,681: Line 4,681:
}</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">{
   "default": "unknown",  
   "default": "unknown",  
Line 4,695: Line 4,695:
}</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">{
   "type": "object",  
   "type": "object",  
Line 4,715: Line 4,715:
}</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">{
   "extends": "Player.Notifications.Player",  
   "extends": "Player.Notifications.Player",  
Line 4,735: Line 4,735:
}</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">{
   "default": 0,  
   "default": 0,  
Line 4,744: Line 4,744:
}</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">{
   "default": "type",  
   "default": "type",  
Line 4,775: Line 4,775:
}</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">{
   "type": "object",  
   "type": "object",  
Line 4,895: Line 4,895:
}</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">{
   "default": "off",  
   "default": "off",  
Line 4,907: Line 4,907:
}</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">{
   "required": true,  
   "required": true,  
Line 4,923: Line 4,923:
}</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">{
   "type": "object",  
   "type": "object",  
Line 4,949: Line 4,949:
}</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">{
   "default": "video",  
   "default": "video",  
Line 4,961: Line 4,961:
}</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">{
   "default": -1,  
   "default": -1,  
Line 4,971: Line 4,971:
}</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">{
   "type": [
   "type": [
Line 5,070: Line 5,070:
}</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">{
   "default": -1,  
   "default": -1,  
Line 5,078: Line 5,078:
}</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">{
   "default": "type",  
   "default": "type",  
Line 5,089: Line 5,089:
}</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">{
   "type": "object",  
   "type": "object",  
Line 5,110: Line 5,110:
}</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">{
   "default": "unknown",  
   "default": "unknown",  
Line 5,124: Line 5,124:
}</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">{
   "default": "canshutdown",  
   "default": "canshutdown",  
Line 5,138: Line 5,138:
}</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">{
   "type": "object",  
   "type": "object",  
Line 5,168: Line 5,168:
}</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">{
   "items": {
   "items": {
Line 5,193: Line 5,193:
}</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">{
   "extends": "Media.Details.Base",  
   "extends": "Media.Details.Base",  
Line 5,210: Line 5,210:
}</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">{
   "extends": "Video.Details.File",  
   "extends": "Video.Details.File",  
Line 5,281: Line 5,281:
}</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">{
   "extends": "Video.Details.Item",  
   "extends": "Video.Details.Item",  
Line 5,311: Line 5,311:
}</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">{
   "extends": "Video.Details.Media",  
   "extends": "Video.Details.Media",  
Line 5,338: Line 5,338:
}</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">{
   "extends": "Video.Details.Base",  
   "extends": "Video.Details.Base",  
Line 5,355: Line 5,355:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Video.Details.Movie====
==== Video.Details.Movie ====
'''Extends:'''
'''Extends:'''
*''[[#Video.Details.File|Video.Details.File]]''
* ''[[#Video.Details.File|Video.Details.File]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*[ ''number'' rating = 0 ]
* [ ''number'' rating = 0 ]
*[ ''[[#Array.String|Array.String]]'' set ]
* [ ''[[#Array.String|Array.String]]'' set ]
*[ ''integer'' year = 0 ]
* [ ''integer'' year = 0 ]
*[ ''[[#Array.Integer|Array.Integer]]'' setid ]
* [ ''[[#Array.Integer|Array.Integer]]'' setid ]
*[ ''string'' votes = "" ]
* [ ''string'' votes = "" ]
*[ ''string'' tagline = "" ]
* [ ''string'' tagline = "" ]
*[ ''string'' writer = "" ]
* [ ''string'' writer = "" ]
*[ ''string'' plotoutline = "" ]
* [ ''string'' plotoutline = "" ]
*[ ''string'' sorttitle = "" ]
* [ ''string'' sorttitle = "" ]
*[ ''string'' imdbnumber = "" ]
* [ ''string'' imdbnumber = "" ]
*[ ''string'' studio = "" ]
* [ ''string'' studio = "" ]
*[ ''string'' showlink = "" ]
* [ ''string'' showlink = "" ]
*[ ''string'' genre = "" ]
* [ ''string'' genre = "" ]
*''[[#Library.Id|Library.Id]]'' movieid
* ''[[#Library.Id|Library.Id]]'' movieid
*[ ''string'' productioncode = "" ]
* [ ''string'' productioncode = "" ]
*[ ''string'' country = "" ]
* [ ''string'' country = "" ]
*[ ''string'' premiered = "" ]
* [ ''string'' premiered = "" ]
*[ ''string'' originaltitle = "" ]
* [ ''string'' originaltitle = "" ]
*[ ''[[#Video.Cast|Video.Cast]]'' cast ]
* [ ''[[#Video.Cast|Video.Cast]]'' cast ]
*[ ''string'' mpaa = "" ]
* [ ''string'' mpaa = "" ]
*[ ''integer'' top250 = 0 ]
* [ ''integer'' top250 = 0 ]
*[ ''string'' trailer = "" ]
* [ ''string'' trailer = "" ]
*[ ''array''  streamdetails = "" ]
* [ ''array''  streamdetails = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript">{
   "extends": "Video.Details.File",  
   "extends": "Video.Details.File",  
Line 5,475: Line 5,475:
}</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">{
   "extends": "Video.Details.Media",  
   "extends": "Video.Details.Media",  
Line 5,492: Line 5,492:
}</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">{
   "extends": "Video.Details.MovieSet",  
   "extends": "Video.Details.MovieSet",  
Line 5,511: Line 5,511:
}</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">{
   "extends": "Video.Details.File",  
   "extends": "Video.Details.File",  
Line 5,558: Line 5,558:
}</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">{
   "extends": "Video.Details.Base",  
   "extends": "Video.Details.Base",  
Line 5,590: Line 5,590:
}</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">{
   "extends": "Video.Details.Item",  
   "extends": "Video.Details.Item",  
Line 5,671: Line 5,671:
}</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">{
   "items": {
   "items": {
Line 5,707: Line 5,707:
}</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">{
   "items": {
   "items": {
Line 5,753: Line 5,753:
}</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">{
   "items": {
   "items": {
Line 5,770: Line 5,770:
}</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">{
   "items": {
   "items": {
Line 5,801: Line 5,801:
}</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">{
   "items": {
   "items": {
Line 5,821: Line 5,821:
}</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">{
   "items": {
   "items": {
Line 5,855: Line 5,855:
}</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">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 5,878: Line 5,878:
}</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">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 5,959: Line 5,959:




==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>
Line 5,999: Line 5,999:
}</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>
Line 6,041: Line 6,041:
}</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>


Line 6,066: Line 6,066:
}</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>


Line 6,090: Line 6,090:
}</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>
Line 6,127: Line 6,127:
}</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>


Line 6,151: Line 6,151:
}</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>
Line 6,183: Line 6,183:
}</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>


Line 6,208: Line 6,208:
}</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>


Line 6,232: Line 6,232:
}</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>


Line 6,256: Line 6,256:
}</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>


Line 6,280: Line 6,280:
}</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>


Line 6,304: Line 6,304:
}</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>
Line 6,343: Line 6,343:
}</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>
Line 6,394: Line 6,394:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


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

Revision as of 15:05, 27 April 2013

Template:DevsHeader

JSON-RPC Pages
Main JSON-RPC Page
- v8 (Krypton)
- v10 (Leia)
- v12 (Matrix)
- v13 (Nexus)
- v14 (Omega)
Examples
All JSON-RPC Pages


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 XBMC 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

See also

External links