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

From Official Kodi Wiki
Jump to navigation Jump to search
m (Bot: Automated text replacement (-{{subst:Name}} +Kodi); cosmetic changes)
Line 6: Line 6:


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


==Documentation (JSON Schema)==
== Documentation (JSON Schema) ==
===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="prettytable" style="margin-right: 0;"
{| class="prettytable" style="margin-right: 0;"
Line 146: Line 146:
<div style="clear:left;"></div>
<div style="clear:left;"></div>


==Error message==
== Error message ==
If XBMC detects a bad or missing parameter in a JSON-RPC request it returns an error object. The JSON schema description of that error object is
If XBMC detects a bad or missing parameter in a JSON-RPC request it returns an error object. The JSON schema description of that error object is
{|
{|
Line 174: Line 174:
|}
|}


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


==Methods==
== Methods ==
===Addons===
=== Addons ===
====Addons.ExecuteAddon====
==== Addons.ExecuteAddon ====
Executes the given addon with the given parameters (if possible)<br />
Executes the given addon with the given parameters (if possible)<br />
'''Permissions:'''
'''Permissions:'''
Line 204: Line 204:
'''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'' addonid
# ''string'' addonid
#[ ''mixed'' params = null ]
# [ ''mixed'' params = null ]
#[ ''boolean'' wait = False ]
# [ ''boolean'' wait = False ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 247: Line 247:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Addons.GetAddonDetails====
==== Addons.GetAddonDetails ====
Gets the details of a specific addon<br />
Gets the details of a specific addon<br />
'''Permissions:'''
'''Permissions:'''
Line 253: Line 253:
'''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'' addonid
# ''string'' addonid
#[ ''[[#Addon.Fields|Addon.Fields]]'' properties ]
# [ ''[[#Addon.Fields|Addon.Fields]]'' properties ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 260: Line 260:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*''[[#Addon.Details|Addon.Details]]'' addon
* ''[[#Addon.Details|Addon.Details]]'' addon


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


====Addons.GetAddons====
==== Addons.GetAddons ====
Gets all available addons<br />
Gets all available addons<br />
'''Permissions:'''
'''Permissions:'''
Line 298: Line 298:
'''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">
#[ ''[[#Addon.Types|Addon.Types]]'' type = "unknown" ]
# [ ''[[#Addon.Types|Addon.Types]]'' type = "unknown" ]
#[ ''[[#Addon.Content|Addon.Content]]'' content = "unknown" ]
# [ ''[[#Addon.Content|Addon.Content]]'' content = "unknown" ]
#[ ''mixed'' enabled = "all" ]
# [ ''mixed'' enabled = "all" ]
#[ ''[[#Addon.Fields|Addon.Fields]]'' properties ]
# [ ''[[#Addon.Fields|Addon.Fields]]'' properties ]
#[ ''[[#List.Limits|List.Limits]]'' limits ]
# [ ''[[#List.Limits|List.Limits]]'' limits ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 308: Line 308:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*[ ''[[#Addon.Details|Addon.Details]]''[] addons ]
* [ ''[[#Addon.Details|Addon.Details]]''[] addons ]


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


====Addons.SetAddonEnabled====
==== Addons.SetAddonEnabled ====
Enables/Disables a specific addon<br />
Enables/Disables a specific addon<br />
'''Permissions:'''
'''Permissions:'''
Line 373: Line 373:
'''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'' addonid
# ''string'' addonid
#''[[#Global.Toggle|Global.Toggle]]'' enabled
# ''[[#Global.Toggle|Global.Toggle]]'' enabled
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 396: Line 396:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===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 403: Line 403:
'''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 424: Line 424:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


====Application.SetMute====
==== Application.SetMute ====
Toggle mute/unmute<br />
Toggle mute/unmute<br />
'''Permissions:'''
'''Permissions:'''
Line 445: Line 445:
'''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">
#''[[#Global.Toggle|Global.Toggle]]'' mute
# ''[[#Global.Toggle|Global.Toggle]]'' mute
</div>
</div>
'''Returns:''' ''boolean''
'''Returns:''' ''boolean''
Line 463: Line 463:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Application.SetVolume====
==== Application.SetVolume ====
Set the current volume<br />
Set the current volume<br />
'''Permissions:'''
'''Permissions:'''
Line 469: Line 469:
'''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'' volume
# ''mixed'' volume
</div>
</div>
'''Returns:''' ''integer''
'''Returns:''' ''integer''
Line 495: Line 495:
}</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 511: Line 511:
}</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 517: Line 517:
'''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 562: Line 562:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetAlbumDetails====
==== AudioLibrary.GetAlbumDetails ====
Retrieve details about a specific album<br />
Retrieve details about a specific album<br />
'''Permissions:'''
'''Permissions:'''
Line 568: Line 568:
'''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 575: Line 575:
'''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 601: Line 601:
}</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 607: Line 607:
'''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 ]
#[ ''mixed'' filter ]
# [ ''mixed'' filter ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 616: Line 616:
'''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 703: Line 703:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetArtistDetails====
==== AudioLibrary.GetArtistDetails ====
Retrieve details about a specific artist<br />
Retrieve details about a specific artist<br />
'''Permissions:'''
'''Permissions:'''
Line 709: Line 709:
'''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 716: Line 716:
'''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 742: Line 742:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetArtists====
==== AudioLibrary.GetArtists ====
Retrieve all artists<br />
Retrieve all artists<br />
'''Permissions:'''
'''Permissions:'''
Line 748: Line 748:
'''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 ]
#[ ''[[#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 ]
#[ ''mixed'' filter ]
# [ ''mixed'' filter ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 758: Line 758:
'''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 861: Line 861:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetGenres====
==== AudioLibrary.GetGenres ====
Retrieve all genres<br />
Retrieve all genres<br />
'''Permissions:'''
'''Permissions:'''
Line 867: Line 867:
'''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 875: Line 875:
'''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 913: Line 913:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


====AudioLibrary.GetRecentlyAddedSongs====
==== AudioLibrary.GetRecentlyAddedSongs ====
Retrieve recently added songs<br />
Retrieve recently added songs<br />
'''Permissions:'''
'''Permissions:'''
Line 970: Line 970:
'''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 979: Line 979:
'''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 1,022: Line 1,022:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetRecentlyPlayedAlbums====
==== AudioLibrary.GetRecentlyPlayedAlbums ====
Retrieve recently played albums<br />
Retrieve recently played albums<br />
'''Permissions:'''
'''Permissions:'''
Line 1,028: Line 1,028:
'''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 1,036: Line 1,036:
'''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 1,073: Line 1,073:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetRecentlyPlayedSongs====
==== AudioLibrary.GetRecentlyPlayedSongs ====
Retrieve recently played songs<br />
Retrieve recently played songs<br />
'''Permissions:'''
'''Permissions:'''
Line 1,079: Line 1,079:
'''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.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 1,087: Line 1,087:
'''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 1,124: Line 1,124:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.GetSongDetails====
==== AudioLibrary.GetSongDetails ====
Retrieve details about a specific song<br />
Retrieve details about a specific song<br />
'''Permissions:'''
'''Permissions:'''
Line 1,130: Line 1,130:
'''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 1,137: Line 1,137:
'''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 1,163: Line 1,163:
}</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 1,169: Line 1,169:
'''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.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 ]
#[ ''mixed'' filter ]
# [ ''mixed'' filter ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 1,178: Line 1,178:
'''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 1,286: Line 1,286:
}</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 1,292: Line 1,292:
'''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 = "" ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 1,309: Line 1,309:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.SetAlbumDetails====
==== AudioLibrary.SetAlbumDetails ====
Update the given album with the given details<br />
Update the given album with the given details<br />
'''Permissions:'''
'''Permissions:'''
Line 1,315: Line 1,315:
'''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
#[ ''[[#Optional.String|Optional.String]]'' title = null ]
# [ ''[[#Optional.String|Optional.String]]'' title = null ]
#[ ''mixed'' artist = null ]
# [ ''mixed'' artist = null ]
#[ ''[[#Optional.String|Optional.String]]'' description = null ]
# [ ''[[#Optional.String|Optional.String]]'' description = null ]
#[ ''mixed'' genre = null ]
# [ ''mixed'' genre = null ]
#[ ''mixed'' theme = null ]
# [ ''mixed'' theme = null ]
#[ ''mixed'' mood = null ]
# [ ''mixed'' mood = null ]
#[ ''mixed'' style = null ]
# [ ''mixed'' style = null ]
#[ ''[[#Optional.String|Optional.String]]'' type = null ]
# [ ''[[#Optional.String|Optional.String]]'' type = null ]
#[ ''[[#Optional.String|Optional.String]]'' albumlabel = null ]
# [ ''[[#Optional.String|Optional.String]]'' albumlabel = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' rating = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' rating = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' year = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' year = null ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 1,433: Line 1,433:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.SetArtistDetails====
==== AudioLibrary.SetArtistDetails ====
Update the given artist with the given details<br />
Update the given artist with the given details<br />
'''Permissions:'''
'''Permissions:'''
Line 1,439: Line 1,439:
'''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
#[ ''[[#Optional.String|Optional.String]]'' artist = null ]
# [ ''[[#Optional.String|Optional.String]]'' artist = null ]
#[ ''mixed'' instrument = null ]
# [ ''mixed'' instrument = null ]
#[ ''mixed'' style = null ]
# [ ''mixed'' style = null ]
#[ ''mixed'' mood = null ]
# [ ''mixed'' mood = null ]
#[ ''[[#Optional.String|Optional.String]]'' born = null ]
# [ ''[[#Optional.String|Optional.String]]'' born = null ]
#[ ''[[#Optional.String|Optional.String]]'' formed = null ]
# [ ''[[#Optional.String|Optional.String]]'' formed = null ]
#[ ''[[#Optional.String|Optional.String]]'' description = null ]
# [ ''[[#Optional.String|Optional.String]]'' description = null ]
#[ ''mixed'' genre = null ]
# [ ''mixed'' genre = null ]
#[ ''[[#Optional.String|Optional.String]]'' died = null ]
# [ ''[[#Optional.String|Optional.String]]'' died = null ]
#[ ''[[#Optional.String|Optional.String]]'' disbanded = null ]
# [ ''[[#Optional.String|Optional.String]]'' disbanded = null ]
#[ ''mixed'' yearsactive = null ]
# [ ''mixed'' yearsactive = null ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 1,557: Line 1,557:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.SetSongDetails====
==== AudioLibrary.SetSongDetails ====
Update the given song with the given details<br />
Update the given song with the given details<br />
'''Permissions:'''
'''Permissions:'''
Line 1,563: Line 1,563:
'''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
#[ ''[[#Optional.String|Optional.String]]'' title = null ]
# [ ''[[#Optional.String|Optional.String]]'' title = null ]
#[ ''mixed'' artist = null ]
# [ ''mixed'' artist = null ]
#[ ''mixed'' albumartist = null ]
# [ ''mixed'' albumartist = null ]
#[ ''mixed'' genre = null ]
# [ ''mixed'' genre = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' year = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' year = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' rating = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' rating = null ]
#[ ''[[#Optional.String|Optional.String]]'' album = null ]
# [ ''[[#Optional.String|Optional.String]]'' album = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' track = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' track = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' disc = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' disc = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' duration = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' duration = null ]
#[ ''[[#Optional.String|Optional.String]]'' comment = null ]
# [ ''[[#Optional.String|Optional.String]]'' comment = null ]
#[ ''[[#Optional.String|Optional.String]]'' musicbrainztrackid = null ]
# [ ''[[#Optional.String|Optional.String]]'' musicbrainztrackid = null ]
#[ ''[[#Optional.String|Optional.String]]'' musicbrainzartistid = null ]
# [ ''[[#Optional.String|Optional.String]]'' musicbrainzartistid = null ]
#[ ''[[#Optional.String|Optional.String]]'' musicbrainzalbumid = null ]
# [ ''[[#Optional.String|Optional.String]]'' musicbrainzalbumid = null ]
#[ ''[[#Optional.String|Optional.String]]'' musicbrainzalbumartistid = null ]
# [ ''[[#Optional.String|Optional.String]]'' musicbrainzalbumartistid = null ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 1,691: Line 1,691:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Files===
=== Files ===
====Files.Download====
==== Files.Download ====
Downloads the given file<br />
Downloads the given file<br />
'''Permissions:'''
'''Permissions:'''
Line 1,698: Line 1,698:
'''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:''' ''any''
'''Returns:''' ''any''
Line 1,715: Line 1,715:
}</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 1,721: Line 1,721:
'''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.Files|List.Fields.Files]]'' properties ]
# [ ''[[#List.Fields.Files|List.Fields.Files]]'' properties ]
#[ ''[[#List.Sort|List.Sort]]'' sort ]
# [ ''[[#List.Sort|List.Sort]]'' sort ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 1,730: Line 1,730:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*''[[#List.Item.File|List.Item.File]]''[] files
* ''[[#List.Item.File|List.Item.File]]''[] files


</div>
</div>
Line 1,774: Line 1,774:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Files.GetFileDetails====
==== Files.GetFileDetails ====
Get details for a specific file<br />
Get details for a specific file<br />
'''Permissions:'''
'''Permissions:'''
Line 1,780: Line 1,780:
'''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'' file
# ''string'' file
#[ ''[[#Files.Media|Files.Media]]'' media = "files" ]
# [ ''[[#Files.Media|Files.Media]]'' media = "files" ]
#[ ''[[#List.Fields.Files|List.Fields.Files]]'' properties ]
# [ ''[[#List.Fields.Files|List.Fields.Files]]'' properties ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 1,788: Line 1,788:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.Item.File|List.Item.File]]'' filedetails
* ''[[#List.Item.File|List.Item.File]]'' filedetails


</div>
</div>
Line 1,821: Line 1,821:
}</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 1,827: Line 1,827:
'''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 1,835: Line 1,835:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*''[[#List.Items.Sources|List.Items.Sources]]'' sources
* ''[[#List.Items.Sources|List.Items.Sources]]'' sources


</div>
</div>
Line 1,871: Line 1,871:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Files.PrepareDownload====
==== Files.PrepareDownload ====
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 1,877: Line 1,877:
'''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 1,883: Line 1,883:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''string'' mode
* ''string'' mode
*''string'' protocol
* ''string'' protocol
*''any'' details
* ''any'' details


</div>
</div>
Line 1,925: Line 1,925:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===GUI===
=== GUI ===
====GUI.ActivateWindow====
==== GUI.ActivateWindow ====
Activates the given window<br />
Activates the given window<br />
'''Permissions:'''
'''Permissions:'''
Line 1,932: Line 1,932:
'''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">
#''[[#GUI.Window|GUI.Window]]'' window
# ''[[#GUI.Window|GUI.Window]]'' window
#[ ''array''[1..X] parameters ]
# [ ''array''[1..X] parameters ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 1,959: Line 1,959:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====GUI.GetProperties====
==== GUI.GetProperties ====
Retrieves the values of the given properties<br />
Retrieves the values of the given properties<br />
'''Permissions:'''
'''Permissions:'''
Line 1,965: Line 1,965:
'''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">
#''[[#GUI.Property.Name|GUI.Property.Name]]''[] properties
# ''[[#GUI.Property.Name|GUI.Property.Name]]''[] properties
</div>
</div>
'''Returns:''' ''[[#GUI.Property.Value|GUI.Property.Value]]''
'''Returns:''' ''[[#GUI.Property.Value|GUI.Property.Value]]''
Line 1,986: Line 1,986:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====GUI.SetFullscreen====
==== GUI.SetFullscreen ====
Toggle fullscreen/GUI<br />
Toggle fullscreen/GUI<br />
'''Permissions:'''
'''Permissions:'''
Line 1,992: Line 1,992:
'''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">
#''[[#Global.Toggle|Global.Toggle]]'' fullscreen
# ''[[#Global.Toggle|Global.Toggle]]'' fullscreen
</div>
</div>
'''Returns:''' ''boolean''
'''Returns:''' ''boolean''
Line 2,010: Line 2,010:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====GUI.ShowNotification====
==== GUI.ShowNotification ====
Shows a GUI notification<br />
Shows a GUI notification<br />
'''Permissions:'''
'''Permissions:'''
Line 2,016: Line 2,016:
'''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'' title
# ''string'' title
#''string'' message
# ''string'' message
#[ ''mixed'' image = "" ]
# [ ''mixed'' image = "" ]
#[ ''integer'' displaytime = 5000 ]
# [ ''integer'' displaytime = 5000 ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 2,065: Line 2,065:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


====Input.ContextMenu====
==== Input.ContextMenu ====
Shows the context menu<br />
Shows the context menu<br />
'''Permissions:'''
'''Permissions:'''
Line 2,096: Line 2,096:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


====Input.ExecuteAction====
==== Input.ExecuteAction ====
Execute a specific action<br />
Execute a specific action<br />
'''Permissions:'''
'''Permissions:'''
Line 2,117: Line 2,117:
'''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">
#''[[#Input.Action|Input.Action]]'' action
# ''[[#Input.Action|Input.Action]]'' action
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 2,134: Line 2,134:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


====Input.Info====
==== Input.Info ====
Shows the information dialog<br />
Shows the information dialog<br />
'''Permissions:'''
'''Permissions:'''
Line 2,164: Line 2,164:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


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


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


====Input.SendText====
==== Input.SendText ====
Send a generic (unicode) text<br />
Send a generic (unicode) text<br />
'''Permissions:'''
'''Permissions:'''
Line 2,215: Line 2,215:
'''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'' text
# ''string'' text
#[ ''boolean'' done = True ]
# [ ''boolean'' done = True ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 2,240: Line 2,240:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Input.ShowCodec====
==== Input.ShowCodec ====
Show codec information of the playing item<br />
Show codec information of the playing item<br />
'''Permissions:'''
'''Permissions:'''
Line 2,255: Line 2,255:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Input.ShowOSD====
==== Input.ShowOSD ====
Show the on-screen display for the current player<br />
Show the on-screen display for the current player<br />
'''Permissions:'''
'''Permissions:'''
Line 2,270: Line 2,270:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


===JSONRPC===
=== JSONRPC ===
====JSONRPC.GetConfiguration====
==== JSONRPC.GetConfiguration ====
Get client-specific configurations<br />
Get client-specific configurations<br />
'''Permissions:'''
'''Permissions:'''
Line 2,301: Line 2,301:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====JSONRPC.Introspect====
==== JSONRPC.Introspect ====
Enumerates all actions and descriptions<br />
Enumerates all actions and descriptions<br />
'''Permissions:'''
'''Permissions:'''
Line 2,307: Line 2,307:
'''Parameters:'''  
'''Parameters:'''  
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
#[ ''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:'''
*[ ''boolean'' getreferences = True ]
* [ ''boolean'' getreferences = True ]
*''string'' id
* ''string'' id
*''string'' type
* ''string'' type


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


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


====JSONRPC.Permission====
==== JSONRPC.Permission ====
Retrieve the clients permissions<br />
Retrieve the clients permissions<br />
'''Permissions:'''
'''Permissions:'''
Line 2,418: Line 2,418:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''boolean'' readdata
* ''boolean'' readdata
*''boolean'' writefile
* ''boolean'' writefile
*''boolean'' controlpvr
* ''boolean'' controlpvr
*''boolean'' controlsystem
* ''boolean'' controlsystem
*''boolean'' removedata
* ''boolean'' removedata
*''boolean'' controlplayback
* ''boolean'' controlplayback
*''boolean'' navigate
* ''boolean'' navigate
*''boolean'' controlpower
* ''boolean'' controlpower
*''boolean'' executeaddon
* ''boolean'' executeaddon
*''boolean'' manageaddon
* ''boolean'' manageaddon
*''boolean'' controlgui
* ''boolean'' controlgui
*''boolean'' controlnotify
* ''boolean'' controlnotify
*''boolean'' updatedata
* ''boolean'' updatedata


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


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


====JSONRPC.SetConfiguration====
==== JSONRPC.SetConfiguration ====
Change the client-specific configuration<br />
Change the client-specific configuration<br />
'''Permissions:'''
'''Permissions:'''
Line 2,516: Line 2,516:
'''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">
#[ ''object'' notifications ]<br />
# [ ''object'' notifications ]<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' gui = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' gui = null ]
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' other = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' other = null ]
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' input = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' input = null ]
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' videolibrary = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' videolibrary = null ]
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' audiolibrary = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' audiolibrary = null ]
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' playlist = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' playlist = null ]
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' system = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' system = null ]
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' player = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' player = null ]
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' application = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' application = null ]


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


====JSONRPC.Version====
==== JSONRPC.Version ====
Retrieve the JSON-RPC protocol version.<br />
Retrieve the JSON-RPC protocol version.<br />
'''Permissions:'''
'''Permissions:'''
Line 2,591: Line 2,591:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''integer'' minor
* ''integer'' minor
*''integer'' patch
* ''integer'' patch
*''integer'' major
* ''integer'' major


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


===PVR===
=== PVR ===
====PVR.GetChannelDetails====
==== PVR.GetChannelDetails ====
Retrieves the details of a specific channel<br />
Retrieves the details of a specific channel<br />
'''Permissions:'''
'''Permissions:'''
Line 2,631: Line 2,631:
'''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]]'' channelid
# ''[[#Library.Id|Library.Id]]'' channelid
#[ ''[[#PVR.Fields.Channel|PVR.Fields.Channel]]'' properties ]
# [ ''[[#PVR.Fields.Channel|PVR.Fields.Channel]]'' properties ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 2,638: Line 2,638:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#PVR.Details.Channel|PVR.Details.Channel]]'' channeldetails ]
* [ ''[[#PVR.Details.Channel|PVR.Details.Channel]]'' channeldetails ]


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


====PVR.GetChannelGroupDetails====
==== PVR.GetChannelGroupDetails ====
Retrieves the details of a specific channel group<br />
Retrieves the details of a specific channel group<br />
'''Permissions:'''
'''Permissions:'''
Line 2,670: Line 2,670:
'''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">
#''[[#PVR.ChannelGroup.Id|PVR.ChannelGroup.Id]]'' channelgroupid
# ''[[#PVR.ChannelGroup.Id|PVR.ChannelGroup.Id]]'' channelgroupid
#[ ''object'' channels ]<br />
# [ ''object'' channels ]<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#List.Limits|List.Limits]]'' limits ]
* [ ''[[#List.Limits|List.Limits]]'' limits ]
*[ ''[[#PVR.Fields.Channel|PVR.Fields.Channel]]'' properties ]
* [ ''[[#PVR.Fields.Channel|PVR.Fields.Channel]]'' properties ]


</div>
</div>
Line 2,681: Line 2,681:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#PVR.Details.ChannelGroup.Extended|PVR.Details.ChannelGroup.Extended]]'' channelgroupdetails ]
* [ ''[[#PVR.Details.ChannelGroup.Extended|PVR.Details.ChannelGroup.Extended]]'' channelgroupdetails ]


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


====PVR.GetChannelGroups====
==== PVR.GetChannelGroups ====
Retrieves the channel groups for the specified type<br />
Retrieves the channel groups for the specified type<br />
'''Permissions:'''
'''Permissions:'''
Line 2,721: Line 2,721:
'''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">
#''[[#PVR.Channel.Type|PVR.Channel.Type]]'' channeltype
# ''[[#PVR.Channel.Type|PVR.Channel.Type]]'' channeltype
#[ ''[[#List.Limits|List.Limits]]'' limits ]
# [ ''[[#List.Limits|List.Limits]]'' limits ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 2,728: Line 2,728:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*''[[#PVR.Details.ChannelGroup|PVR.Details.ChannelGroup]]''[] channelgroups
* ''[[#PVR.Details.ChannelGroup|PVR.Details.ChannelGroup]]''[] channelgroups


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


====PVR.GetChannels====
==== PVR.GetChannels ====
Retrieves the channel list<br />
Retrieves the channel list<br />
'''Permissions:'''
'''Permissions:'''
Line 2,769: Line 2,769:
'''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">
#''[[#PVR.ChannelGroup.Id|PVR.ChannelGroup.Id]]'' channelgroupid
# ''[[#PVR.ChannelGroup.Id|PVR.ChannelGroup.Id]]'' channelgroupid
#[ ''[[#PVR.Fields.Channel|PVR.Fields.Channel]]'' properties ]
# [ ''[[#PVR.Fields.Channel|PVR.Fields.Channel]]'' properties ]
#[ ''[[#List.Limits|List.Limits]]'' limits ]
# [ ''[[#List.Limits|List.Limits]]'' limits ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 2,777: Line 2,777:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*''[[#PVR.Details.Channel|PVR.Details.Channel]]''[] channels
* ''[[#PVR.Details.Channel|PVR.Details.Channel]]''[] channels


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


====PVR.GetProperties====
==== PVR.GetProperties ====
Retrieves the values of the given properties<br />
Retrieves the values of the given properties<br />
'''Permissions:'''
'''Permissions:'''
Line 2,822: Line 2,822:
'''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">
#''[[#PVR.Property.Name|PVR.Property.Name]]''[] properties
# ''[[#PVR.Property.Name|PVR.Property.Name]]''[] properties
</div>
</div>
'''Returns:''' ''[[#PVR.Property.Value|PVR.Property.Value]]''
'''Returns:''' ''[[#PVR.Property.Value|PVR.Property.Value]]''
Line 2,843: Line 2,843:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====PVR.Record====
==== PVR.Record ====
Toggle recording of a channel<br />
Toggle recording of a channel<br />
'''Permissions:'''
'''Permissions:'''
Line 2,849: Line 2,849:
'''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">
#[ ''[[#Global.Toggle|Global.Toggle]]'' record = "toggle" ]
# [ ''[[#Global.Toggle|Global.Toggle]]'' record = "toggle" ]
#[ ''mixed'' channel = "current" ]
# [ ''mixed'' channel = "current" ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 2,882: Line 2,882:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====PVR.Scan====
==== PVR.Scan ====
Starts a channel scan<br />
Starts a channel scan<br />
'''Permissions:'''
'''Permissions:'''
Line 2,897: Line 2,897:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


====Player.GetItem====
==== Player.GetItem ====
Retrieves the currently played item<br />
Retrieves the currently played item<br />
'''Permissions:'''
'''Permissions:'''
Line 2,936: Line 2,936:
'''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 2,943: Line 2,943:
'''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 2,970: Line 2,970:
}</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 2,976: Line 2,976:
'''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 3,003: Line 3,003:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.GoTo====
==== Player.GoTo ====
Go to previous/next/specific item in the playlist<br />
Go to previous/next/specific item in the playlist<br />
'''Permissions:'''
'''Permissions:'''
Line 3,009: Line 3,009:
'''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'' to
# ''mixed'' to
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 3,044: Line 3,044:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Move====
==== Player.Move ====
If picture is zoomed move viewport left/right/up/down otherwise skip previous/next<br />
If picture is zoomed move viewport left/right/up/down otherwise skip previous/next<br />
'''Permissions:'''
'''Permissions:'''
Line 3,050: Line 3,050:
'''Parameters:'''  
'''Parameters:'''  
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
#''[[#Player.Id|Player.Id]]'' playerid
# ''[[#Player.Id|Player.Id]]'' playerid
#''string'' direction
# ''string'' direction
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 3,079: Line 3,079:
}</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 3,085: Line 3,085:
'''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 ]
#[ ''object'' options ]<br />
# [ ''object'' options ]<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Optional.Boolean|Optional.Boolean]]'' shuffled = null ]
* [ ''[[#Optional.Boolean|Optional.Boolean]]'' shuffled = null ]
*[ ''mixed'' repeat = null ]
* [ ''mixed'' repeat = null ]
*[ ''mixed'' resume = False ]
* [ ''mixed'' resume = False ]


</div>
</div>
Line 3,216: Line 3,216:
}</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 3,222: Line 3,222:
'''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
#[ ''[[#Global.Toggle|Global.Toggle]]'' play = "toggle" ]
# [ ''[[#Global.Toggle|Global.Toggle]]'' play = "toggle" ]
</div>
</div>
'''Returns:''' ''[[#Player.Speed|Player.Speed]]''
'''Returns:''' ''[[#Player.Speed|Player.Speed]]''
Line 3,245: Line 3,245:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Rotate====
==== Player.Rotate ====
Rotates current picture<br />
Rotates current picture<br />
'''Permissions:'''
'''Permissions:'''
Line 3,251: Line 3,251:
'''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
#[ ''string'' value = "clockwise" ]
# [ ''string'' value = "clockwise" ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 3,278: Line 3,278:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Seek====
==== Player.Seek ====
Seek through the playing item<br />
Seek through the playing item<br />
'''Permissions:'''
'''Permissions:'''
Line 3,284: Line 3,284:
'''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 3,291: Line 3,291:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#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 ]
*[ ''[[#Global.Time|Global.Time]]'' totaltime ]
* [ ''[[#Global.Time|Global.Time]]'' totaltime ]


</div>
</div>
Line 3,346: Line 3,346:
}</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 3,352: Line 3,352:
'''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 3,388: Line 3,388:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.SetPartymode====
==== Player.SetPartymode ====
Turn partymode on or off<br />
Turn partymode on or off<br />
'''Permissions:'''
'''Permissions:'''
Line 3,394: Line 3,394:
'''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
#''[[#Global.Toggle|Global.Toggle]]'' partymode
# ''[[#Global.Toggle|Global.Toggle]]'' partymode
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 3,417: Line 3,417:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.SetRepeat====
==== Player.SetRepeat ====
Set the repeat mode of the player<br />
Set the repeat mode of the player<br />
'''Permissions:'''
'''Permissions:'''
Line 3,423: Line 3,423:
'''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'' repeat
# ''mixed'' repeat
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 3,456: Line 3,456:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.SetShuffle====
==== Player.SetShuffle ====
Shuffle/Unshuffle items in the player<br />
Shuffle/Unshuffle items in the player<br />
'''Permissions:'''
'''Permissions:'''
Line 3,462: Line 3,462:
'''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
#''[[#Global.Toggle|Global.Toggle]]'' shuffle
# ''[[#Global.Toggle|Global.Toggle]]'' shuffle
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 3,485: Line 3,485:
}</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 3,491: Line 3,491:
'''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 3,536: Line 3,536:
}</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 3,542: Line 3,542:
'''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
#[ ''boolean'' enable = False ]
# [ ''boolean'' enable = False ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 3,587: Line 3,587:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Stop====
==== Player.Stop ====
Stops playback<br />
Stops playback<br />
'''Permissions:'''
'''Permissions:'''
Line 3,593: Line 3,593:
'''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 3,610: Line 3,610:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Zoom====
==== Player.Zoom ====
Zoom current picture<br />
Zoom current picture<br />
'''Permissions:'''
'''Permissions:'''
Line 3,616: Line 3,616:
'''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'' zoom
# ''mixed'' zoom
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 3,653: Line 3,653:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


====Playlist.Clear====
==== Playlist.Clear ====
Clear playlist<br />
Clear playlist<br />
'''Permissions:'''
'''Permissions:'''
Line 3,689: Line 3,689:
'''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 3,706: Line 3,706:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Playlist.GetItems====
==== Playlist.GetItems ====
Get all items from playlist<br />
Get all items from playlist<br />
'''Permissions:'''
'''Permissions:'''
Line 3,712: Line 3,712:
'''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 3,721: Line 3,721:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*''[[#List.Item.All|List.Item.All]]''[] items
* ''[[#List.Item.All|List.Item.All]]''[] items


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


====Playlist.GetPlaylists====
==== Playlist.GetPlaylists ====
Returns all existing playlists<br />
Returns all existing playlists<br />
'''Permissions:'''
'''Permissions:'''
Line 3,796: Line 3,796:
}</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 3,802: Line 3,802:
'''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 3,829: Line 3,829:
}</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 3,835: Line 3,835:
'''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 3,864: Line 3,864:
}</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 3,870: Line 3,870:
'''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 3,893: Line 3,893:
}</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 3,899: Line 3,899:
'''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 3,928: Line 3,928:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===System===
=== System ===
====System.EjectOpticalDrive====
==== System.EjectOpticalDrive ====
Ejects or closes the optical disc drive (if available)<br />
Ejects or closes the optical disc drive (if available)<br />
'''Permissions:'''
'''Permissions:'''
Line 3,944: Line 3,944:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.GetProperties====
==== System.GetProperties ====
Retrieves the values of the given properties<br />
Retrieves the values of the given properties<br />
'''Permissions:'''
'''Permissions:'''
Line 3,950: Line 3,950:
'''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 3,971: Line 3,971:
}</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 3,980: Line 3,980:
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "params": [],  
   "params": [],  
   "description": "Puts the system running {{subst:Name}} into hibernate mode",  
   "description": "Puts the system running Kodi into hibernate mode",  
   "returns": {
   "returns": {
     "type": "string"
     "type": "string"
Line 3,986: Line 3,986:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


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


====System.Shutdown====
==== System.Shutdown ====
Shuts the system running XBMC down<br />
Shuts the system running XBMC down<br />
'''Permissions:'''
'''Permissions:'''
Line 4,010: Line 4,010:
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "params": [],  
   "params": [],  
   "description": "Shuts the system running {{subst:Name}} down",  
   "description": "Shuts the system running Kodi down",  
   "returns": {
   "returns": {
     "type": "string"
     "type": "string"
Line 4,016: Line 4,016:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.Suspend====
==== System.Suspend ====
Suspends the system running XBMC<br />
Suspends the system running XBMC<br />
'''Permissions:'''
'''Permissions:'''
Line 4,031: Line 4,031:
}</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 4,047: Line 4,047:
}</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 4,053: Line 4,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">
#[ ''mixed'' options ]
# [ ''mixed'' options ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 4,103: Line 4,103:
}</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 4,109: Line 4,109:
'''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 4,116: Line 4,116:
'''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 4,142: Line 4,142:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetEpisodes====
==== VideoLibrary.GetEpisodes ====
Retrieve all tv show episodes<br />
Retrieve all tv show episodes<br />
'''Permissions:'''
'''Permissions:'''
Line 4,148: Line 4,148:
'''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 ]
#[ ''mixed'' filter ]
# [ ''mixed'' filter ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 4,159: Line 4,159:
'''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 4,272: Line 4,272:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetGenres====
==== VideoLibrary.GetGenres ====
Retrieve all genres<br />
Retrieve all genres<br />
'''Permissions:'''
'''Permissions:'''
Line 4,278: Line 4,278:
'''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 4,287: Line 4,287:
'''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 4,335: Line 4,335:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetMovieDetails====
==== VideoLibrary.GetMovieDetails ====
Retrieve details about a specific movie<br />
Retrieve details about a specific movie<br />
'''Permissions:'''
'''Permissions:'''
Line 4,341: Line 4,341:
'''Parameters:'''  
'''Parameters:'''  
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
#''[[#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 4,348: Line 4,348:
'''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 4,374: Line 4,374:
}</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 4,380: Line 4,380:
'''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.Limits|List.Limits]]'' limits ]
* [ ''[[#List.Limits|List.Limits]]'' limits ]
*[ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ]
* [ ''[[#Video.Fields.Movie|Video.Fields.Movie]]'' properties ]
*[ ''[[#List.Sort|List.Sort]]'' sort ]
* [ ''[[#List.Sort|List.Sort]]'' sort ]


</div>
</div>
Line 4,393: Line 4,393:
'''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 4,434: Line 4,434:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetMovieSets====
==== VideoLibrary.GetMovieSets ====
Retrieve all movie sets<br />
Retrieve all movie sets<br />
'''Permissions:'''
'''Permissions:'''
Line 4,440: Line 4,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">
#[ ''[[#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 4,448: Line 4,448:
'''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 4,485: Line 4,485:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetMovies====
==== VideoLibrary.GetMovies ====
Retrieve all movies<br />
Retrieve all movies<br />
'''Permissions:'''
'''Permissions:'''
Line 4,491: Line 4,491:
'''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 ]
#[ ''mixed'' filter ]
# [ ''mixed'' filter ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 4,500: Line 4,500:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*[ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ]
* [ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ]


</div>
</div>
Line 4,653: Line 4,653:
}</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 4,659: Line 4,659:
'''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 4,666: Line 4,666:
'''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 4,692: Line 4,692:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetMusicVideos====
==== VideoLibrary.GetMusicVideos ====
Retrieve all music videos<br />
Retrieve all music videos<br />
'''Permissions:'''
'''Permissions:'''
Line 4,698: Line 4,698:
'''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 ]
#[ ''mixed'' filter ]
# [ ''mixed'' filter ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 4,707: Line 4,707:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*[ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]''[] musicvideos ]
* [ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]''[] musicvideos ]


</div>
</div>
Line 4,828: Line 4,828:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetRecentlyAddedEpisodes====
==== VideoLibrary.GetRecentlyAddedEpisodes ====
Retrieve all recently added tv episodes<br />
Retrieve all recently added tv episodes<br />
'''Permissions:'''
'''Permissions:'''
Line 4,834: Line 4,834:
'''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 4,842: Line 4,842:
'''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 4,879: Line 4,879:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetRecentlyAddedMovies====
==== VideoLibrary.GetRecentlyAddedMovies ====
Retrieve all recently added movies<br />
Retrieve all recently added movies<br />
'''Permissions:'''
'''Permissions:'''
Line 4,885: Line 4,885:
'''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 4,893: Line 4,893:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*[ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ]
* [ ''[[#Video.Details.Movie|Video.Details.Movie]]''[] movies ]


</div>
</div>
Line 4,930: Line 4,930:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetRecentlyAddedMusicVideos====
==== VideoLibrary.GetRecentlyAddedMusicVideos ====
Retrieve all recently added music videos<br />
Retrieve all recently added music videos<br />
'''Permissions:'''
'''Permissions:'''
Line 4,936: Line 4,936:
'''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 4,944: Line 4,944:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*[ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]''[] musicvideos ]
* [ ''[[#Video.Details.MusicVideo|Video.Details.MusicVideo]]''[] musicvideos ]


</div>
</div>
Line 4,981: Line 4,981:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetSeasons====
==== VideoLibrary.GetSeasons ====
Retrieve all tv seasons<br />
Retrieve all tv seasons<br />
'''Permissions:'''
'''Permissions:'''
Line 4,987: Line 4,987:
'''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 4,996: Line 4,996:
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*[ ''[[#Video.Details.Season|Video.Details.Season]]''[] seasons ]
* [ ''[[#Video.Details.Season|Video.Details.Season]]''[] seasons ]


</div>
</div>
Line 5,038: Line 5,038:
}</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 5,044: Line 5,044:
'''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 5,051: Line 5,051:
'''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 5,077: Line 5,077:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.GetTVShows====
==== VideoLibrary.GetTVShows ====
Retrieve all tv shows<br />
Retrieve all tv shows<br />
'''Permissions:'''
'''Permissions:'''
Line 5,083: Line 5,083:
'''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 ]
#[ ''mixed'' filter ]
# [ ''mixed'' filter ]
</div>
</div>
'''Returns:'''  
'''Returns:'''  
Line 5,092: Line 5,092:
'''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 5,202: Line 5,202:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.RemoveEpisode====
==== VideoLibrary.RemoveEpisode ====
Removes the given episode from the library<br />
Removes the given episode from the library<br />
'''Permissions:'''
'''Permissions:'''
Line 5,208: Line 5,208:
'''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
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 5,225: Line 5,225:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.RemoveMovie====
==== VideoLibrary.RemoveMovie ====
Removes the given movie from the library<br />
Removes the given movie from the library<br />
'''Permissions:'''
'''Permissions:'''
Line 5,231: Line 5,231:
'''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
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 5,248: Line 5,248:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.RemoveMusicVideo====
==== VideoLibrary.RemoveMusicVideo ====
Removes the given music video from the library<br />
Removes the given music video from the library<br />
'''Permissions:'''
'''Permissions:'''
Line 5,254: Line 5,254:
'''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
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 5,271: Line 5,271:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.RemoveTVShow====
==== VideoLibrary.RemoveTVShow ====
Removes the given tv show from the library<br />
Removes the given tv show from the library<br />
'''Permissions:'''
'''Permissions:'''
Line 5,277: Line 5,277:
'''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
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 5,294: Line 5,294:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.Scan====
==== VideoLibrary.Scan ====
Scans the video sources for new library items<br />
Scans the video sources for new library items<br />
'''Permissions:'''
'''Permissions:'''
Line 5,300: Line 5,300:
'''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 = "" ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 5,317: Line 5,317:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.SetEpisodeDetails====
==== VideoLibrary.SetEpisodeDetails ====
Update the given episode with the given details<br />
Update the given episode with the given details<br />
'''Permissions:'''
'''Permissions:'''
Line 5,323: Line 5,323:
'''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
#[ ''[[#Optional.String|Optional.String]]'' title = null ]
# [ ''[[#Optional.String|Optional.String]]'' title = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' playcount = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' playcount = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' runtime = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' runtime = null ]
#[ ''mixed'' director = null ]
# [ ''mixed'' director = null ]
#[ ''[[#Optional.String|Optional.String]]'' plot = null ]
# [ ''[[#Optional.String|Optional.String]]'' plot = null ]
#[ ''[[#Optional.Number|Optional.Number]]'' rating = null ]
# [ ''[[#Optional.Number|Optional.Number]]'' rating = null ]
#[ ''[[#Optional.String|Optional.String]]'' votes = null ]
# [ ''[[#Optional.String|Optional.String]]'' votes = null ]
#[ ''[[#Optional.String|Optional.String]]'' lastplayed = null ]
# [ ''[[#Optional.String|Optional.String]]'' lastplayed = null ]
#[ ''mixed'' writer = null ]
# [ ''mixed'' writer = null ]
#[ ''[[#Optional.String|Optional.String]]'' firstaired = null ]
# [ ''[[#Optional.String|Optional.String]]'' firstaired = null ]
#[ ''[[#Optional.String|Optional.String]]'' productioncode = null ]
# [ ''[[#Optional.String|Optional.String]]'' productioncode = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' season = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' season = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' episode = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' episode = null ]
#[ ''[[#Optional.String|Optional.String]]'' originaltitle = null ]
# [ ''[[#Optional.String|Optional.String]]'' originaltitle = null ]
#[ ''[[#Optional.String|Optional.String]]'' thumbnail = null ]
# [ ''[[#Optional.String|Optional.String]]'' thumbnail = null ]
#[ ''[[#Optional.String|Optional.String]]'' fanart = null ]
# [ ''[[#Optional.String|Optional.String]]'' fanart = null ]
#[ ''mixed'' art = null ]
# [ ''mixed'' art = null ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 5,464: Line 5,464:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.SetMovieDetails====
==== VideoLibrary.SetMovieDetails ====
Update the given movie with the given details<br />
Update the given movie with the given details<br />
'''Permissions:'''
'''Permissions:'''
Line 5,470: Line 5,470:
'''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
#[ ''[[#Optional.String|Optional.String]]'' title = null ]
# [ ''[[#Optional.String|Optional.String]]'' title = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' playcount = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' playcount = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' runtime = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' runtime = null ]
#[ ''mixed'' director = null ]
# [ ''mixed'' director = null ]
#[ ''mixed'' studio = null ]
# [ ''mixed'' studio = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' year = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' year = null ]
#[ ''[[#Optional.String|Optional.String]]'' plot = null ]
# [ ''[[#Optional.String|Optional.String]]'' plot = null ]
#[ ''mixed'' genre = null ]
# [ ''mixed'' genre = null ]
#[ ''[[#Optional.Number|Optional.Number]]'' rating = null ]
# [ ''[[#Optional.Number|Optional.Number]]'' rating = null ]
#[ ''[[#Optional.String|Optional.String]]'' mpaa = null ]
# [ ''[[#Optional.String|Optional.String]]'' mpaa = null ]
#[ ''[[#Optional.String|Optional.String]]'' imdbnumber = null ]
# [ ''[[#Optional.String|Optional.String]]'' imdbnumber = null ]
#[ ''[[#Optional.String|Optional.String]]'' votes = null ]
# [ ''[[#Optional.String|Optional.String]]'' votes = null ]
#[ ''[[#Optional.String|Optional.String]]'' lastplayed = null ]
# [ ''[[#Optional.String|Optional.String]]'' lastplayed = null ]
#[ ''[[#Optional.String|Optional.String]]'' originaltitle = null ]
# [ ''[[#Optional.String|Optional.String]]'' originaltitle = null ]
#[ ''[[#Optional.String|Optional.String]]'' trailer = null ]
# [ ''[[#Optional.String|Optional.String]]'' trailer = null ]
#[ ''[[#Optional.String|Optional.String]]'' tagline = null ]
# [ ''[[#Optional.String|Optional.String]]'' tagline = null ]
#[ ''[[#Optional.String|Optional.String]]'' plotoutline = null ]
# [ ''[[#Optional.String|Optional.String]]'' plotoutline = null ]
#[ ''mixed'' writer = null ]
# [ ''mixed'' writer = null ]
#[ ''mixed'' country = null ]
# [ ''mixed'' country = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' top250 = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' top250 = null ]
#[ ''[[#Optional.String|Optional.String]]'' sorttitle = null ]
# [ ''[[#Optional.String|Optional.String]]'' sorttitle = null ]
#[ ''[[#Optional.String|Optional.String]]'' set = null ]
# [ ''[[#Optional.String|Optional.String]]'' set = null ]
#[ ''mixed'' showlink = null ]
# [ ''mixed'' showlink = null ]
#[ ''[[#Optional.String|Optional.String]]'' thumbnail = null ]
# [ ''[[#Optional.String|Optional.String]]'' thumbnail = null ]
#[ ''[[#Optional.String|Optional.String]]'' fanart = null ]
# [ ''[[#Optional.String|Optional.String]]'' fanart = null ]
#[ ''mixed'' tag = null ]
# [ ''mixed'' tag = null ]
#[ ''mixed'' art = null ]
# [ ''mixed'' art = null ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 5,706: Line 5,706:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.SetMusicVideoDetails====
==== VideoLibrary.SetMusicVideoDetails ====
Update the given music video with the given details<br />
Update the given music video with the given details<br />
'''Permissions:'''
'''Permissions:'''
Line 5,712: Line 5,712:
'''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
#[ ''[[#Optional.String|Optional.String]]'' title = null ]
# [ ''[[#Optional.String|Optional.String]]'' title = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' playcount = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' playcount = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' runtime = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' runtime = null ]
#[ ''mixed'' director = null ]
# [ ''mixed'' director = null ]
#[ ''mixed'' studio = null ]
# [ ''mixed'' studio = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' year = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' year = null ]
#[ ''[[#Optional.String|Optional.String]]'' plot = null ]
# [ ''[[#Optional.String|Optional.String]]'' plot = null ]
#[ ''[[#Optional.String|Optional.String]]'' album = null ]
# [ ''[[#Optional.String|Optional.String]]'' album = null ]
#[ ''mixed'' artist = null ]
# [ ''mixed'' artist = null ]
#[ ''mixed'' genre = null ]
# [ ''mixed'' genre = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' track = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' track = null ]
#[ ''[[#Optional.String|Optional.String]]'' lastplayed = null ]
# [ ''[[#Optional.String|Optional.String]]'' lastplayed = null ]
#[ ''[[#Optional.String|Optional.String]]'' thumbnail = null ]
# [ ''[[#Optional.String|Optional.String]]'' thumbnail = null ]
#[ ''[[#Optional.String|Optional.String]]'' fanart = null ]
# [ ''[[#Optional.String|Optional.String]]'' fanart = null ]
#[ ''mixed'' tag = null ]
# [ ''mixed'' tag = null ]
#[ ''mixed'' art = null ]
# [ ''mixed'' art = null ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 5,868: Line 5,868:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.SetTVShowDetails====
==== VideoLibrary.SetTVShowDetails ====
Update the given tvshow with the given details<br />
Update the given tvshow with the given details<br />
'''Permissions:'''
'''Permissions:'''
Line 5,874: Line 5,874:
'''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
#[ ''[[#Optional.String|Optional.String]]'' title = null ]
# [ ''[[#Optional.String|Optional.String]]'' title = null ]
#[ ''[[#Optional.Integer|Optional.Integer]]'' playcount = null ]
# [ ''[[#Optional.Integer|Optional.Integer]]'' playcount = null ]
#[ ''mixed'' studio = null ]
# [ ''mixed'' studio = null ]
#[ ''[[#Optional.String|Optional.String]]'' plot = null ]
# [ ''[[#Optional.String|Optional.String]]'' plot = null ]
#[ ''mixed'' genre = null ]
# [ ''mixed'' genre = null ]
#[ ''[[#Optional.Number|Optional.Number]]'' rating = null ]
# [ ''[[#Optional.Number|Optional.Number]]'' rating = null ]
#[ ''[[#Optional.String|Optional.String]]'' mpaa = null ]
# [ ''[[#Optional.String|Optional.String]]'' mpaa = null ]
#[ ''[[#Optional.String|Optional.String]]'' imdbnumber = null ]
# [ ''[[#Optional.String|Optional.String]]'' imdbnumber = null ]
#[ ''[[#Optional.String|Optional.String]]'' premiered = null ]
# [ ''[[#Optional.String|Optional.String]]'' premiered = null ]
#[ ''[[#Optional.String|Optional.String]]'' votes = null ]
# [ ''[[#Optional.String|Optional.String]]'' votes = null ]
#[ ''[[#Optional.String|Optional.String]]'' lastplayed = null ]
# [ ''[[#Optional.String|Optional.String]]'' lastplayed = null ]
#[ ''[[#Optional.String|Optional.String]]'' originaltitle = null ]
# [ ''[[#Optional.String|Optional.String]]'' originaltitle = null ]
#[ ''[[#Optional.String|Optional.String]]'' sorttitle = null ]
# [ ''[[#Optional.String|Optional.String]]'' sorttitle = null ]
#[ ''[[#Optional.String|Optional.String]]'' episodeguide = null ]
# [ ''[[#Optional.String|Optional.String]]'' episodeguide = null ]
#[ ''[[#Optional.String|Optional.String]]'' thumbnail = null ]
# [ ''[[#Optional.String|Optional.String]]'' thumbnail = null ]
#[ ''[[#Optional.String|Optional.String]]'' fanart = null ]
# [ ''[[#Optional.String|Optional.String]]'' fanart = null ]
#[ ''mixed'' tag = null ]
# [ ''mixed'' tag = null ]
#[ ''mixed'' art = null ]
# [ ''mixed'' art = null ]
</div>
</div>
'''Returns:''' ''string''
'''Returns:''' ''string''
Line 6,027: Line 6,027:
}</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 6,034: Line 6,034:
'''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 6,052: Line 6,052:
     }
     }
   ],  
   ],  
   "description": "Retrieve info booleans about {{subst:Name}} and the system",  
   "description": "Retrieve info booleans about Kodi and the system",  
   "returns": {
   "returns": {
     "additionalProperties": {
     "additionalProperties": {
Line 6,063: Line 6,063:
}</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 6,069: Line 6,069:
'''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 6,088: Line 6,088:
     }
     }
   ],  
   ],  
   "description": "Retrieve info labels about {{subst:Name}} and the system",  
   "description": "Retrieve info labels about Kodi and the system",  
   "returns": {
   "returns": {
     "additionalProperties": {
     "additionalProperties": {
Line 6,100: Line 6,100:




==Global types==
== Global types ==
===Addon===
=== Addon ===
====Addon.Content====
==== Addon.Content ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 6,116: Line 6,116:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Addon.Details====
==== Addon.Details ====
'''Extends:'''
'''Extends:'''
*''[[#Item.Details.Base|Item.Details.Base]]''
* ''[[#Item.Details.Base|Item.Details.Base]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''string'' addonid
* ''string'' addonid
*[ ''string'' disclaimer = "" ]
* [ ''string'' disclaimer = "" ]
*[ ''string'' fanart = "" ]
* [ ''string'' fanart = "" ]
*[ ''mixed'' broken = null ]
* [ ''mixed'' broken = null ]
*[ ''string'' author = "" ]
* [ ''string'' author = "" ]
*[ ''boolean'' enabled = False ]
* [ ''boolean'' enabled = False ]
*[ ''array'' extrainfo ]
* [ ''array'' extrainfo ]
*[ ''string'' thumbnail = "" ]
* [ ''string'' thumbnail = "" ]
*[ ''string'' path = "" ]
* [ ''string'' path = "" ]
*[ ''array'' dependencies ]
* [ ''array'' dependencies ]
*''[[#Addon.Types|Addon.Types]]'' type
* ''[[#Addon.Types|Addon.Types]]'' type
*[ ''string'' description = "" ]
* [ ''string'' description = "" ]
*[ ''string'' name = "" ]
* [ ''string'' name = "" ]
*[ ''string'' version = "" ]
* [ ''string'' version = "" ]
*[ ''string'' summary = "" ]
* [ ''string'' summary = "" ]
*[ ''integer'' rating = 0 ]
* [ ''integer'' rating = 0 ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Addon.Details",  
   "id": "Addon.Details",  
Line 6,243: Line 6,243:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Addon.Fields====
==== Addon.Fields ====
'''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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 6,270: Line 6,270:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Addon.Types====
==== Addon.Types ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 6,299: Line 6,299:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 6,313: Line 6,313:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Application.Property.Value====
==== Application.Property.Value ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''object'' version ]<br />
* [ ''object'' version ]<br />
'''Properties:'''
'''Properties:'''
**''integer'' minor
** ''integer'' minor
**''string'' tag
** ''string'' tag
**''integer'' major
** ''integer'' major
**[ ''mixed'' revision = null ]
** [ ''mixed'' revision = null ]


*[ ''string'' name = "" ]
* [ ''string'' name = "" ]
*[ ''integer'' volume = 0 ]
* [ ''integer'' volume = 0 ]
*[ ''boolean'' muted = False ]
* [ ''boolean'' muted = False ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Application.Property.Value",  
   "id": "Application.Property.Value",  
Line 6,385: Line 6,385:
}</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" enclose="div">{
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 6,395: Line 6,395:
}</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" enclose="div">{
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 6,405: Line 6,405:
}</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:'''
*[ ''[[#Array.String|Array.String]]'' theme ]
* [ ''[[#Array.String|Array.String]]'' theme ]
*[ ''string'' description = "" ]
* [ ''string'' description = "" ]
*[ ''string'' type = "" ]
* [ ''string'' type = "" ]
*[ ''[[#Array.String|Array.String]]'' style ]
* [ ''[[#Array.String|Array.String]]'' style ]
*''[[#Library.Id|Library.Id]]'' albumid
* ''[[#Library.Id|Library.Id]]'' albumid
*[ ''integer'' playcount = 0 ]
* [ ''integer'' playcount = 0 ]
*[ ''string'' albumlabel = "" ]
* [ ''string'' albumlabel = "" ]
*[ ''[[#Array.String|Array.String]]'' mood ]
* [ ''[[#Array.String|Array.String]]'' mood ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Audio.Details.Album",  
   "id": "Audio.Details.Album",  
Line 6,455: Line 6,455:
}</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'' born = "" ]
* [ ''string'' born = "" ]
*[ ''string'' formed = "" ]
* [ ''string'' formed = "" ]
*[ ''string'' died = "" ]
* [ ''string'' died = "" ]
*[ ''[[#Array.String|Array.String]]'' style ]
* [ ''[[#Array.String|Array.String]]'' style ]
*[ ''[[#Array.String|Array.String]]'' yearsactive ]
* [ ''[[#Array.String|Array.String]]'' yearsactive ]
*[ ''[[#Array.String|Array.String]]'' mood ]
* [ ''[[#Array.String|Array.String]]'' mood ]
*[ ''string'' musicbrainzartistid = "" ]
* [ ''string'' musicbrainzartistid = "" ]
*[ ''string'' disbanded = "" ]
* [ ''string'' disbanded = "" ]
*[ ''string'' description = "" ]
* [ ''string'' description = "" ]
*''string'' artist
* ''string'' artist
*[ ''[[#Array.String|Array.String]]'' instrument ]
* [ ''[[#Array.String|Array.String]]'' instrument ]
*''[[#Library.Id|Library.Id]]'' artistid
* ''[[#Library.Id|Library.Id]]'' artistid
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Audio.Details.Artist",  
   "id": "Audio.Details.Artist",  
Line 6,523: Line 6,523:
}</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:'''
*[ ''[[#Array.String|Array.String]]'' genre ]
* [ ''[[#Array.String|Array.String]]'' genre ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Audio.Details.Base",  
   "id": "Audio.Details.Base",  
Line 6,539: Line 6,539:
}</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:'''
*[ ''string'' displayartist = "" ]
* [ ''string'' displayartist = "" ]
*[ ''[[#Array.String|Array.String]]'' artist ]
* [ ''[[#Array.String|Array.String]]'' artist ]
*[ ''[[#Array.Integer|Array.Integer]]'' genreid ]
* [ ''[[#Array.Integer|Array.Integer]]'' genreid ]
*[ ''string'' musicbrainzalbumartistid = "" ]
* [ ''string'' musicbrainzalbumartistid = "" ]
*[ ''integer'' year = 0 ]
* [ ''integer'' year = 0 ]
*[ ''integer'' rating = 0 ]
* [ ''integer'' rating = 0 ]
*[ ''[[#Array.Integer|Array.Integer]]'' artistid ]
* [ ''[[#Array.Integer|Array.Integer]]'' artistid ]
*[ ''string'' title = "" ]
* [ ''string'' title = "" ]
*[ ''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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Audio.Details.Media",  
   "id": "Audio.Details.Media",  
Line 6,593: Line 6,593:
}</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'' lyrics = "" ]
* [ ''string'' lyrics = "" ]
*''[[#Library.Id|Library.Id]]'' songid
* ''[[#Library.Id|Library.Id]]'' songid
*[ ''[[#Array.Integer|Array.Integer]]'' albumartistid ]
* [ ''[[#Array.Integer|Array.Integer]]'' albumartistid ]
*[ ''integer'' disc = 0 ]
* [ ''integer'' disc = 0 ]
*[ ''string'' comment = "" ]
* [ ''string'' comment = "" ]
*[ ''integer'' playcount = 0 ]
* [ ''integer'' playcount = 0 ]
*[ ''string'' album = "" ]
* [ ''string'' album = "" ]
*[ ''string'' file = "" ]
* [ ''string'' file = "" ]
*[ ''string'' lastplayed = "" ]
* [ ''string'' lastplayed = "" ]
*[ ''[[#Library.Id|Library.Id]]'' albumid = -1 ]
* [ ''[[#Library.Id|Library.Id]]'' albumid = -1 ]
*[ ''string'' musicbrainzartistid = "" ]
* [ ''string'' musicbrainzartistid = "" ]
*[ ''[[#Array.String|Array.String]]'' albumartist ]
* [ ''[[#Array.String|Array.String]]'' albumartist ]
*[ ''integer'' duration = 0 ]
* [ ''integer'' duration = 0 ]
*[ ''string'' musicbrainztrackid = "" ]
* [ ''string'' musicbrainztrackid = "" ]
*[ ''integer'' track = 0 ]
* [ ''integer'' track = 0 ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Audio.Details.Song",  
   "id": "Audio.Details.Song",  
Line 6,678: Line 6,678:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 6,711: Line 6,711:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 6,737: Line 6,737:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 6,777: Line 6,777:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Configuration",  
   "id": "Configuration",  
Line 6,794: Line 6,794:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Configuration.Notifications====
==== Configuration.Notifications ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''boolean'' gui
* ''boolean'' gui
*''boolean'' other
* ''boolean'' other
*''boolean'' input
* ''boolean'' input
*''boolean'' videolibrary
* ''boolean'' videolibrary
*''boolean'' audiolibrary
* ''boolean'' audiolibrary
*''boolean'' pvr
* ''boolean'' pvr
*''boolean'' playlist
* ''boolean'' playlist
*''boolean'' system
* ''boolean'' system
*''boolean'' player
* ''boolean'' player
*''boolean'' application
* ''boolean'' application
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 6,855: Line 6,855:
}</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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 6,870: Line 6,870:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===GUI===
=== GUI ===
====GUI.Property.Name====
==== GUI.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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 6,884: Line 6,884:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====GUI.Property.Value====
==== GUI.Property.Value ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''object'' currentwindow ]<br />
* [ ''object'' currentwindow ]<br />
'''Properties:'''
'''Properties:'''
**''string'' label
** ''string'' label
**''integer'' id
** ''integer'' id


*[ ''boolean'' fullscreen = False ]
* [ ''boolean'' fullscreen = False ]
*[ ''object'' skin ]<br />
* [ ''object'' skin ]<br />
'''Properties:'''
'''Properties:'''
**''string'' id
** ''string'' id
**[ ''string'' name = "" ]
** [ ''string'' name = "" ]


*[ ''object'' currentcontrol ]<br />
* [ ''object'' currentcontrol ]<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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
Line 6,949: Line 6,949:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====GUI.Window====
==== GUI.Window ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,072: Line 7,072:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Global===
=== Global ===
====Global.IncrementDecrement====
==== Global.IncrementDecrement ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,084: Line 7,084:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Global.String.NotEmpty====
==== Global.String.NotEmpty ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Global.String.NotEmpty",  
   "id": "Global.String.NotEmpty",  
Line 7,092: Line 7,092:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Global.Time====
==== Global.Time ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''integer'' hours
* ''integer'' hours
*''integer'' milliseconds
* ''integer'' milliseconds
*''integer'' seconds
* ''integer'' seconds
*''integer'' minutes
* ''integer'' minutes
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 7,131: Line 7,131:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Global.Toggle====
==== Global.Toggle ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Global.Toggle",  
   "id": "Global.Toggle",  
Line 7,148: Line 7,148:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Input===
=== Input ===
====Input.Action====
==== Input.Action ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,330: Line 7,330:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Item.Details.Base",  
   "id": "Item.Details.Base",  
Line 7,346: Line 7,346:
}</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" enclose="div">{
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 7,356: Line 7,356:
}</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:'''
*[ ''string'' thumbnail = "" ]
* [ ''string'' thumbnail = "" ]
*[ ''string'' title = "" ]
* [ ''string'' title = "" ]
*''[[#Library.Id|Library.Id]]'' genreid
* ''[[#Library.Id|Library.Id]]'' genreid
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Library.Details.Genre",  
   "id": "Library.Details.Genre",  
Line 7,384: Line 7,384:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 7,399: Line 7,399:
}</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" enclose="div">{
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "minimum": 1,  
   "minimum": 1,  
Line 7,407: Line 7,407:
}</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" enclose="div">{
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "minimum": 0,  
   "minimum": 0,  
Line 7,416: Line 7,416:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 7,501: Line 7,501:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Fields.Files====
==== List.Fields.Files ====
'''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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 7,582: Line 7,582:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Albums====
==== List.Filter.Albums ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Albums",  
   "id": "List.Filter.Albums",  
Line 7,618: Line 7,618:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Artists====
==== List.Filter.Artists ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Artists",  
   "id": "List.Filter.Artists",  
Line 7,654: Line 7,654:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Episodes====
==== List.Filter.Episodes ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Episodes",  
   "id": "List.Filter.Episodes",  
Line 7,690: Line 7,690:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Fields.Albums====
==== List.Filter.Fields.Albums ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,713: Line 7,713:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Fields.Artists====
==== List.Filter.Fields.Artists ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,733: Line 7,733:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Fields.Episodes====
==== List.Filter.Fields.Episodes ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,772: Line 7,772:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Fields.Movies====
==== List.Filter.Fields.Movies ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,814: Line 7,814:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Fields.MusicVideos====
==== List.Filter.Fields.MusicVideos ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,845: Line 7,845:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Fields.Songs====
==== List.Filter.Fields.Songs ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,870: Line 7,870:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Fields.TVShows====
==== List.Filter.Fields.TVShows ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,898: Line 7,898:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Movies====
==== List.Filter.Movies ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Movies",  
   "id": "List.Filter.Movies",  
Line 7,934: Line 7,934:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.MusicVideos====
==== List.Filter.MusicVideos ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.MusicVideos",  
   "id": "List.Filter.MusicVideos",  
Line 7,970: Line 7,970:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Operators====
==== List.Filter.Operators ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 7,994: Line 7,994:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Rule====
==== List.Filter.Rule ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''mixed'' value
* ''mixed'' value
*''[[#List.Filter.Operators|List.Filter.Operators]]'' operator
* ''[[#List.Filter.Operators|List.Filter.Operators]]'' operator
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Rule",  
   "id": "List.Filter.Rule",  
Line 8,024: Line 8,024:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Rule.Albums====
==== List.Filter.Rule.Albums ====
'''Extends:'''
'''Extends:'''
*''[[#List.Filter.Rule|List.Filter.Rule]]''
* ''[[#List.Filter.Rule|List.Filter.Rule]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''[[#List.Filter.Fields.Albums|List.Filter.Fields.Albums]]'' field
* ''[[#List.Filter.Fields.Albums|List.Filter.Fields.Albums]]'' field
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Rule.Albums",  
   "id": "List.Filter.Rule.Albums",  
Line 8,041: Line 8,041:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Rule.Artists====
==== List.Filter.Rule.Artists ====
'''Extends:'''
'''Extends:'''
*''[[#List.Filter.Rule|List.Filter.Rule]]''
* ''[[#List.Filter.Rule|List.Filter.Rule]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''[[#List.Filter.Fields.Artists|List.Filter.Fields.Artists]]'' field
* ''[[#List.Filter.Fields.Artists|List.Filter.Fields.Artists]]'' field
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Rule.Artists",  
   "id": "List.Filter.Rule.Artists",  
Line 8,058: Line 8,058:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Rule.Episodes====
==== List.Filter.Rule.Episodes ====
'''Extends:'''
'''Extends:'''
*''[[#List.Filter.Rule|List.Filter.Rule]]''
* ''[[#List.Filter.Rule|List.Filter.Rule]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''[[#List.Filter.Fields.Episodes|List.Filter.Fields.Episodes]]'' field
* ''[[#List.Filter.Fields.Episodes|List.Filter.Fields.Episodes]]'' field
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Rule.Episodes",  
   "id": "List.Filter.Rule.Episodes",  
Line 8,075: Line 8,075:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Rule.Movies====
==== List.Filter.Rule.Movies ====
'''Extends:'''
'''Extends:'''
*''[[#List.Filter.Rule|List.Filter.Rule]]''
* ''[[#List.Filter.Rule|List.Filter.Rule]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''[[#List.Filter.Fields.Movies|List.Filter.Fields.Movies]]'' field
* ''[[#List.Filter.Fields.Movies|List.Filter.Fields.Movies]]'' field
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Rule.Movies",  
   "id": "List.Filter.Rule.Movies",  
Line 8,092: Line 8,092:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Rule.MusicVideos====
==== List.Filter.Rule.MusicVideos ====
'''Extends:'''
'''Extends:'''
*''[[#List.Filter.Rule|List.Filter.Rule]]''
* ''[[#List.Filter.Rule|List.Filter.Rule]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''[[#List.Filter.Fields.MusicVideos|List.Filter.Fields.MusicVideos]]'' field
* ''[[#List.Filter.Fields.MusicVideos|List.Filter.Fields.MusicVideos]]'' field
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Rule.MusicVideos",  
   "id": "List.Filter.Rule.MusicVideos",  
Line 8,109: Line 8,109:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Rule.Songs====
==== List.Filter.Rule.Songs ====
'''Extends:'''
'''Extends:'''
*''[[#List.Filter.Rule|List.Filter.Rule]]''
* ''[[#List.Filter.Rule|List.Filter.Rule]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''[[#List.Filter.Fields.Songs|List.Filter.Fields.Songs]]'' field
* ''[[#List.Filter.Fields.Songs|List.Filter.Fields.Songs]]'' field
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Rule.Songs",  
   "id": "List.Filter.Rule.Songs",  
Line 8,126: Line 8,126:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Rule.TVShows====
==== List.Filter.Rule.TVShows ====
'''Extends:'''
'''Extends:'''
*''[[#List.Filter.Rule|List.Filter.Rule]]''
* ''[[#List.Filter.Rule|List.Filter.Rule]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''[[#List.Filter.Fields.TVShows|List.Filter.Fields.TVShows]]'' field
* ''[[#List.Filter.Fields.TVShows|List.Filter.Fields.TVShows]]'' field
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Rule.TVShows",  
   "id": "List.Filter.Rule.TVShows",  
Line 8,143: Line 8,143:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.Songs====
==== List.Filter.Songs ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.Songs",  
   "id": "List.Filter.Songs",  
Line 8,179: Line 8,179:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Filter.TVShows====
==== List.Filter.TVShows ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Filter.TVShows",  
   "id": "List.Filter.TVShows",  
Line 8,215: Line 8,215:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Item.All====
==== List.Item.All ====
'''Extends:'''
'''Extends:'''
*''[[#List.Item.Base|List.Item.Base]]''
* ''[[#List.Item.Base|List.Item.Base]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#PVR.Channel.Type|PVR.Channel.Type]]'' channeltype = "tv" ]
* [ ''[[#PVR.Channel.Type|PVR.Channel.Type]]'' channeltype = "tv" ]
*[ ''string'' channel = "" ]
* [ ''string'' channel = "" ]
*[ ''string'' starttime = "" ]
* [ ''string'' starttime = "" ]
*[ ''string'' endtime = "" ]
* [ ''string'' endtime = "" ]
*[ ''integer'' channelnumber = 0 ]
* [ ''integer'' channelnumber = 0 ]
*[ ''boolean'' hidden = False ]
* [ ''boolean'' hidden = False ]
*[ ''boolean'' locked = False ]
* [ ''boolean'' locked = False ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Item.All",  
   "id": "List.Item.All",  
Line 8,262: Line 8,262:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Item.Base====
==== List.Item.Base ====
'''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'' sorttitle = "" ]
* [ ''string'' sorttitle = "" ]
*[ ''string'' productioncode = "" ]
* [ ''string'' productioncode = "" ]
*[ ''[[#Video.Cast|Video.Cast]]'' cast ]
* [ ''[[#Video.Cast|Video.Cast]]'' cast ]
*[ ''string'' votes = "" ]
* [ ''string'' votes = "" ]
*[ ''integer'' duration = 0 ]
* [ ''integer'' duration = 0 ]
*[ ''string'' trailer = "" ]
* [ ''string'' trailer = "" ]
*[ ''[[#Library.Id|Library.Id]]'' albumid = -1 ]
* [ ''[[#Library.Id|Library.Id]]'' albumid = -1 ]
*[ ''string'' musicbrainzartistid = "" ]
* [ ''string'' musicbrainzartistid = "" ]
*[ ''string'' mpaa = "" ]
* [ ''string'' mpaa = "" ]
*[ ''string'' albumlabel = "" ]
* [ ''string'' albumlabel = "" ]
*[ ''string'' originaltitle = "" ]
* [ ''string'' originaltitle = "" ]
*[ ''[[#Array.String|Array.String]]'' writer ]
* [ ''[[#Array.String|Array.String]]'' writer ]
*[ ''[[#Array.Integer|Array.Integer]]'' albumartistid ]
* [ ''[[#Array.Integer|Array.Integer]]'' albumartistid ]
*[ ''string'' type = "unknown" ]
* [ ''string'' type = "unknown" ]
*[ ''integer'' episode = 0 ]
* [ ''integer'' episode = 0 ]
*[ ''string'' firstaired = "" ]
* [ ''string'' firstaired = "" ]
*[ ''string'' showtitle = "" ]
* [ ''string'' showtitle = "" ]
*[ ''[[#Array.String|Array.String]]'' country ]
* [ ''[[#Array.String|Array.String]]'' country ]
*[ ''[[#Array.String|Array.String]]'' mood ]
* [ ''[[#Array.String|Array.String]]'' mood ]
*[ ''string'' set = "" ]
* [ ''string'' set = "" ]
*[ ''string'' musicbrainztrackid = "" ]
* [ ''string'' musicbrainztrackid = "" ]
*[ ''[[#Array.String|Array.String]]'' tag ]
* [ ''[[#Array.String|Array.String]]'' tag ]
*[ ''string'' lyrics = "" ]
* [ ''string'' lyrics = "" ]
*[ ''integer'' top250 = 0 ]
* [ ''integer'' top250 = 0 ]
*[ ''string'' comment = "" ]
* [ ''string'' comment = "" ]
*[ ''string'' premiered = "" ]
* [ ''string'' premiered = "" ]
*[ ''[[#Array.String|Array.String]]'' showlink ]
* [ ''[[#Array.String|Array.String]]'' showlink ]
*[ ''[[#Array.String|Array.String]]'' style ]
* [ ''[[#Array.String|Array.String]]'' style ]
*[ ''string'' album = "" ]
* [ ''string'' album = "" ]
*[ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ]
* [ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ]
*[ ''integer'' season = 0 ]
* [ ''integer'' season = 0 ]
*[ ''[[#Array.String|Array.String]]'' theme ]
* [ ''[[#Array.String|Array.String]]'' theme ]
*[ ''string'' description = "" ]
* [ ''string'' description = "" ]
*[ ''[[#Library.Id|Library.Id]]'' setid = -1 ]
* [ ''[[#Library.Id|Library.Id]]'' setid = -1 ]
*[ ''integer'' track = 0 ]
* [ ''integer'' track = 0 ]
*[ ''string'' tagline = "" ]
* [ ''string'' tagline = "" ]
*[ ''string'' plotoutline = "" ]
* [ ''string'' plotoutline = "" ]
*[ ''integer'' watchedepisodes = 0 ]
* [ ''integer'' watchedepisodes = 0 ]
*[ ''[[#Library.Id|Library.Id]]'' id = -1 ]
* [ ''[[#Library.Id|Library.Id]]'' id = -1 ]
*[ ''integer'' disc = 0 ]
* [ ''integer'' disc = 0 ]
*[ ''[[#Array.String|Array.String]]'' albumartist ]
* [ ''[[#Array.String|Array.String]]'' albumartist ]
*[ ''[[#Array.String|Array.String]]'' studio ]
* [ ''[[#Array.String|Array.String]]'' studio ]
*[ ''object'' uniqueid ]
* [ ''object'' uniqueid ]
*[ ''string'' episodeguide = "" ]
* [ ''string'' episodeguide = "" ]
*[ ''string'' imdbnumber = "" ]
* [ ''string'' imdbnumber = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Item.Base",  
   "id": "List.Item.Base",  
Line 8,505: Line 8,505:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Item.File====
==== List.Item.File ====
'''Extends:'''
'''Extends:'''
*''[[#List.Item.Base|List.Item.Base]]''
* ''[[#List.Item.Base|List.Item.Base]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''string'' filetype
* ''string'' filetype
*[ ''integer'' size = 0 ]
* [ ''integer'' size = 0 ]
*[ ''string'' mimetype = "" ]
* [ ''string'' mimetype = "" ]
*''string'' file
* ''string'' file
*[ ''string'' lastmodified = "" ]
* [ ''string'' lastmodified = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Item.File",  
   "id": "List.Item.File",  
Line 8,547: Line 8,547:
}</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" enclose="div">{
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 8,562: Line 8,562:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.Limits====
==== List.Limits ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#List.Amount|List.Amount]]'' end = -1 ]
* [ ''[[#List.Amount|List.Amount]]'' end = -1 ]
*[ ''integer'' start = 0 ]
* [ ''integer'' start = 0 ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 8,586: Line 8,586:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====List.LimitsReturned====
==== List.LimitsReturned ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#List.Amount|List.Amount]]'' end = -1 ]
* [ ''[[#List.Amount|List.Amount]]'' end = -1 ]
*''integer'' total
* ''integer'' total
*[ ''integer'' start = 0 ]
* [ ''integer'' start = 0 ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 8,614: Line 8,614:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "List.Sort",  
   "id": "List.Sort",  
Line 8,682: Line 8,682:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Media===
=== Media ===
====Media.Artwork====
==== Media.Artwork ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#Global.String.NotEmpty|Global.String.NotEmpty]]'' banner = "" ]
* [ ''[[#Global.String.NotEmpty|Global.String.NotEmpty]]'' banner = "" ]
*[ ''[[#Global.String.NotEmpty|Global.String.NotEmpty]]'' poster = "" ]
* [ ''[[#Global.String.NotEmpty|Global.String.NotEmpty]]'' poster = "" ]
*[ ''[[#Global.String.NotEmpty|Global.String.NotEmpty]]'' fanart = "" ]
* [ ''[[#Global.String.NotEmpty|Global.String.NotEmpty]]'' fanart = "" ]
*[ ''[[#Global.String.NotEmpty|Global.String.NotEmpty]]'' thumb = "" ]
* [ ''[[#Global.String.NotEmpty|Global.String.NotEmpty]]'' thumb = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "additionalProperties": {
   "additionalProperties": {
Line 8,717: Line 8,717:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Media.Details.Base",  
   "id": "Media.Details.Base",  
Line 8,739: Line 8,739:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Notifications===
=== Notifications ===
====Notifications.Item====
==== 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" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Notifications.Item",  
   "id": "Notifications.Item",  
Line 8,899: Line 8,899:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Notifications.Item.Type====
==== 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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 8,915: Line 8,915:
}</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" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Optional.Boolean",  
   "id": "Optional.Boolean",  
Line 8,930: Line 8,930:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Optional.Integer====
==== Optional.Integer ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Optional.Integer",  
   "id": "Optional.Integer",  
Line 8,944: Line 8,944:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Optional.Number====
==== Optional.Number ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Optional.Number",  
   "id": "Optional.Number",  
Line 8,958: Line 8,958:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Optional.String====
==== Optional.String ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Optional.String",  
   "id": "Optional.String",  
Line 8,972: Line 8,972:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===PVR===
=== PVR ===
====PVR.Channel.Type====
==== PVR.Channel.Type ====
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 8,984: Line 8,984:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====PVR.ChannelGroup.Id====
==== PVR.ChannelGroup.Id ====
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "PVR.ChannelGroup.Id",  
   "id": "PVR.ChannelGroup.Id",  
Line 9,002: Line 9,002:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====PVR.Details.Channel====
==== PVR.Details.Channel ====
'''Extends:'''
'''Extends:'''
*''[[#Item.Details.Base|Item.Details.Base]]''
* ''[[#Item.Details.Base|Item.Details.Base]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*[ ''[[#PVR.Channel.Type|PVR.Channel.Type]]'' channeltype = "tv" ]
* [ ''[[#PVR.Channel.Type|PVR.Channel.Type]]'' channeltype = "tv" ]
*[ ''string'' thumbnail = "" ]
* [ ''string'' thumbnail = "" ]
*[ ''string'' channel = "" ]
* [ ''string'' channel = "" ]
*[ ''boolean'' hidden = False ]
* [ ''boolean'' hidden = False ]
*''[[#Library.Id|Library.Id]]'' channelid
* ''[[#Library.Id|Library.Id]]'' channelid
*[ ''boolean'' locked = False ]
* [ ''boolean'' locked = False ]
*[ ''string'' lastplayed = "" ]
* [ ''string'' lastplayed = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "PVR.Details.Channel",  
   "id": "PVR.Details.Channel",  
Line 9,049: Line 9,049:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====PVR.Details.ChannelGroup====
==== PVR.Details.ChannelGroup ====
'''Extends:'''
'''Extends:'''
*''[[#Item.Details.Base|Item.Details.Base]]''
* ''[[#Item.Details.Base|Item.Details.Base]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''[[#PVR.Channel.Type|PVR.Channel.Type]]'' channeltype
* ''[[#PVR.Channel.Type|PVR.Channel.Type]]'' channeltype
*''[[#Library.Id|Library.Id]]'' channelgroupid
* ''[[#Library.Id|Library.Id]]'' channelgroupid
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "PVR.Details.ChannelGroup",  
   "id": "PVR.Details.ChannelGroup",  
Line 9,071: Line 9,071:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====PVR.Details.ChannelGroup.Extended====
==== PVR.Details.ChannelGroup.Extended ====
'''Extends:'''
'''Extends:'''
*''[[#PVR.Details.ChannelGroup|PVR.Details.ChannelGroup]]''
* ''[[#PVR.Details.ChannelGroup|PVR.Details.ChannelGroup]]''
<br />
<br />
'''Properties:'''
'''Properties:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*[ ''[[#PVR.Details.Channel|PVR.Details.Channel]]''[] channels ]
* [ ''[[#PVR.Details.Channel|PVR.Details.Channel]]''[] channels ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "PVR.Details.ChannelGroup.Extended",  
   "id": "PVR.Details.ChannelGroup.Extended",  
Line 9,095: Line 9,095:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====PVR.Fields.Channel====
==== PVR.Fields.Channel ====
'''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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 9,114: Line 9,114:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====PVR.Property.Name====
==== PVR.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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 9,126: Line 9,126:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====PVR.Property.Value====
==== PVR.Property.Value ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''boolean'' scanning = False ]
* [ ''boolean'' scanning = False ]
*[ ''boolean'' recording = False ]
* [ ''boolean'' recording = False ]
*[ ''boolean'' available = False ]
* [ ''boolean'' available = False ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "PVR.Property.Value",  
   "id": "PVR.Property.Value",  
Line 9,151: Line 9,151:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Player===
=== Player ===
====Player.Audio.Stream====
==== Player.Audio.Stream ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''integer'' index
* ''integer'' index
*''string'' language
* ''string'' language
*''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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Player.Audio.Stream",  
   "id": "Player.Audio.Stream",  
Line 9,178: Line 9,178:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Player.Audio.Stream.Extended",  
   "id": "Player.Audio.Stream.Extended",  
Line 9,205: Line 9,205:
}</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" enclose="div">{
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "minimum": 0,  
   "minimum": 0,  
Line 9,214: Line 9,214:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Notifications.Data====
==== Player.Notifications.Data ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''[[#Player.Notifications.Player|Player.Notifications.Player]]'' player
* ''[[#Player.Notifications.Player|Player.Notifications.Player]]'' player
*''[[#Notifications.Item|Notifications.Item]]'' item
* ''[[#Notifications.Item|Notifications.Item]]'' item
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Player.Notifications.Data",  
   "id": "Player.Notifications.Data",  
Line 9,234: Line 9,234:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Notifications.Player====
==== Player.Notifications.Player ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''integer'' speed = 0 ]
* [ ''integer'' speed = 0 ]
*''[[#Player.Id|Player.Id]]'' playerid
* ''[[#Player.Id|Player.Id]]'' playerid
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Player.Notifications.Player",  
   "id": "Player.Notifications.Player",  
Line 9,254: Line 9,254:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Player.Notifications.Player.Seek",  
   "id": "Player.Notifications.Player.Seek",  
Line 9,274: Line 9,274:
}</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" enclose="div">{
'''Type:''' ''number''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "minimum": 0,  
   "minimum": 0,  
Line 9,283: Line 9,283:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Position.Time====
==== Player.Position.Time ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''integer'' hours = 0 ]
* [ ''integer'' hours = 0 ]
*[ ''integer'' milliseconds = 0 ]
* [ ''integer'' milliseconds = 0 ]
*[ ''integer'' seconds = 0 ]
* [ ''integer'' seconds = 0 ]
*[ ''integer'' minutes = 0 ]
* [ ''integer'' minutes = 0 ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 9,322: Line 9,322:
}</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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 9,354: Line 9,354:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Property.Value====
==== Player.Property.Value ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''boolean'' canrepeat = False ]
* [ ''boolean'' canrepeat = False ]
*[ ''boolean'' canmove = False ]
* [ ''boolean'' canmove = False ]
*[ ''boolean'' canshuffle = False ]
* [ ''boolean'' canshuffle = False ]
*[ ''integer'' speed = 0 ]
* [ ''integer'' speed = 0 ]
*[ ''[[#Player.Position.Percentage|Player.Position.Percentage]]'' percentage = 0 ]
* [ ''[[#Player.Position.Percentage|Player.Position.Percentage]]'' percentage = 0 ]
*[ ''[[#Playlist.Id|Playlist.Id]]'' playlistid = -1 ]
* [ ''[[#Playlist.Id|Playlist.Id]]'' playlistid = -1 ]
*[ ''[[#Player.Audio.Stream|Player.Audio.Stream]]''[] audiostreams ]
* [ ''[[#Player.Audio.Stream|Player.Audio.Stream]]''[] audiostreams ]
*[ ''[[#Playlist.Position|Playlist.Position]]'' position = -1 ]
* [ ''[[#Playlist.Position|Playlist.Position]]'' position = -1 ]
*[ ''[[#Player.Repeat|Player.Repeat]]'' repeat = "off" ]
* [ ''[[#Player.Repeat|Player.Repeat]]'' repeat = "off" ]
*[ ''[[#Player.Subtitle|Player.Subtitle]]'' currentsubtitle ]
* [ ''[[#Player.Subtitle|Player.Subtitle]]'' currentsubtitle ]
*[ ''boolean'' canrotate = False ]
* [ ''boolean'' canrotate = False ]
*[ ''boolean'' canzoom = False ]
* [ ''boolean'' canzoom = False ]
*[ ''boolean'' canchangespeed = False ]
* [ ''boolean'' canchangespeed = False ]
*[ ''[[#Player.Type|Player.Type]]'' type = "video" ]
* [ ''[[#Player.Type|Player.Type]]'' type = "video" ]
*[ ''boolean'' partymode = False ]
* [ ''boolean'' partymode = False ]
*[ ''[[#Player.Subtitle|Player.Subtitle]]''[] subtitles ]
* [ ''[[#Player.Subtitle|Player.Subtitle]]''[] subtitles ]
*[ ''boolean'' canseek = False ]
* [ ''boolean'' canseek = False ]
*[ ''[[#Global.Time|Global.Time]]'' time ]
* [ ''[[#Global.Time|Global.Time]]'' time ]
*[ ''[[#Global.Time|Global.Time]]'' totaltime ]
* [ ''[[#Global.Time|Global.Time]]'' totaltime ]
*[ ''boolean'' shuffled = False ]
* [ ''boolean'' shuffled = False ]
*[ ''[[#Player.Audio.Stream.Extended|Player.Audio.Stream.Extended]]'' currentaudiostream ]
* [ ''[[#Player.Audio.Stream.Extended|Player.Audio.Stream.Extended]]'' currentaudiostream ]
*[ ''boolean'' live = False ]
* [ ''boolean'' live = False ]
*[ ''boolean'' subtitleenabled = False ]
* [ ''boolean'' subtitleenabled = False ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Player.Property.Value",  
   "id": "Player.Property.Value",  
Line 9,479: Line 9,479:
}</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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 9,491: Line 9,491:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Player.Speed",  
   "id": "Player.Speed",  
Line 9,507: Line 9,507:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.Subtitle====
==== Player.Subtitle ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*''integer'' index
* ''integer'' index
*''string'' language
* ''string'' language
*''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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Player.Subtitle",  
   "id": "Player.Subtitle",  
Line 9,533: Line 9,533:
}</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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 9,545: Line 9,545:
}</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" enclose="div">{
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "minimum": 0,  
   "minimum": 0,  
Line 9,555: Line 9,555:
}</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" enclose="div">{
'''Type:''' ''mixed''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Playlist.Item",  
   "id": "Playlist.Item",  
Line 9,654: Line 9,654:
}</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" enclose="div">{
'''Type:''' ''integer''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "minimum": 0,  
   "minimum": 0,  
Line 9,662: Line 9,662:
}</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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 9,673: Line 9,673:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Playlist.Property.Value====
==== Playlist.Property.Value ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''integer'' size = 0 ]
* [ ''integer'' size = 0 ]
*[ ''[[#Playlist.Type|Playlist.Type]]'' type = "unknown" ]
* [ ''[[#Playlist.Type|Playlist.Type]]'' type = "unknown" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Playlist.Property.Value",  
   "id": "Playlist.Property.Value",  
Line 9,694: Line 9,694:
}</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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 9,708: Line 9,708:
}</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" enclose="div">{
'''Type:''' ''string''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "enums": [
   "enums": [
Line 9,722: Line 9,722:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.Property.Value====
==== System.Property.Value ====
'''Type:''' ''object''<br />
'''Type:''' ''object''<br />
'''Properties:'''
'''Properties:'''
*[ ''boolean'' canshutdown = False ]
* [ ''boolean'' canshutdown = False ]
*[ ''boolean'' canhibernate = False ]
* [ ''boolean'' canhibernate = False ]
*[ ''boolean'' cansuspend = False ]
* [ ''boolean'' cansuspend = False ]
*[ ''boolean'' canreboot = False ]
* [ ''boolean'' canreboot = False ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "System.Property.Value",  
   "id": "System.Property.Value",  
Line 9,752: Line 9,752:
}</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" enclose="div">{
'''Type:''' ''array''{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 9,777: Line 9,777:
}</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:'''
*[ ''[[#Media.Artwork|Media.Artwork]]'' art ]
* [ ''[[#Media.Artwork|Media.Artwork]]'' art ]
*[ ''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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.Base",  
   "id": "Video.Details.Base",  
Line 9,798: Line 9,798:
}</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:'''
*[ ''[[#Video.Cast|Video.Cast]]'' cast ]
* [ ''[[#Video.Cast|Video.Cast]]'' cast ]
*[ ''string'' productioncode = "" ]
* [ ''string'' productioncode = "" ]
*[ ''number'' rating = 0 ]
* [ ''number'' rating = 0 ]
*[ ''string'' votes = "" ]
* [ ''string'' votes = "" ]
*[ ''integer'' episode = 0 ]
* [ ''integer'' episode = 0 ]
*[ ''string'' showtitle = "" ]
* [ ''string'' showtitle = "" ]
*''[[#Library.Id|Library.Id]]'' episodeid
* ''[[#Library.Id|Library.Id]]'' episodeid
*[ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ]
* [ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ]
*[ ''integer'' season = 0 ]
* [ ''integer'' season = 0 ]
*[ ''string'' firstaired = "" ]
* [ ''string'' firstaired = "" ]
*[ ''object'' uniqueid ]
* [ ''object'' uniqueid ]
*[ ''[[#Array.String|Array.String]]'' writer ]
* [ ''[[#Array.String|Array.String]]'' writer ]
*[ ''string'' originaltitle = "" ]
* [ ''string'' originaltitle = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.Episode",  
   "id": "Video.Details.Episode",  
Line 9,877: Line 9,877:
}</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:'''
*[ ''[[#Video.Streams|Video.Streams]]'' streamdetails ]
* [ ''[[#Video.Streams|Video.Streams]]'' streamdetails ]
*[ ''[[#Array.String|Array.String]]'' director ]
* [ ''[[#Array.String|Array.String]]'' director ]
*[ ''[[#Video.Resume|Video.Resume]]'' resume ]
* [ ''[[#Video.Resume|Video.Resume]]'' resume ]
*[ ''integer'' runtime = 0 ]
* [ ''integer'' runtime = 0 ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.File",  
   "id": "Video.Details.File",  
Line 9,907: Line 9,907:
}</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'' dateadded = "" ]
* [ ''string'' dateadded = "" ]
*[ ''string'' file = "" ]
* [ ''string'' file = "" ]
*[ ''string'' lastplayed = "" ]
* [ ''string'' lastplayed = "" ]
*[ ''string'' plot = "" ]
* [ ''string'' plot = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.Item",  
   "id": "Video.Details.Item",  
Line 9,939: Line 9,939:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.Media",  
   "id": "Video.Details.Media",  
Line 9,956: Line 9,956:
}</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:'''
*[ ''string'' plotoutline = "" ]
* [ ''string'' plotoutline = "" ]
*[ ''string'' sorttitle = "" ]
* [ ''string'' sorttitle = "" ]
*''[[#Library.Id|Library.Id]]'' movieid
* ''[[#Library.Id|Library.Id]]'' movieid
*[ ''[[#Video.Cast|Video.Cast]]'' cast ]
* [ ''[[#Video.Cast|Video.Cast]]'' cast ]
*[ ''string'' votes = "" ]
* [ ''string'' votes = "" ]
*[ ''[[#Array.String|Array.String]]'' showlink ]
* [ ''[[#Array.String|Array.String]]'' showlink ]
*[ ''integer'' top250 = 0 ]
* [ ''integer'' top250 = 0 ]
*[ ''string'' trailer = "" ]
* [ ''string'' trailer = "" ]
*[ ''integer'' year = 0 ]
* [ ''integer'' year = 0 ]
*[ ''[[#Array.String|Array.String]]'' country ]
* [ ''[[#Array.String|Array.String]]'' country ]
*[ ''[[#Array.String|Array.String]]'' studio ]
* [ ''[[#Array.String|Array.String]]'' studio ]
*[ ''string'' set = "" ]
* [ ''string'' set = "" ]
*[ ''[[#Array.String|Array.String]]'' genre ]
* [ ''[[#Array.String|Array.String]]'' genre ]
*[ ''string'' mpaa = "" ]
* [ ''string'' mpaa = "" ]
*[ ''[[#Library.Id|Library.Id]]'' setid = -1 ]
* [ ''[[#Library.Id|Library.Id]]'' setid = -1 ]
*[ ''number'' rating = 0 ]
* [ ''number'' rating = 0 ]
*[ ''[[#Array.String|Array.String]]'' tag ]
* [ ''[[#Array.String|Array.String]]'' tag ]
*[ ''string'' tagline = "" ]
* [ ''string'' tagline = "" ]
*[ ''[[#Array.String|Array.String]]'' writer ]
* [ ''[[#Array.String|Array.String]]'' writer ]
*[ ''string'' originaltitle = "" ]
* [ ''string'' originaltitle = "" ]
*[ ''string'' imdbnumber = "" ]
* [ ''string'' imdbnumber = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.Movie",  
   "id": "Video.Details.Movie",  
Line 10,066: Line 10,066:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.MovieSet",  
   "id": "Video.Details.MovieSet",  
Line 10,083: Line 10,083:
}</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:'''
*''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
* ''[[#List.LimitsReturned|List.LimitsReturned]]'' limits
*[ ''[[#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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.MovieSet.Extended",  
   "id": "Video.Details.MovieSet.Extended",  
Line 10,107: Line 10,107:
}</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:'''
*[ ''[[#Array.String|Array.String]]'' genre ]
* [ ''[[#Array.String|Array.String]]'' genre ]
*[ ''[[#Array.String|Array.String]]'' artist ]
* [ ''[[#Array.String|Array.String]]'' artist ]
*''[[#Library.Id|Library.Id]]'' musicvideoid
* ''[[#Library.Id|Library.Id]]'' musicvideoid
*[ ''[[#Array.String|Array.String]]'' tag ]
* [ ''[[#Array.String|Array.String]]'' tag ]
*[ ''string'' album = "" ]
* [ ''string'' album = "" ]
*[ ''integer'' track = 0 ]
* [ ''integer'' track = 0 ]
*[ ''[[#Array.String|Array.String]]'' studio ]
* [ ''[[#Array.String|Array.String]]'' studio ]
*[ ''integer'' year = 0 ]
* [ ''integer'' year = 0 ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.MusicVideo",  
   "id": "Video.Details.MusicVideo",  
Line 10,155: Line 10,155:
}</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:'''
*[ ''string'' showtitle = "" ]
* [ ''string'' showtitle = "" ]
*[ ''integer'' watchedepisodes = 0 ]
* [ ''integer'' watchedepisodes = 0 ]
*[ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ]
* [ ''[[#Library.Id|Library.Id]]'' tvshowid = -1 ]
*[ ''integer'' episode = 0 ]
* [ ''integer'' episode = 0 ]
*''integer'' season
* ''integer'' season
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.Season",  
   "id": "Video.Details.Season",  
Line 10,192: Line 10,192:
}</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'' sorttitle = "" ]
* [ ''string'' sorttitle = "" ]
*[ ''string'' mpaa = "" ]
* [ ''string'' mpaa = "" ]
*[ ''string'' premiered = "" ]
* [ ''string'' premiered = "" ]
*[ ''integer'' year = 0 ]
* [ ''integer'' year = 0 ]
*[ ''integer'' episode = 0 ]
* [ ''integer'' episode = 0 ]
*[ ''integer'' watchedepisodes = 0 ]
* [ ''integer'' watchedepisodes = 0 ]
*[ ''string'' votes = "" ]
* [ ''string'' votes = "" ]
*[ ''number'' rating = 0 ]
* [ ''number'' rating = 0 ]
*''[[#Library.Id|Library.Id]]'' tvshowid
* ''[[#Library.Id|Library.Id]]'' tvshowid
*[ ''[[#Array.String|Array.String]]'' studio ]
* [ ''[[#Array.String|Array.String]]'' studio ]
*[ ''integer'' season = 0 ]
* [ ''integer'' season = 0 ]
*[ ''[[#Array.String|Array.String]]'' genre ]
* [ ''[[#Array.String|Array.String]]'' genre ]
*[ ''[[#Video.Cast|Video.Cast]]'' cast ]
* [ ''[[#Video.Cast|Video.Cast]]'' cast ]
*[ ''string'' episodeguide = "" ]
* [ ''string'' episodeguide = "" ]
*[ ''[[#Array.String|Array.String]]'' tag ]
* [ ''[[#Array.String|Array.String]]'' tag ]
*[ ''string'' originaltitle = "" ]
* [ ''string'' originaltitle = "" ]
*[ ''string'' imdbnumber = "" ]
* [ ''string'' imdbnumber = "" ]
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "id": "Video.Details.TVShow",  
   "id": "Video.Details.TVShow",  
Line 10,285: Line 10,285:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 10,324: Line 10,324:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 10,371: Line 10,371:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 10,389: Line 10,389:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 10,422: Line 10,422:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 10,444: Line 10,444:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "items": {
   "items": {
Line 10,483: Line 10,483:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 10,506: Line 10,506:
}</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" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
   "additionalProperties": false,  
   "additionalProperties": false,  
Line 10,587: Line 10,587:




==Notifications==
== Notifications ==
===Application===
=== Application ===
====Application.OnVolumeChanged====
==== Application.OnVolumeChanged ====
The volume of the application has changed.<br />
The volume of the application has changed.<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'' volume
* ''integer'' volume
*''boolean'' muted
* ''boolean'' muted


</div>
</div>
Line 10,629: Line 10,629:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===AudioLibrary===
=== AudioLibrary ===
====AudioLibrary.OnCleanFinished====
==== AudioLibrary.OnCleanFinished ====
The audio library has been cleaned.<br />
The audio library has been cleaned.<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 10,654: Line 10,654:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.OnCleanStarted====
==== AudioLibrary.OnCleanStarted ====
An audio library clean operation has started.<br />
An audio library clean operation has started.<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 10,678: Line 10,678:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====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:'''
*''[[#Library.Id|Library.Id]]'' id
* ''[[#Library.Id|Library.Id]]'' id
*''[[#Notifications.Library.Audio.Type|Notifications.Library.Audio.Type]]'' type
* ''[[#Notifications.Library.Audio.Type|Notifications.Library.Audio.Type]]'' type


</div>
</div>
Line 10,716: Line 10,716:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.OnScanFinished====
==== AudioLibrary.OnScanFinished ====
Scanning the audio library has been finished.<br />
Scanning the audio library has been finished.<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 10,740: Line 10,740:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====AudioLibrary.OnScanStarted====
==== AudioLibrary.OnScanStarted ====
An audio library scan has started.<br />
An audio library scan has started.<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 10,764: Line 10,764:
}</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:'''
*''[[#Library.Id|Library.Id]]'' id
* ''[[#Library.Id|Library.Id]]'' id
*''string'' type
* ''string'' type


</div>
</div>
Line 10,806: Line 10,806:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Input===
=== Input ===
====Input.OnInputFinished====
==== Input.OnInputFinished ====
The user has provided the requested input.<br />
The user has provided the requested input.<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 10,831: Line 10,831:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Input.OnInputRequested====
==== Input.OnInputRequested ====
The user is requested to provide some information.<br />
The user is requested to provide some information.<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'' value
* ''string'' value
*[ ''string'' title ]
* [ ''string'' title ]
*''string'' type
* ''string'' type


</div>
</div>
Line 10,883: Line 10,883:
}</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 10,908: Line 10,908:
}</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 10,932: Line 10,932:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Player.OnPropertyChanged====
==== Player.OnPropertyChanged ====
A property of the playing items has changed.<br />
A property of the playing items has changed.<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.Property.Value|Player.Property.Value]]'' property ]
* [ ''[[#Player.Property.Value|Player.Property.Value]]'' property ]
*''[[#Player.Notifications.Player|Player.Notifications.Player]]'' player
* ''[[#Player.Notifications.Player|Player.Notifications.Player]]'' player


</div>
</div>
Line 10,969: Line 10,969:
}</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.Player.Seek|Player.Notifications.Player.Seek]]'' player
* ''[[#Player.Notifications.Player.Seek|Player.Notifications.Player.Seek]]'' player
*[ ''[[#Notifications.Item|Notifications.Item]]'' item ]
* [ ''[[#Notifications.Item|Notifications.Item]]'' item ]


</div>
</div>
Line 11,006: Line 11,006:
}</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 11,030: Line 11,030:
}</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:'''
*''boolean'' end
* ''boolean'' end
*[ ''[[#Notifications.Item|Notifications.Item]]'' item ]
* [ ''[[#Notifications.Item|Notifications.Item]]'' item ]


</div>
</div>
Line 11,068: Line 11,068:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===Playlist===
=== Playlist ===
====Playlist.OnAdd====
==== Playlist.OnAdd ====
A playlist item has been added.<br />
A playlist item has been added.<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:'''
*[ ''[[#Playlist.Position|Playlist.Position]]'' position ]
* [ ''[[#Playlist.Position|Playlist.Position]]'' position ]
*[ ''[[#Notifications.Item|Notifications.Item]]'' item ]
* [ ''[[#Notifications.Item|Notifications.Item]]'' item ]
*''[[#Playlist.Id|Playlist.Id]]'' playlistid
* ''[[#Playlist.Id|Playlist.Id]]'' playlistid


</div>
</div>
Line 11,110: Line 11,110:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Playlist.OnClear====
==== Playlist.OnClear ====
A playlist item has been cleared.<br />
A playlist item has been cleared.<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:'''
*''[[#Playlist.Id|Playlist.Id]]'' playlistid
* ''[[#Playlist.Id|Playlist.Id]]'' playlistid


</div>
</div>
Line 11,143: Line 11,143:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====Playlist.OnRemove====
==== Playlist.OnRemove ====
A playlist item has been removed.<br />
A playlist 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:'''
*[ ''[[#Playlist.Position|Playlist.Position]]'' position ]
* [ ''[[#Playlist.Position|Playlist.Position]]'' position ]
*''[[#Playlist.Id|Playlist.Id]]'' playlistid
* ''[[#Playlist.Id|Playlist.Id]]'' playlistid


</div>
</div>
Line 11,180: Line 11,180:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===System===
=== System ===
====System.OnLowBattery====
==== System.OnLowBattery ====
The system is on low battery.<br />
The system is on low battery.<br />
'''Parameters:'''  
'''Parameters:'''  
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
#''string'' sender
# ''string'' sender
#''null'' data
# ''null'' data
</div>
</div>


Line 11,205: Line 11,205:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.OnQuit====
==== System.OnQuit ====
XBMC will be closed.<br />
XBMC will be closed.<br />
'''Parameters:'''  
'''Parameters:'''  
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
#''string'' sender
# ''string'' sender
#''null'' data
# ''null'' data
</div>
</div>


Line 11,229: Line 11,229:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.OnRestart====
==== System.OnRestart ====
The system will be restarted.<br />
The system will be restarted.<br />
'''Parameters:'''  
'''Parameters:'''  
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
#''string'' sender
# ''string'' sender
#''null'' data
# ''null'' data
</div>
</div>


Line 11,253: Line 11,253:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.OnSleep====
==== System.OnSleep ====
The system will be suspended.<br />
The system will be suspended.<br />
'''Parameters:'''  
'''Parameters:'''  
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
#''string'' sender
# ''string'' sender
#''null'' data
# ''null'' data
</div>
</div>


Line 11,277: Line 11,277:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====System.OnWake====
==== System.OnWake ====
The system woke up from suspension.<br />
The system woke up from suspension.<br />
'''Parameters:'''  
'''Parameters:'''  
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
#''string'' sender
# ''string'' sender
#''null'' data
# ''null'' data
</div>
</div>


Line 11,301: Line 11,301:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


===VideoLibrary===
=== VideoLibrary ===
====VideoLibrary.OnCleanFinished====
==== VideoLibrary.OnCleanFinished ====
The video library has been cleaned.<br />
The video library has been cleaned.<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 11,326: Line 11,326:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.OnCleanStarted====
==== VideoLibrary.OnCleanStarted ====
A video library clean operation has started.<br />
A video library clean operation has started.<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 11,350: Line 11,350:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====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:'''
*''[[#Library.Id|Library.Id]]'' id
* ''[[#Library.Id|Library.Id]]'' id
*''[[#Notifications.Library.Video.Type|Notifications.Library.Video.Type]]'' type
* ''[[#Notifications.Library.Video.Type|Notifications.Library.Video.Type]]'' type


</div>
</div>
Line 11,388: Line 11,388:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.OnScanFinished====
==== VideoLibrary.OnScanFinished ====
Scanning the video library has been finished.<br />
Scanning the video library has been finished.<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 11,412: Line 11,412:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


====VideoLibrary.OnScanStarted====
==== VideoLibrary.OnScanStarted ====
A video library scan has started.<br />
A video library scan has started.<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 11,436: Line 11,436:
}</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:'''
*''[[#Library.Id|Library.Id]]'' id
* ''[[#Library.Id|Library.Id]]'' id
*[ ''integer'' playcount = -1 ]
* [ ''integer'' playcount = -1 ]
*''string'' type
* ''string'' type


</div>
</div>
Line 11,487: Line 11,487:
}</syntaxhighlight>}}
}</syntaxhighlight>}}


==See also==
== See also ==
*[[JSON-RPC API]]
* [[JSON-RPC API]]
*[[JSON-RPC API/v4|JSON-RPC API v4 (Eden)]]
* [[JSON-RPC API/v4|JSON-RPC API v4 (Eden)]]


==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 00:27, 13 May 2015

Home icon grey.png   ▶ Development ▶ JSON-RPC API ▶ v6

Version 6 is a stable version of XBMC's JSON-RPC API and is published with the release of XBMC v12 (Frodo) and v13 (Gotham) . It comes with support for WebSockets as an alternative transport for third party clients. Using WebSockets will allow webinterfaces (which are currently restricted to the HTTP transport only) to get access to a bidirectional transport with XBMC's JSON-RPC API and can therefore also profit from additional features like notifications.

Some of the methods have been changed or removed, so v6 is not 100% backwards compatible with older versions. A rough and incomplete list of changes compared to version 4 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 6 Yes Yes Yes Yes Yes Yes

Documentation (JSON Schema)

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
Favourites       Favourites GetFavourites and AddFavourite
Profiles         Support for Profiles operations to XBMC. 
Settings         Allows manipulation of XBMC settings.
Textures         with GetTextures and RemoveTexture
XBMC             Dumping ground for very XBMC specific operations

Methods

Addons

Addons.ExecuteAddon

Executes the given addon with the given parameters (if possible)
Permissions:

  • ExecuteAddon

Parameters:

  1. string addonid
  2. [ mixed params = null ]
  3. [ boolean wait = False ]

Returns: string

Addons.GetAddonDetails

Gets the details of a specific addon
Permissions:

  • ReadData

Parameters:

  1. string addonid
  2. [ Addon.Fields properties ]

Returns:

Type: object
Properties:

Addons.GetAddons

Gets all available addons
Permissions:

  • ReadData

Parameters:

  1. [ Addon.Types type = "unknown" ]
  2. [ Addon.Content content = "unknown" ]
  3. [ mixed enabled = "all" ]
  4. [ Addon.Fields properties ]
  5. [ List.Limits limits ]

Returns:

Type: object
Properties:

Addons.SetAddonEnabled

Enables/Disables a specific addon
Permissions:

  • ManageAddon

Parameters:

  1. string addonid
  2. Global.Toggle enabled

Returns: string

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. Global.Toggle mute

Returns: boolean

Application.SetVolume

Set the current volume
Permissions:

  • ControlPlayback

Parameters:

  1. mixed 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. [ Audio.Fields.Album properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]
  4. [ mixed filter ]

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. [ Audio.Fields.Artist properties ]
  3. [ List.Limits limits ]
  4. [ List.Sort sort ]
  5. [ mixed filter ]

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.GetRecentlyPlayedAlbums

Retrieve recently played albums
Permissions:

  • ReadData

Parameters:

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

Returns:

Type: object
Properties:

AudioLibrary.GetRecentlyPlayedSongs

Retrieve recently played songs
Permissions:

  • ReadData

Parameters:

  1. [ Audio.Fields.Song properties ]
  2. [ List.Limits limits ]
  3. [ 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. [ Audio.Fields.Song properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]
  4. [ mixed filter ]

Returns:

Type: object
Properties:

AudioLibrary.Scan

Scans the audio sources for new library items
Permissions:

  • UpdateData

Parameters:

  1. [ string directory = "" ]

Returns: string

AudioLibrary.SetAlbumDetails

Update the given album with the given details
Permissions:

  • UpdateData

Parameters:

  1. Library.Id albumid
  2. [ Optional.String title = null ]
  3. [ mixed artist = null ]
  4. [ Optional.String description = null ]
  5. [ mixed genre = null ]
  6. [ mixed theme = null ]
  7. [ mixed mood = null ]
  8. [ mixed style = null ]
  9. [ Optional.String type = null ]
  10. [ Optional.String albumlabel = null ]
  11. [ Optional.Integer rating = null ]
  12. [ Optional.Integer year = null ]

Returns: string

AudioLibrary.SetArtistDetails

Update the given artist with the given details
Permissions:

  • UpdateData

Parameters:

  1. Library.Id artistid
  2. [ Optional.String artist = null ]
  3. [ mixed instrument = null ]
  4. [ mixed style = null ]
  5. [ mixed mood = null ]
  6. [ Optional.String born = null ]
  7. [ Optional.String formed = null ]
  8. [ Optional.String description = null ]
  9. [ mixed genre = null ]
  10. [ Optional.String died = null ]
  11. [ Optional.String disbanded = null ]
  12. [ mixed yearsactive = null ]

Returns: string

AudioLibrary.SetSongDetails

Update the given song with the given details
Permissions:

  • UpdateData

Parameters:

  1. Library.Id songid
  2. [ Optional.String title = null ]
  3. [ mixed artist = null ]
  4. [ mixed albumartist = null ]
  5. [ mixed genre = null ]
  6. [ Optional.Integer year = null ]
  7. [ Optional.Integer rating = null ]
  8. [ Optional.String album = null ]
  9. [ Optional.Integer track = null ]
  10. [ Optional.Integer disc = null ]
  11. [ Optional.Integer duration = null ]
  12. [ Optional.String comment = null ]
  13. [ Optional.String musicbrainztrackid = null ]
  14. [ Optional.String musicbrainzartistid = null ]
  15. [ Optional.String musicbrainzalbumid = null ]
  16. [ Optional.String musicbrainzalbumartistid = null ]

Returns: string

Files

Files.Download

Downloads the given file
Permissions:

  • ReadData

Parameters:

  1. string path

Returns: any

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.Files properties ]
  4. [ List.Sort sort ]

Returns:

Type: object
Properties:

Files.GetFileDetails

Get details for a specific file
Permissions:

  • ReadData

Parameters:

  1. string file
  2. [ Files.Media media = "files" ]
  3. [ List.Fields.Files properties ]

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:

Files.PrepareDownload

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 mode
  • string protocol
  • any details

GUI

GUI.ActivateWindow

Activates the given window
Permissions:

  • ControlGUI

Parameters:

  1. GUI.Window window
  2. [ array[1..X] parameters ]

Returns: string

GUI.GetProperties

Retrieves the values of the given properties
Permissions:

  • ReadData

Parameters:

  1. GUI.Property.Name[] properties

Returns: GUI.Property.Value

GUI.SetFullscreen

Toggle fullscreen/GUI
Permissions:

  • ControlGUI

Parameters:

  1. Global.Toggle fullscreen

Returns: boolean

GUI.ShowNotification

Shows a GUI notification
Permissions:

  • ControlGUI

Parameters:

  1. string title
  2. string message
  3. [ mixed image = "" ]
  4. [ integer displaytime = 5000 ]

Returns: string

Input

Input.Back

Goes back in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.ContextMenu

Shows the context menu
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.Down

Navigate down in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.ExecuteAction

Execute a specific action
Permissions:

  • Navigate

Parameters:

  1. Input.Action action

Returns: string

Input.Home

Goes to home window in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.Info

Shows the information dialog
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.SendText

Send a generic (unicode) text
Permissions:

  • Navigate

Parameters:

  1. string text
  2. [ boolean done = True ]

Returns: string

Input.ShowCodec

Show codec information of the playing item
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.ShowOSD

Show the on-screen display for the current player
Permissions:

  • Navigate

Parameters: None
Returns: string

Input.Up

Navigate up in GUI
Permissions:

  • Navigate

Parameters: None
Returns: string

JSONRPC

JSONRPC.GetConfiguration

Get client-specific configurations
Permissions:

  • ReadData

Parameters: None
Returns: Configuration

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:

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

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 readdata
  • boolean writefile
  • boolean controlpvr
  • boolean controlsystem
  • boolean removedata
  • boolean controlplayback
  • boolean navigate
  • boolean controlpower
  • boolean executeaddon
  • boolean manageaddon
  • boolean controlgui
  • boolean controlnotify
  • boolean updatedata

JSONRPC.Ping

Ping responder
Permissions:

  • ReadData

Parameters: None
Returns: string

JSONRPC.SetConfiguration

Change the client-specific configuration
Permissions:

  • ControlNotify

Parameters:

  1. [ object notifications ]

Properties:

Returns: Configuration

JSONRPC.Version

Retrieve the JSON-RPC protocol version.
Permissions:

  • ReadData

Parameters: None
Returns:

Type: object
Properties:

  • integer minor
  • integer patch
  • integer major

PVR

PVR.GetChannelDetails

Retrieves the details of a specific channel
Permissions:

  • ReadData

Parameters:

  1. Library.Id channelid
  2. [ PVR.Fields.Channel properties ]

Returns:

Type: object
Properties:

PVR.GetChannelGroupDetails

Retrieves the details of a specific channel group
Permissions:

  • ReadData

Parameters:

  1. PVR.ChannelGroup.Id channelgroupid
  2. [ object channels ]

Properties:

Returns:

Type: object
Properties:

PVR.GetChannelGroups

Retrieves the channel groups for the specified type
Permissions:

  • ReadData

Parameters:

  1. PVR.Channel.Type channeltype
  2. [ List.Limits limits ]

Returns:

Type: object
Properties:

PVR.GetChannels

Retrieves the channel list
Permissions:

  • ReadData

Parameters:

  1. PVR.ChannelGroup.Id channelgroupid
  2. [ PVR.Fields.Channel properties ]
  3. [ List.Limits limits ]

Returns:

Type: object
Properties:

PVR.GetProperties

Retrieves the values of the given properties
Permissions:

  • ReadData

Parameters:

  1. PVR.Property.Name[] properties

Returns: PVR.Property.Value

PVR.Record

Toggle recording of a channel
Permissions:

  • ControlPVR

Parameters:

  1. [ Global.Toggle record = "toggle" ]
  2. [ mixed channel = "current" ]

Returns: string

PVR.Scan

Starts a channel scan
Permissions:

  • ControlPVR

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.GoTo

Go to previous/next/specific item in the playlist
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. mixed to

Returns: string

Player.Move

If picture is zoomed move viewport left/right/up/down otherwise skip previous/next
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. string direction

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 ]
  2. [ object options ]

Properties:

  • [ Optional.Boolean shuffled = null ]
  • [ mixed repeat = null ]
  • [ mixed resume = False ]

Returns: string

Player.PlayPause

Pauses or unpause playback and returns the new state
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. [ Global.Toggle play = "toggle" ]

Returns: Player.Speed

Player.Rotate

Rotates current picture
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. [ string value = "clockwise" ]

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.SetPartymode

Turn partymode on or off
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. Global.Toggle partymode

Returns: string

Player.SetRepeat

Set the repeat mode of the player
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. mixed repeat

Returns: string

Player.SetShuffle

Shuffle/Unshuffle items in the player
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. Global.Toggle shuffle

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
  3. [ boolean enable = False ]

Returns: string

Player.Stop

Stops playback
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid

Returns: string

Player.Zoom

Zoom current picture
Permissions:

  • ControlPlayback

Parameters:

  1. Player.Id playerid
  2. mixed zoom

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.EjectOpticalDrive

Ejects or closes the optical disc drive (if available)
Permissions:

  • ControlSystem

Parameters: None
Returns: string

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 ]
  6. [ mixed filter ]

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 ]
  4. [ mixed filter ]

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. [ Video.Fields.MusicVideo properties ]
  2. [ List.Limits limits ]
  3. [ List.Sort sort ]
  4. [ mixed filter ]

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 ]
  4. [ mixed filter ]

Returns:

Type: object
Properties:

VideoLibrary.RemoveEpisode

Removes the given episode from the library
Permissions:

  • RemoveData

Parameters:

  1. Library.Id episodeid

Returns: string

VideoLibrary.RemoveMovie

Removes the given movie from the library
Permissions:

  • RemoveData

Parameters:

  1. Library.Id movieid

Returns: string

VideoLibrary.RemoveMusicVideo

Removes the given music video from the library
Permissions:

  • RemoveData

Parameters:

  1. Library.Id musicvideoid

Returns: string

VideoLibrary.RemoveTVShow

Removes the given tv show from the library
Permissions:

  • RemoveData

Parameters:

  1. Library.Id tvshowid

Returns: string

VideoLibrary.Scan

Scans the video sources for new library items
Permissions:

  • UpdateData

Parameters:

  1. [ string directory = "" ]

Returns: string

VideoLibrary.SetEpisodeDetails

Update the given episode with the given details
Permissions:

  • UpdateData

Parameters:

  1. Library.Id episodeid
  2. [ Optional.String title = null ]
  3. [ Optional.Integer playcount = null ]
  4. [ Optional.Integer runtime = null ]
  5. [ mixed director = null ]
  6. [ Optional.String plot = null ]
  7. [ Optional.Number rating = null ]
  8. [ Optional.String votes = null ]
  9. [ Optional.String lastplayed = null ]
  10. [ mixed writer = null ]
  11. [ Optional.String firstaired = null ]
  12. [ Optional.String productioncode = null ]
  13. [ Optional.Integer season = null ]
  14. [ Optional.Integer episode = null ]
  15. [ Optional.String originaltitle = null ]
  16. [ Optional.String thumbnail = null ]
  17. [ Optional.String fanart = null ]
  18. [ mixed art = null ]

Returns: string

VideoLibrary.SetMovieDetails

Update the given movie with the given details
Permissions:

  • UpdateData

Parameters:

  1. Library.Id movieid
  2. [ Optional.String title = null ]
  3. [ Optional.Integer playcount = null ]
  4. [ Optional.Integer runtime = null ]
  5. [ mixed director = null ]
  6. [ mixed studio = null ]
  7. [ Optional.Integer year = null ]
  8. [ Optional.String plot = null ]
  9. [ mixed genre = null ]
  10. [ Optional.Number rating = null ]
  11. [ Optional.String mpaa = null ]
  12. [ Optional.String imdbnumber = null ]
  13. [ Optional.String votes = null ]
  14. [ Optional.String lastplayed = null ]
  15. [ Optional.String originaltitle = null ]
  16. [ Optional.String trailer = null ]
  17. [ Optional.String tagline = null ]
  18. [ Optional.String plotoutline = null ]
  19. [ mixed writer = null ]
  20. [ mixed country = null ]
  21. [ Optional.Integer top250 = null ]
  22. [ Optional.String sorttitle = null ]
  23. [ Optional.String set = null ]
  24. [ mixed showlink = null ]
  25. [ Optional.String thumbnail = null ]
  26. [ Optional.String fanart = null ]
  27. [ mixed tag = null ]
  28. [ mixed art = null ]

Returns: string

VideoLibrary.SetMusicVideoDetails

Update the given music video with the given details
Permissions:

  • UpdateData

Parameters:

  1. Library.Id musicvideoid
  2. [ Optional.String title = null ]
  3. [ Optional.Integer playcount = null ]
  4. [ Optional.Integer runtime = null ]
  5. [ mixed director = null ]
  6. [ mixed studio = null ]
  7. [ Optional.Integer year = null ]
  8. [ Optional.String plot = null ]
  9. [ Optional.String album = null ]
  10. [ mixed artist = null ]
  11. [ mixed genre = null ]
  12. [ Optional.Integer track = null ]
  13. [ Optional.String lastplayed = null ]
  14. [ Optional.String thumbnail = null ]
  15. [ Optional.String fanart = null ]
  16. [ mixed tag = null ]
  17. [ mixed art = null ]

Returns: string

VideoLibrary.SetTVShowDetails

Update the given tvshow with the given details
Permissions:

  • UpdateData

Parameters:

  1. Library.Id tvshowid
  2. [ Optional.String title = null ]
  3. [ Optional.Integer playcount = null ]
  4. [ mixed studio = null ]
  5. [ Optional.String plot = null ]
  6. [ mixed genre = null ]
  7. [ Optional.Number rating = null ]
  8. [ Optional.String mpaa = null ]
  9. [ Optional.String imdbnumber = null ]
  10. [ Optional.String premiered = null ]
  11. [ Optional.String votes = null ]
  12. [ Optional.String lastplayed = null ]
  13. [ Optional.String originaltitle = null ]
  14. [ Optional.String sorttitle = null ]
  15. [ Optional.String episodeguide = null ]
  16. [ Optional.String thumbnail = null ]
  17. [ Optional.String fanart = null ]
  18. [ mixed tag = null ]
  19. [ mixed art = null ]

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

Addon

Addon.Content

Type: string

Addon.Details

Extends:


Properties:

  • string addonid
  • [ string disclaimer = "" ]
  • [ string fanart = "" ]
  • [ mixed broken = null ]
  • [ string author = "" ]
  • [ boolean enabled = False ]
  • [ array extrainfo ]
  • [ string thumbnail = "" ]
  • [ string path = "" ]
  • [ array dependencies ]
  • Addon.Types type
  • [ string description = "" ]
  • [ string name = "" ]
  • [ string version = "" ]
  • [ string summary = "" ]
  • [ integer rating = 0 ]

Addon.Fields

Extends:

Addon.Types

Type: string

Application

Application.Property.Name

Type: string

Application.Property.Value

Type: object
Properties:

  • [ object version ]

Properties:

    • integer minor
    • string tag
    • integer major
    • [ mixed revision = null ]
  • [ string name = "" ]
  • [ integer volume = 0 ]
  • [ boolean muted = False ]

Array

Array.Integer

Type: array

Array.String

Type: array

Audio

Audio.Details.Album

Extends:


Properties:

Audio.Details.Artist

Extends:


Properties:

  • [ string born = "" ]
  • [ string formed = "" ]
  • [ string died = "" ]
  • [ Array.String style ]
  • [ Array.String yearsactive ]
  • [ Array.String mood ]
  • [ string musicbrainzartistid = "" ]
  • [ string disbanded = "" ]
  • [ string description = "" ]
  • string artist
  • [ Array.String instrument ]
  • Library.Id artistid

Audio.Details.Base

Extends:


Properties:

Audio.Details.Media

Extends:


Properties:

  • [ string displayartist = "" ]
  • [ Array.String artist ]
  • [ Array.Integer genreid ]
  • [ string musicbrainzalbumartistid = "" ]
  • [ integer year = 0 ]
  • [ integer rating = 0 ]
  • [ Array.Integer artistid ]
  • [ string title = "" ]
  • [ string musicbrainzalbumid = "" ]

Audio.Details.Song

Extends:


Properties:

  • [ string lyrics = "" ]
  • Library.Id songid
  • [ Array.Integer albumartistid ]
  • [ integer disc = 0 ]
  • [ string comment = "" ]
  • [ integer playcount = 0 ]
  • [ string album = "" ]
  • [ string file = "" ]
  • [ string lastplayed = "" ]
  • [ Library.Id albumid = -1 ]
  • [ string musicbrainzartistid = "" ]
  • [ Array.String albumartist ]
  • [ integer duration = 0 ]
  • [ string musicbrainztrackid = "" ]
  • [ integer track = 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 other
  • boolean input
  • boolean videolibrary
  • boolean audiolibrary
  • boolean pvr
  • boolean playlist
  • boolean system
  • boolean player
  • boolean application

Files

Files.Media

Type: string

GUI

GUI.Property.Name

Type: string

GUI.Property.Value

Type: object
Properties:

  • [ object currentwindow ]

Properties:

    • string label
    • integer id
  • [ boolean fullscreen = False ]
  • [ object skin ]

Properties:

    • string id
    • [ string name = "" ]
  • [ object currentcontrol ]

Properties:

    • string label

GUI.Window

Type: string

Global

Global.IncrementDecrement

Type: string

Global.String.NotEmpty

Type: string

Global.Time

Type: object
Properties:

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

Global.Toggle

Type: mixed

Input

Input.Action

Type: string

Item

Item.Details.Base

Type: object
Properties:

  • string label

Item.Fields.Base

Type: array

Library

Library.Details.Genre

Extends:


Properties:

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

Library.Fields.Genre

Extends:

Library.Id

Type: integer

List

List.Amount

Type: integer

List.Fields.All

Extends:

List.Fields.Files

Extends:

List.Filter.Albums

Type: mixed

List.Filter.Artists

Type: mixed

List.Filter.Episodes

Type: mixed

List.Filter.Fields.Albums

Type: string

List.Filter.Fields.Artists

Type: string

List.Filter.Fields.Episodes

Type: string

List.Filter.Fields.Movies

Type: string

List.Filter.Fields.MusicVideos

Type: string

List.Filter.Fields.Songs

Type: string

List.Filter.Fields.TVShows

Type: string

List.Filter.Movies

Type: mixed

List.Filter.MusicVideos

Type: mixed

List.Filter.Operators

Type: string

List.Filter.Rule

Type: object
Properties:

List.Filter.Rule.Albums

Extends:


Properties:

List.Filter.Rule.Artists

Extends:


Properties:

List.Filter.Rule.Episodes

Extends:


Properties:

List.Filter.Rule.Movies

Extends:


Properties:

List.Filter.Rule.MusicVideos

Extends:


Properties:

List.Filter.Rule.Songs

Extends:


Properties:

List.Filter.Rule.TVShows

Extends:


Properties:

List.Filter.Songs

Type: mixed

List.Filter.TVShows

Type: mixed

List.Item.All

Extends:


Properties:

  • [ PVR.Channel.Type channeltype = "tv" ]
  • [ string channel = "" ]
  • [ string starttime = "" ]
  • [ string endtime = "" ]
  • [ integer channelnumber = 0 ]
  • [ boolean hidden = False ]
  • [ boolean locked = False ]

List.Item.Base

Extends:


Properties:

  • [ string sorttitle = "" ]
  • [ string productioncode = "" ]
  • [ Video.Cast cast ]
  • [ string votes = "" ]
  • [ integer duration = 0 ]
  • [ string trailer = "" ]
  • [ Library.Id albumid = -1 ]
  • [ string musicbrainzartistid = "" ]
  • [ string mpaa = "" ]
  • [ string albumlabel = "" ]
  • [ string originaltitle = "" ]
  • [ Array.String writer ]
  • [ Array.Integer albumartistid ]
  • [ string type = "unknown" ]
  • [ integer episode = 0 ]
  • [ string firstaired = "" ]
  • [ string showtitle = "" ]
  • [ Array.String country ]
  • [ Array.String mood ]
  • [ string set = "" ]
  • [ string musicbrainztrackid = "" ]
  • [ Array.String tag ]
  • [ string lyrics = "" ]
  • [ integer top250 = 0 ]
  • [ string comment = "" ]
  • [ string premiered = "" ]
  • [ Array.String showlink ]
  • [ Array.String style ]
  • [ string album = "" ]
  • [ Library.Id tvshowid = -1 ]
  • [ integer season = 0 ]
  • [ Array.String theme ]
  • [ string description = "" ]
  • [ Library.Id setid = -1 ]
  • [ integer track = 0 ]
  • [ string tagline = "" ]
  • [ string plotoutline = "" ]
  • [ integer watchedepisodes = 0 ]
  • [ Library.Id id = -1 ]
  • [ integer disc = 0 ]
  • [ Array.String albumartist ]
  • [ Array.String studio ]
  • [ object uniqueid ]
  • [ string episodeguide = "" ]
  • [ string imdbnumber = "" ]

List.Item.File

Extends:


Properties:

  • string filetype
  • [ integer size = 0 ]
  • [ string mimetype = "" ]
  • string file
  • [ string lastmodified = "" ]

List.Items.Sources

Type: array

List.Limits

Type: object
Properties:

List.LimitsReturned

Type: object
Properties:

  • [ List.Amount end = -1 ]
  • integer total
  • [ integer start = 0 ]

List.Sort

Type: object
Properties:

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

Media

Media.Artwork

Type: object
Properties:

Media.Details.Base

Extends:


Properties:

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

Notifications

Notifications.Item

Type: mixed

Notifications.Item.Type

Type: string

Optional

Optional.Boolean

Type: mixed

Optional.Integer

Type: mixed

Optional.Number

Type: mixed

Optional.String

Type: mixed

PVR

PVR.Channel.Type

Type: string

PVR.ChannelGroup.Id

Type: mixed

PVR.Details.Channel

Extends:


Properties:

  • [ PVR.Channel.Type channeltype = "tv" ]
  • [ string thumbnail = "" ]
  • [ string channel = "" ]
  • [ boolean hidden = False ]
  • Library.Id channelid
  • [ boolean locked = False ]
  • [ string lastplayed = "" ]

PVR.Details.ChannelGroup

Extends:


Properties:

PVR.Details.ChannelGroup.Extended

Extends:


Properties:

PVR.Fields.Channel

Extends:

PVR.Property.Name

Type: string

PVR.Property.Value

Type: object
Properties:

  • [ boolean scanning = False ]
  • [ boolean recording = False ]
  • [ boolean available = False ]

Player

Player.Audio.Stream

Type: object
Properties:

  • integer index
  • string language
  • string name

Player.Audio.Stream.Extended

Extends:


Properties:

  • integer channels
  • string codec
  • integer bitrate

Player.Id

Type: integer

Player.Notifications.Data

Type: object
Properties:

Player.Notifications.Player

Type: object
Properties:

Player.Notifications.Player.Seek

Extends:


Properties:

Player.Position.Percentage

Type: number

Player.Position.Time

Type: object
Properties:

  • [ integer hours = 0 ]
  • [ integer milliseconds = 0 ]
  • [ integer seconds = 0 ]
  • [ integer minutes = 0 ]

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 language
  • string name

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 canshutdown = False ]
  • [ boolean canhibernate = False ]
  • [ boolean cansuspend = False ]
  • [ boolean canreboot = False ]

Video

Video.Cast

Type: array

Video.Details.Base

Extends:


Properties:

Video.Details.Episode

Extends:


Properties:

  • [ Video.Cast cast ]
  • [ string productioncode = "" ]
  • [ number rating = 0 ]
  • [ string votes = "" ]
  • [ integer episode = 0 ]
  • [ string showtitle = "" ]
  • Library.Id episodeid
  • [ Library.Id tvshowid = -1 ]
  • [ integer season = 0 ]
  • [ string firstaired = "" ]
  • [ object uniqueid ]
  • [ Array.String writer ]
  • [ string originaltitle = "" ]

Video.Details.File

Extends:


Properties:

Video.Details.Item

Extends:


Properties:

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

Video.Details.Media

Extends:


Properties:

  • [ string title = "" ]

Video.Details.Movie

Extends:


Properties:

Video.Details.MovieSet

Extends:


Properties:

Video.Details.MovieSet.Extended

Extends:


Properties:

Video.Details.MusicVideo

Extends:


Properties:

Video.Details.Season

Extends:


Properties:

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

Video.Details.TVShow

Extends:


Properties:

  • [ string sorttitle = "" ]
  • [ string mpaa = "" ]
  • [ string premiered = "" ]
  • [ integer year = 0 ]
  • [ integer episode = 0 ]
  • [ integer watchedepisodes = 0 ]
  • [ string votes = "" ]
  • [ number rating = 0 ]
  • Library.Id tvshowid
  • [ Array.String studio ]
  • [ integer season = 0 ]
  • [ Array.String genre ]
  • [ Video.Cast cast ]
  • [ string episodeguide = "" ]
  • [ Array.String tag ]
  • [ string originaltitle = "" ]
  • [ string imdbnumber = "" ]

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

Application

Application.OnVolumeChanged

The volume of the application has changed.
Parameters:

  1. string sender
  2. object data

Properties:

  • integer volume
  • boolean muted

AudioLibrary

AudioLibrary.OnCleanFinished

The audio library has been cleaned.
Parameters:

  1. string sender
  2. null data

AudioLibrary.OnCleanStarted

An audio library clean operation has started.
Parameters:

  1. string sender
  2. null data

AudioLibrary.OnRemove

An audio item has been removed.
Parameters:

  1. string sender
  2. object data

Properties:

AudioLibrary.OnScanFinished

Scanning the audio library has been finished.
Parameters:

  1. string sender
  2. null data

AudioLibrary.OnScanStarted

An audio library scan has started.
Parameters:

  1. string sender
  2. null data

AudioLibrary.OnUpdate

An audio item has been updated.
Parameters:

  1. string sender
  2. object data

Properties:

Input

Input.OnInputFinished

The user has provided the requested input.
Parameters:

  1. string sender
  2. null data

Input.OnInputRequested

The user is requested to provide some information.
Parameters:

  1. string sender
  2. object data

Properties:

  • string value
  • [ string title ]
  • string type

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.OnPropertyChanged

A property of the playing items has changed.
Parameters:

  1. string sender
  2. object data

Properties:

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:

Playlist

Playlist.OnAdd

A playlist item has been added.
Parameters:

  1. string sender
  2. object data

Properties:

Playlist.OnClear

A playlist item has been cleared.
Parameters:

  1. string sender
  2. object data

Properties:

Playlist.OnRemove

A playlist item has been removed.
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.OnCleanFinished

The video library has been cleaned.
Parameters:

  1. string sender
  2. null data

VideoLibrary.OnCleanStarted

A video library clean operation has started.
Parameters:

  1. string sender
  2. null data

VideoLibrary.OnRemove

A video item has been removed.
Parameters:

  1. string sender
  2. object data

Properties:

VideoLibrary.OnScanFinished

Scanning the video library has been finished.
Parameters:

  1. string sender
  2. null data

VideoLibrary.OnScanStarted

A video library scan has started.
Parameters:

  1. string sender
  2. null data

VideoLibrary.OnUpdate

A video item has been updated.
Parameters:

  1. string sender
  2. object data

Properties:

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

See also

External links