/xbmc/interfaces/json-rpc/ServiceDescription.h
C Header | 3586 lines | 3563 code | 4 blank | 19 comment | 0 complexity | 4b4099277b5f36bffb9719d4228c6a14 MD5 | raw file
Possible License(s): GPL-3.0, CC-BY-SA-3.0, LGPL-2.0, 0BSD, Unlicense, GPL-2.0, AGPL-1.0, BSD-3-Clause, LGPL-2.1, LGPL-3.0
Large files files are truncated, but you can click here to view the full file
- #pragma once
- /*
- * Copyright (C) 2005-2013 Team XBMC
- * http://xbmc.org
- *
- * This Program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This Program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with XBMC; see the file COPYING. If not, see
- * <http://www.gnu.org/licenses/>.
- *
- */
- namespace JSONRPC
- {
- const char* const JSONRPC_SERVICE_ID = "http://xbmc.org/jsonrpc/ServiceDescription.json";
- const char* const JSONRPC_SERVICE_VERSION = "6.6.2";
- const char* const JSONRPC_SERVICE_DESCRIPTION = "JSON-RPC API of XBMC";
- const char* const JSONRPC_SERVICE_TYPES[] = {
- "\"Optional.Boolean\": {"
- "\"type\": [ \"null\", \"boolean\" ],"
- "\"default\": null"
- "}",
- "\"Optional.String\": {"
- "\"type\": [ \"null\", \"string\" ],"
- "\"default\": null"
- "}",
- "\"Optional.Integer\": {"
- "\"type\": [ \"null\", \"integer\" ],"
- "\"default\": null"
- "}",
- "\"Optional.Number\": {"
- "\"type\": [ \"null\", \"number\" ],"
- "\"default\": null"
- "}",
- "\"Array.String\": {"
- "\"type\": \"array\","
- "\"items\": { \"type\": \"string\", \"minLength\": 1 }"
- "}",
- "\"Array.Integer\": {"
- "\"type\": \"array\","
- "\"items\": { \"type\": \"integer\" }"
- "}",
- "\"Global.Time\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"hours\": { \"type\": \"integer\", \"required\": true, \"minimum\": 0, \"maximum\": 23 },"
- "\"minutes\": { \"type\": \"integer\", \"required\": true, \"minimum\": 0, \"maximum\": 59 },"
- "\"seconds\": { \"type\": \"integer\", \"required\": true, \"minimum\": 0, \"maximum\": 59 },"
- "\"milliseconds\": { \"type\": \"integer\", \"required\": true, \"minimum\": 0, \"maximum\": 999 }"
- "},"
- "\"additionalProperties\": false"
- "}",
- "\"Global.IncrementDecrement\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"increment\", \"decrement\" ]"
- "}",
- "\"Global.Toggle\": {"
- "\"type\": ["
- "{ \"type\": \"boolean\", \"required\": true },"
- "{ \"type\": \"string\", \"enum\": [ \"toggle\" ], \"required\": true }"
- "]"
- "}",
- "\"Global.String.NotEmpty\": {"
- "\"type\": \"string\","
- "\"minLength\": 1"
- "}",
- "\"Configuration.Notifications\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"Player\": { \"type\": \"boolean\", \"required\": true },"
- "\"Playlist\": { \"type\": \"boolean\", \"required\": true },"
- "\"GUI\": { \"type\": \"boolean\", \"required\": true },"
- "\"System\": { \"type\": \"boolean\", \"required\": true },"
- "\"VideoLibrary\": { \"type\": \"boolean\", \"required\": true },"
- "\"AudioLibrary\": { \"type\": \"boolean\", \"required\": true },"
- "\"Application\": { \"type\": \"boolean\", \"required\": true },"
- "\"Input\": { \"type\": \"boolean\", \"required\": true },"
- "\"PVR\": { \"type\": \"boolean\", \"required\": true },"
- "\"Other\": { \"type\": \"boolean\", \"required\": true }"
- "},"
- "\"additionalProperties\": false"
- "}",
- "\"Configuration\": {"
- "\"type\": \"object\", \"required\": true,"
- "\"properties\": {"
- "\"notifications\": { \"$ref\": \"Configuration.Notifications\", \"required\": true }"
- "}"
- "}",
- "\"Files.Media\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"video\", \"music\", \"pictures\", \"files\", \"programs\" ]"
- "}",
- "\"List.Amount\": {"
- "\"type\": \"integer\","
- "\"default\": -1,"
- "\"minimum\": 0"
- "}",
- "\"List.Limits\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"start\": { \"type\": \"integer\", \"minimum\": 0, \"default\": 0, \"description\": \"Index of the first item to return\" },"
- "\"end\": { \"$ref\": \"List.Amount\", \"description\": \"Index of the last item to return\" }"
- "},"
- "\"additionalProperties\": false"
- "}",
- "\"List.LimitsReturned\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"start\": { \"type\": \"integer\", \"minimum\": 0, \"default\": 0 },"
- "\"end\": { \"$ref\": \"List.Amount\" },"
- "\"total\": { \"type\": \"integer\", \"minimum\": 0, \"required\": true }"
- "},"
- "\"additionalProperties\": false"
- "}",
- "\"List.Sort\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"method\": { \"type\": \"string\", \"default\": \"none\","
- "\"enum\": [ \"none\", \"label\", \"date\", \"size\", \"file\", \"path\", \"drivetype\", \"title\", \"track\", \"time\", \"artist\","
- "\"album\", \"albumtype\", \"genre\", \"country\", \"year\", \"rating\", \"votes\", \"top250\", \"programcount\","
- "\"playlist\", \"episode\", \"season\", \"totalepisodes\", \"watchedepisodes\", \"tvshowstatus\", \"tvshowtitle\","
- "\"sorttitle\", \"productioncode\", \"mpaa\", \"studio\", \"dateadded\", \"lastplayed\", \"playcount\", \"listeners\","
- "\"bitrate\", \"random\" ]"
- "},"
- "\"order\": { \"type\": \"string\", \"default\": \"ascending\", \"enum\": [ \"ascending\", \"descending\" ] },"
- "\"ignorearticle\": { \"type\": \"boolean\", \"default\": false }"
- "}"
- "}",
- "\"Library.Id\": {"
- "\"type\": \"integer\","
- "\"default\": -1,"
- "\"minimum\": 1"
- "}",
- "\"PVR.Channel.Type\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"tv\", \"radio\" ]"
- "}",
- "\"Playlist.Id\": {"
- "\"type\": \"integer\","
- "\"minimum\": 0,"
- "\"maximum\": 2,"
- "\"default\": -1"
- "}",
- "\"Playlist.Type\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"unknown\", \"video\", \"audio\", \"picture\", \"mixed\" ]"
- "}",
- "\"Playlist.Property.Name\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"type\", \"size\" ]"
- "}",
- "\"Playlist.Property.Value\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Playlist.Type\" },"
- "\"size\": { \"type\": \"integer\", \"minimum\": 0 }"
- "}"
- "}",
- "\"Playlist.Position\": {"
- "\"type\": \"integer\","
- "\"minimum\": 0,"
- "\"default\": -1"
- "}",
- "\"Playlist.Item\": {"
- "\"type\": ["
- "{ \"type\": \"object\", \"properties\": { \"file\": { \"type\": \"string\", \"description\": \"Path to a file (not a directory) to be added to the playlist\", \"required\": true } }, \"additionalProperties\": false },"
- "{ \"type\": \"object\", \"properties\": { \"directory\": { \"type\": \"string\", \"required\": true }, \"recursive\": { \"type\": \"boolean\", \"default\": false }, \"media\": { \"$ref\": \"Files.Media\", \"default\": \"files\" } }, \"additionalProperties\": false },"
- "{ \"type\": \"object\", \"properties\": { \"movieid\": { \"$ref\": \"Library.Id\", \"required\": true } }, \"additionalProperties\": false },"
- "{ \"type\": \"object\", \"properties\": { \"episodeid\": { \"$ref\": \"Library.Id\", \"required\": true } }, \"additionalProperties\": false },"
- "{ \"type\": \"object\", \"properties\": { \"musicvideoid\": { \"$ref\": \"Library.Id\", \"required\": true } }, \"additionalProperties\": false },"
- "{ \"type\": \"object\", \"properties\": { \"artistid\": { \"$ref\": \"Library.Id\", \"required\": true } }, \"additionalProperties\": false },"
- "{ \"type\": \"object\", \"properties\": { \"albumid\": { \"$ref\": \"Library.Id\", \"required\": true } }, \"additionalProperties\": false },"
- "{ \"type\": \"object\", \"properties\": { \"songid\": { \"$ref\": \"Library.Id\", \"required\": true } }, \"additionalProperties\": false },"
- "{ \"type\": \"object\", \"properties\": { \"genreid\": { \"$ref\": \"Library.Id\", \"required\": true, \"description\": \"Identification of a genre from the AudioLibrary\" } }, \"additionalProperties\": false }"
- "]"
- "}",
- "\"Player.Id\": {"
- "\"type\": \"integer\","
- "\"minimum\": 0,"
- "\"maximum\": 2,"
- "\"default\": -1"
- "}",
- "\"Player.Type\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"video\", \"audio\", \"picture\" ]"
- "}",
- "\"Player.Position.Percentage\": {"
- "\"type\": \"number\","
- "\"minimum\": 0.0,"
- "\"maximum\": 100.0"
- "}",
- "\"Player.Position.Time\": {"
- "\"type\": \"object\","
- "\"additionalProperties\": false,"
- "\"properties\": {"
- "\"hours\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 23, \"default\": 0 },"
- "\"minutes\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 59, \"default\": 0 },"
- "\"seconds\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 59, \"default\": 0 },"
- "\"milliseconds\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 999, \"default\": 0 }"
- "}"
- "}",
- "\"Player.Speed\": {"
- "\"type\": \"object\","
- "\"required\": true,"
- "\"properties\": {"
- "\"speed\": { \"type\": \"integer\" }"
- "}"
- "}",
- "\"Player.Repeat\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"off\", \"one\", \"all\" ]"
- "}",
- "\"Player.Audio.Stream\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"index\": { \"type\": \"integer\", \"minimum\": 0, \"required\": true },"
- "\"name\": { \"type\": \"string\", \"required\": true },"
- "\"language\": { \"type\": \"string\", \"required\": true },"
- "\"codec\": { \"type\": \"string\", \"required\": true },"
- "\"bitrate\": { \"type\": \"integer\", \"required\": true },"
- "\"channels\": { \"type\": \"integer\", \"required\": true }"
- "}"
- "}",
- "\"Player.Subtitle\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"index\": { \"type\": \"integer\", \"minimum\": 0, \"required\": true },"
- "\"name\": { \"type\": \"string\", \"required\": true },"
- "\"language\": { \"type\": \"string\", \"required\": true }"
- "}"
- "}",
- "\"Player.Property.Name\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"type\", \"partymode\", \"speed\", \"time\", \"percentage\","
- "\"totaltime\", \"playlistid\", \"position\", \"repeat\", \"shuffled\","
- "\"canseek\", \"canchangespeed\", \"canmove\", \"canzoom\", \"canrotate\","
- "\"canshuffle\", \"canrepeat\", \"currentaudiostream\", \"audiostreams\","
- "\"subtitleenabled\", \"currentsubtitle\", \"subtitles\", \"live\" ]"
- "}",
- "\"Player.Property.Value\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Player.Type\" },"
- "\"partymode\": { \"type\": \"boolean\" },"
- "\"speed\": { \"type\": \"integer\" },"
- "\"time\": { \"$ref\": \"Global.Time\" },"
- "\"percentage\": { \"$ref\": \"Player.Position.Percentage\" },"
- "\"totaltime\": { \"$ref\": \"Global.Time\" },"
- "\"playlistid\": { \"$ref\": \"Playlist.Id\" },"
- "\"position\": { \"$ref\": \"Playlist.Position\" },"
- "\"repeat\": { \"$ref\": \"Player.Repeat\" },"
- "\"shuffled\": { \"type\": \"boolean\" },"
- "\"canseek\": { \"type\": \"boolean\" },"
- "\"canchangespeed\": { \"type\": \"boolean\" },"
- "\"canmove\": { \"type\": \"boolean\" },"
- "\"canzoom\": { \"type\": \"boolean\" },"
- "\"canrotate\": { \"type\": \"boolean\" },"
- "\"canshuffle\": { \"type\": \"boolean\" },"
- "\"canrepeat\": { \"type\": \"boolean\" },"
- "\"currentaudiostream\": { \"$ref\": \"Player.Audio.Stream\" },"
- "\"audiostreams\": { \"type\": \"array\", \"items\": { \"$ref\": \"Player.Audio.Stream\" } },"
- "\"subtitleenabled\": { \"type\": \"boolean\" },"
- "\"currentsubtitle\": { \"$ref\": \"Player.Subtitle\" },"
- "\"subtitles\": { \"type\": \"array\", \"items\": { \"$ref\": \"Player.Subtitle\" } },"
- "\"live\": { \"type\": \"boolean\" }"
- "}"
- "}",
- "\"Notifications.Item.Type\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"unknown\", \"movie\", \"episode\", \"musicvideo\", \"song\", \"picture\", \"channel\" ]"
- "}",
- "\"Notifications.Item\": {"
- "\"type\": ["
- "{ \"type\": \"object\", \"description\": \"An unknown item does not have any additional information.\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Notifications.Item.Type\", \"required\": true }"
- "}"
- "},"
- "{ \"type\": \"object\", \"description\": \"An item known to the database has an identification.\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Notifications.Item.Type\", \"required\": true },"
- "\"id\": { \"$ref\": \"Library.Id\", \"required\": true }"
- "}"
- "},"
- "{ \"type\": \"object\", \"description\": \"A movie item has a title and may have a release year.\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Notifications.Item.Type\", \"required\": true },"
- "\"title\": { \"type\": \"string\", \"required\": true },"
- "\"year\": { \"type\": \"integer\" }"
- "}"
- "},"
- "{ \"type\": \"object\", \"description\": \"A tv episode has a title and may have an episode number, season number and the title of the show it belongs to.\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Notifications.Item.Type\", \"required\": true },"
- "\"title\": { \"type\": \"string\", \"required\": true },"
- "\"episode\": { \"type\": \"integer\" },"
- "\"season\": { \"type\": \"integer\" },"
- "\"showtitle\": { \"type\": \"string\" }"
- "}"
- "},"
- "{ \"type\": \"object\", \"description\": \"A music video has a title and may have an album and an artist.\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Notifications.Item.Type\", \"required\": true },"
- "\"title\": { \"type\": \"string\", \"required\": true },"
- "\"album\": { \"type\": \"string\" },"
- "\"artist\": { \"type\": \"string\" }"
- "}"
- "},"
- "{ \"type\": \"object\", \"description\": \"A song has a title and may have an album, an artist and a track number.\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Notifications.Item.Type\", \"required\": true },"
- "\"title\": { \"type\": \"string\", \"required\": true },"
- "\"album\": { \"type\": \"string\" },"
- "\"artist\": { \"type\": \"string\" },"
- "\"track\": { \"type\": \"integer\" }"
- "}"
- "},"
- "{ \"type\": \"object\", \"description\": \"A picture has a file path.\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Notifications.Item.Type\", \"required\": true },"
- "\"file\": { \"type\": \"string\", \"required\": true }"
- "}"
- "},"
- "{ \"type\": \"object\", \"description\": \"A PVR channel is either a radio or tv channel and has a title.\","
- "\"properties\": {"
- "\"type\": { \"$ref\": \"Notifications.Item.Type\", \"required\": true },"
- "\"id\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"title\": { \"type\": \"string\", \"required\": true },"
- "\"channeltype\": { \"$ref\": \"PVR.Channel.Type\", \"required\": true }"
- "}"
- "}"
- "]"
- "}",
- "\"Player.Notifications.Player\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"playerid\": { \"$ref\": \"Player.Id\", \"required\": true },"
- "\"speed\": { \"type\": \"integer\" }"
- "}"
- "}",
- "\"Player.Notifications.Player.Seek\": {"
- "\"extends\": \"Player.Notifications.Player\","
- "\"properties\": {"
- "\"time\": { \"$ref\": \"Global.Time\" },"
- "\"seekoffset\": { \"$ref\": \"Global.Time\" }"
- "}"
- "}",
- "\"Player.Notifications.Data\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"item\": { \"$ref\": \"Notifications.Item\", \"required\": true },"
- "\"player\": { \"$ref\": \"Player.Notifications.Player\", \"required\": true }"
- "}"
- "}",
- "\"Item.Fields.Base\": {"
- "\"type\": \"array\","
- "\"uniqueItems\": true,"
- "\"items\": { \"type\": \"string\" }"
- "}",
- "\"Item.Details.Base\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"label\": { \"type\": \"string\", \"required\": true }"
- "}"
- "}",
- "\"Media.Details.Base\": {"
- "\"extends\": \"Item.Details.Base\","
- "\"properties\": {"
- "\"fanart\": { \"type\": \"string\" },"
- "\"thumbnail\": { \"type\": \"string\" }"
- "}"
- "}",
- "\"Media.Artwork\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"thumb\": { \"$ref\": \"Global.String.NotEmpty\" },"
- "\"poster\": { \"$ref\": \"Global.String.NotEmpty\" },"
- "\"banner\": { \"$ref\": \"Global.String.NotEmpty\" },"
- "\"fanart\": { \"$ref\": \"Global.String.NotEmpty\" }"
- "},"
- "\"additionalProperties\": { \"$ref\": \"Global.String.NotEmpty\" }"
- "}",
- "\"Library.Fields.Genre\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\", \"enum\": [ \"title\", \"thumbnail\" ] }"
- "}",
- "\"Library.Details.Genre\": {"
- "\"extends\": \"Item.Details.Base\","
- "\"properties\": {"
- "\"genreid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"title\": { \"type\": \"string\" },"
- "\"thumbnail\": { \"type\": \"string\" }"
- "}"
- "}",
- "\"Audio.Fields.Artist\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"enum\": [ \"instrument\", \"style\", \"mood\", \"born\", \"formed\","
- "\"description\", \"genre\", \"died\", \"disbanded\","
- "\"yearsactive\", \"musicbrainzartistid\", \"fanart\","
- "\"thumbnail\", \"compilationartist\" ]"
- "}"
- "}",
- "\"Audio.Fields.Album\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"description\": \"Requesting the genreid and/or artistid field will result in increased response times\","
- "\"enum\": [ \"title\", \"description\", \"artist\", \"genre\","
- "\"theme\", \"mood\", \"style\", \"type\", \"albumlabel\","
- "\"rating\", \"year\", \"musicbrainzalbumid\","
- "\"musicbrainzalbumartistid\", \"fanart\", \"thumbnail\","
- "\"playcount\", \"genreid\", \"artistid\", \"displayartist\" ]"
- "}"
- "}",
- "\"Audio.Fields.Song\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"description\": \"Requesting the genreid, artistid and/or albumartistid field will result in increased response times\","
- "\"enum\": [ \"title\", \"artist\", \"albumartist\", \"genre\", \"year\","
- "\"rating\", \"album\", \"track\", \"duration\", \"comment\","
- "\"lyrics\", \"musicbrainztrackid\", \"musicbrainzartistid\","
- "\"musicbrainzalbumid\", \"musicbrainzalbumartistid\","
- "\"playcount\", \"fanart\", \"thumbnail\", \"file\", \"albumid\","
- "\"lastplayed\", \"disc\", \"genreid\", \"artistid\", \"displayartist\","
- "\"albumartistid\" ]"
- "}"
- "}",
- "\"Audio.Details.Base\": {"
- "\"extends\": \"Media.Details.Base\","
- "\"properties\": {"
- "\"genre\": { \"$ref\": \"Array.String\" }"
- "}"
- "}",
- "\"Audio.Details.Media\": {"
- "\"extends\": \"Audio.Details.Base\","
- "\"properties\": {"
- "\"title\": { \"type\": \"string\" },"
- "\"artist\": { \"$ref\": \"Array.String\" },"
- "\"year\": { \"type\": \"integer\" },"
- "\"rating\": { \"type\": \"integer\" },"
- "\"musicbrainzalbumid\": { \"type\": \"string\" },"
- "\"musicbrainzalbumartistid\": { \"type\": \"string\" },"
- "\"genreid\": { \"$ref\": \"Array.Integer\" },"
- "\"artistid\": { \"$ref\": \"Array.Integer\" },"
- "\"displayartist\": { \"type\" : \"string\" }"
- "}"
- "}",
- "\"Audio.Details.Artist\": {"
- "\"extends\": \"Audio.Details.Base\","
- "\"properties\": {"
- "\"artistid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"artist\": { \"type\": \"string\", \"required\": true },"
- "\"instrument\": { \"$ref\": \"Array.String\" },"
- "\"style\": { \"$ref\": \"Array.String\" },"
- "\"mood\": { \"$ref\": \"Array.String\" },"
- "\"born\": { \"type\": \"string\" },"
- "\"formed\": { \"type\": \"string\" },"
- "\"description\": { \"type\": \"string\" },"
- "\"died\": { \"type\": \"string\" },"
- "\"disbanded\": { \"type\": \"string\" },"
- "\"yearsactive\": { \"$ref\": \"Array.String\" },"
- "\"compilationartist\": { \"type\": \"boolean\" },"
- "\"musicbrainzartistid\": { \"type\": \"string\" }"
- "}"
- "}",
- "\"Audio.Details.Album\": {"
- "\"extends\": \"Audio.Details.Media\","
- "\"properties\": {"
- "\"albumid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"description\": { \"type\": \"string\" },"
- "\"theme\": { \"$ref\": \"Array.String\" },"
- "\"mood\": { \"$ref\": \"Array.String\" },"
- "\"style\": { \"$ref\": \"Array.String\" },"
- "\"type\": { \"type\": \"string\" },"
- "\"albumlabel\": { \"type\": \"string\" },"
- "\"playcount\": { \"type\": \"integer\" }"
- "}"
- "}",
- "\"Audio.Details.Song\": {"
- "\"extends\": \"Audio.Details.Media\","
- "\"properties\": {"
- "\"songid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"file\": { \"type\": \"string\" },"
- "\"albumartist\": { \"$ref\": \"Array.String\" },"
- "\"album\": { \"type\": \"string\" },"
- "\"track\": { \"type\": \"integer\" },"
- "\"duration\": { \"type\": \"integer\" },"
- "\"comment\": { \"type\": \"string\" },"
- "\"lyrics\": { \"type\": \"string\" },"
- "\"playcount\": { \"type\": \"integer\" },"
- "\"musicbrainztrackid\": { \"type\": \"string\" },"
- "\"musicbrainzartistid\": { \"type\": \"string\" },"
- "\"albumid\": { \"$ref\": \"Library.Id\" },"
- "\"lastplayed\": { \"type\": \"string\" },"
- "\"disc\": { \"type\": \"integer\" },"
- "\"albumartistid\": { \"$ref\": \"Array.Integer\" }"
- "}"
- "}",
- "\"Video.Fields.Movie\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"description\": \"Requesting the cast, showlink and/or tag field will result in increased response times\","
- "\"enum\": [ \"title\", \"genre\", \"year\", \"rating\", \"director\", \"trailer\","
- "\"tagline\", \"plot\", \"plotoutline\", \"originaltitle\", \"lastplayed\","
- "\"playcount\", \"writer\", \"studio\", \"mpaa\", \"cast\", \"country\","
- "\"imdbnumber\", \"runtime\", \"set\", \"showlink\", \"streamdetails\","
- "\"top250\", \"votes\", \"fanart\", \"thumbnail\", \"file\", \"sorttitle\","
- "\"resume\", \"setid\", \"dateadded\", \"tag\", \"art\" ]"
- "}"
- "}",
- "\"Video.Fields.MovieSet\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"enum\": [ \"title\", \"playcount\", \"fanart\", \"thumbnail\", \"art\" ]"
- "}"
- "}",
- "\"Video.Fields.TVShow\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"description\": \"Requesting the cast field will result in increased response times\","
- "\"enum\": [ \"title\", \"genre\", \"year\", \"rating\", \"plot\","
- "\"studio\", \"mpaa\", \"cast\", \"playcount\", \"episode\","
- "\"imdbnumber\", \"premiered\", \"votes\", \"lastplayed\","
- "\"fanart\", \"thumbnail\", \"file\", \"originaltitle\","
- "\"sorttitle\", \"episodeguide\", \"season\", \"watchedepisodes\","
- "\"dateadded\", \"tag\", \"lastplayed\", \"art\" ]"
- "}"
- "}",
- "\"Video.Fields.Season\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"enum\": [ \"season\", \"showtitle\", \"playcount\", \"episode\", \"fanart\", \"thumbnail\", \"tvshowid\","
- "\"watchedepisodes\", \"art\" ]"
- "}"
- "}",
- "\"Video.Fields.Episode\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"description\": \"Requesting the cast field will result in increased response times\","
- "\"enum\": [ \"title\", \"plot\", \"votes\", \"rating\", \"writer\","
- "\"firstaired\", \"playcount\", \"runtime\", \"director\","
- "\"productioncode\", \"season\", \"episode\", \"originaltitle\","
- "\"showtitle\", \"cast\", \"streamdetails\", \"lastplayed\", \"fanart\","
- "\"thumbnail\", \"file\", \"resume\", \"tvshowid\", \"dateadded\","
- "\"uniqueid\", \"art\" ]"
- "}"
- "}",
- "\"Video.Fields.MusicVideo\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"enum\": [ \"title\", \"playcount\", \"runtime\", \"director\","
- "\"studio\", \"year\", \"plot\", \"album\", \"artist\","
- "\"genre\", \"track\", \"streamdetails\", \"lastplayed\","
- "\"fanart\", \"thumbnail\", \"file\", \"resume\", \"dateadded\","
- "\"tag\", \"art\" ]"
- "}"
- "}",
- "\"Video.Cast\": {"
- "\"type\": \"array\","
- "\"items\": { \"type\": \"object\","
- "\"properties\": {"
- "\"name\": { \"type\": \"string\", \"required\": true },"
- "\"role\": { \"type\": \"string\", \"required\": true },"
- "\"thumbnail\": { \"type\": \"string\" }"
- "},"
- "\"additionalProperties\": false"
- "}"
- "}",
- "\"Video.Streams\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"audio\": { \"type\": \"array\", \"minItems\": 1,"
- "\"items\": { \"type\": \"object\","
- "\"properties\": {"
- "\"codec\": { \"type\": \"string\" },"
- "\"language\": { \"type\": \"string\" },"
- "\"channels\": { \"type\": \"integer\" }"
- "},"
- "\"additionalProperties\": false"
- "}"
- "},"
- "\"video\": { \"type\": \"array\", \"minItems\": 1,"
- "\"items\": { \"type\": \"object\","
- "\"properties\": {"
- "\"codec\": { \"type\": \"string\" },"
- "\"aspect\": { \"type\": \"number\" },"
- "\"width\": { \"type\": \"integer\" },"
- "\"height\": { \"type\": \"integer\" },"
- "\"duration\": { \"type\": \"integer\" }"
- "},"
- "\"additionalProperties\": false"
- "}"
- "},"
- "\"subtitle\": { \"type\": \"array\", \"minItems\": 1,"
- "\"items\": { \"type\": \"object\","
- "\"properties\": {"
- "\"language\": { \"type\": \"string\" }"
- "},"
- "\"additionalProperties\": false"
- "}"
- "}"
- "},"
- "\"additionalProperties\": false"
- "}",
- "\"Video.Resume\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"position\": { \"type\": \"number\", \"minimum\": 0 },"
- "\"total\": { \"type\": \"number\", \"minimum\": 0 }"
- "},"
- "\"additionalProperties\": false"
- "}",
- "\"Video.Details.Base\": {"
- "\"extends\": \"Media.Details.Base\","
- "\"properties\": {"
- "\"playcount\": { \"type\": \"integer\" },"
- "\"art\": { \"$ref\": \"Media.Artwork\" }"
- "}"
- "}",
- "\"Video.Details.Media\": {"
- "\"extends\": \"Video.Details.Base\","
- "\"properties\": {"
- "\"title\": { \"type\": \"string\" }"
- "}"
- "}",
- "\"Video.Details.Item\": {"
- "\"extends\": \"Video.Details.Media\","
- "\"properties\": {"
- "\"file\": { \"type\": \"string\" },"
- "\"plot\": { \"type\": \"string\" },"
- "\"lastplayed\": { \"type\": \"string\" },"
- "\"dateadded\": { \"type\": \"string\" }"
- "}"
- "}",
- "\"Video.Details.File\": {"
- "\"extends\": \"Video.Details.Item\","
- "\"properties\": {"
- "\"runtime\": { \"type\": \"integer\", \"description\": \"Runtime in seconds\" },"
- "\"director\": { \"$ref\": \"Array.String\" },"
- "\"streamdetails\": { \"$ref\": \"Video.Streams\" },"
- "\"resume\": { \"$ref\": \"Video.Resume\" }"
- "}"
- "}",
- "\"Video.Details.Movie\": {"
- "\"extends\": \"Video.Details.File\","
- "\"properties\": {"
- "\"movieid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"genre\": { \"$ref\": \"Array.String\" },"
- "\"year\": { \"type\": \"integer\" },"
- "\"rating\": { \"type\": \"number\" },"
- "\"trailer\": { \"type\": \"string\" },"
- "\"tagline\": { \"type\": \"string\" },"
- "\"plotoutline\": { \"type\": \"string\" },"
- "\"originaltitle\": { \"type\": \"string\" },"
- "\"sorttitle\": { \"type\": \"string\" },"
- "\"writer\": { \"$ref\": \"Array.String\" },"
- "\"studio\": { \"$ref\": \"Array.String\" },"
- "\"mpaa\": { \"type\": \"string\" },"
- "\"cast\": { \"$ref\": \"Video.Cast\" },"
- "\"country\": { \"$ref\": \"Array.String\" },"
- "\"imdbnumber\": { \"type\": \"string\" },"
- "\"set\": { \"type\": \"string\" },"
- "\"showlink\": { \"$ref\": \"Array.String\" },"
- "\"top250\": { \"type\": \"integer\" },"
- "\"votes\": { \"type\": \"string\" },"
- "\"setid\": { \"$ref\": \"Library.Id\" },"
- "\"tag\": { \"$ref\": \"Array.String\" }"
- "}"
- "}",
- "\"Video.Details.MovieSet\": {"
- "\"extends\": \"Video.Details.Media\","
- "\"properties\": {"
- "\"setid\": { \"$ref\": \"Library.Id\", \"required\": true }"
- "}"
- "}",
- "\"Video.Details.MovieSet.Extended\": {"
- "\"extends\": \"Video.Details.MovieSet\","
- "\"properties\": {"
- "\"limits\": { \"$ref\": \"List.LimitsReturned\", \"required\": true },"
- "\"movies\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"Video.Details.Movie\" }"
- "}"
- "}"
- "}",
- "\"Video.Details.TVShow\": {"
- "\"extends\": \"Video.Details.Item\","
- "\"properties\": {"
- "\"tvshowid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"genre\": { \"$ref\": \"Array.String\" },"
- "\"year\": { \"type\": \"integer\" },"
- "\"rating\": { \"type\": \"number\" },"
- "\"originaltitle\": { \"type\": \"string\" },"
- "\"sorttitle\": { \"type\": \"string\" },"
- "\"studio\": { \"$ref\": \"Array.String\" },"
- "\"mpaa\": { \"type\": \"string\" },"
- "\"cast\": { \"$ref\": \"Video.Cast\" },"
- "\"episode\": { \"type\": \"integer\" },"
- "\"watchedepisodes\": { \"type\": \"integer\" },"
- "\"imdbnumber\": { \"type\": \"string\" },"
- "\"premiered\": { \"type\": \"string\" },"
- "\"votes\": { \"type\": \"string\" },"
- "\"episodeguide\": { \"type\": \"string\" },"
- "\"season\": { \"type\": \"integer\" },"
- "\"tag\": { \"$ref\": \"Array.String\" }"
- "}"
- "}",
- "\"Video.Details.Season\": {"
- "\"extends\": \"Video.Details.Base\","
- "\"properties\": {"
- "\"season\": { \"type\": \"integer\", \"required\": true },"
- "\"showtitle\": { \"type\": \"string\" },"
- "\"episode\": { \"type\": \"integer\" },"
- "\"watchedepisodes\": { \"type\": \"integer\" },"
- "\"tvshowid\": { \"$ref\": \"Library.Id\" }"
- "}"
- "}",
- "\"Video.Details.Episode\": {"
- "\"extends\": \"Video.Details.File\","
- "\"properties\": {"
- "\"episodeid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"votes\": { \"type\": \"string\" },"
- "\"rating\": { \"type\": \"number\" },"
- "\"writer\": { \"$ref\": \"Array.String\" },"
- "\"firstaired\": { \"type\": \"string\" },"
- "\"productioncode\": { \"type\": \"string\" },"
- "\"season\": { \"type\": \"integer\" },"
- "\"episode\": { \"type\": \"integer\" },"
- "\"uniqueid\": { \"type\": \"object\", \"additionalProperties\": { \"type\": \"string\", \"minLength\": 1 } },"
- "\"originaltitle\": { \"type\": \"string\" },"
- "\"showtitle\": { \"type\": \"string\" },"
- "\"cast\": { \"$ref\": \"Video.Cast\" },"
- "\"tvshowid\": { \"$ref\": \"Library.Id\" }"
- "}"
- "}",
- "\"Video.Details.MusicVideo\": {"
- "\"extends\": \"Video.Details.File\","
- "\"properties\": {"
- "\"musicvideoid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"studio\": { \"$ref\": \"Array.String\" },"
- "\"year\": { \"type\": \"integer\" },"
- "\"album\": { \"type\": \"string\" },"
- "\"artist\": { \"$ref\": \"Array.String\" },"
- "\"genre\": { \"$ref\": \"Array.String\" },"
- "\"track\": { \"type\": \"integer\" },"
- "\"tag\": { \"$ref\": \"Array.String\" }"
- "}"
- "}",
- "\"PVR.Property.Name\": {"
- "\"type\": \"string\","
- "\"enum\": [ \"available\", \"recording\", \"scanning\" ]"
- "}",
- "\"PVR.Property.Value\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"available\": { \"type\": \"boolean\" },"
- "\"recording\": { \"type\": \"boolean\" },"
- "\"scanning\": { \"type\": \"boolean\" }"
- "}"
- "}",
- "\"PVR.ChannelGroup.Id\": {"
- "\"type\": ["
- "{ \"$ref\": \"Library.Id\", \"required\": true },"
- "{ \"type\": \"string\", \"enum\": [ \"alltv\", \"allradio\" ], \"required\": true }"
- "]"
- "}",
- "\"PVR.Fields.Channel\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"enum\": [ \"thumbnail\", \"channeltype\", \"hidden\", \"locked\", \"channel\", \"lastplayed\" ]"
- "}"
- "}",
- "\"PVR.Details.Channel\": {"
- "\"extends\": \"Item.Details.Base\","
- "\"properties\": {"
- "\"channelid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"channel\": { \"type\": \"string\" },"
- "\"channeltype\": { \"$ref\": \"PVR.Channel.Type\" },"
- "\"hidden\": { \"type\": \"boolean\" },"
- "\"locked\": { \"type\": \"boolean\" },"
- "\"thumbnail\": { \"type\": \"string\" },"
- "\"lastplayed\": { \"type\": \"string\" }"
- "}"
- "}",
- "\"PVR.Details.ChannelGroup\": {"
- "\"extends\": \"Item.Details.Base\","
- "\"properties\": {"
- "\"channelgroupid\": { \"$ref\": \"Library.Id\", \"required\": true },"
- "\"channeltype\": { \"$ref\": \"PVR.Channel.Type\", \"required\": true }"
- "}"
- "}",
- "\"PVR.Details.ChannelGroup.Extended\": {"
- "\"extends\": \"PVR.Details.ChannelGroup\","
- "\"properties\": {"
- "\"limits\": { \"$ref\": \"List.LimitsReturned\", \"required\": true },"
- "\"channels\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"PVR.Details.Channel\" }"
- "}"
- "}"
- "}",
- "\"Profiles.Password\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"value\": { \"type\": \"string\", \"required\": true, \"description\": \"Password\" },"
- "\"encryption\": { \"type\": \"string\", \"description\": \"Password Encryption\", \"default\": \"md5\", \"enum\": [ \"none\", \"md5\" ] }"
- "}"
- "}",
- "\"Profiles.Fields.Profile\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\", \"enum\": [ \"thumbnail\", \"lockmode\" ] }"
- "}",
- "\"Profiles.Details.Profile\": {"
- "\"extends\": \"Item.Details.Base\","
- "\"properties\": {"
- "\"thumbnail\": { \"type\": \"string\" },"
- "\"lockmode\": { \"type\": \"integer\" }"
- "}"
- "}",
- "\"List.Filter.Rule\": {"
- "\"type\": \"object\","
- "\"properties\": {"
- "\"operator\": { \"$ref\": \"List.Filter.Operators\", \"required\": true },"
- "\"value\": {"
- "\"type\": ["
- "{ \"type\": \"string\", \"required\": true },"
- "{ \"type\": \"array\", \"items\": { \"type\": \"string\" }, \"required\": true }"
- "], \"required\": true"
- "}"
- "}"
- "}",
- "\"List.Filter.Rule.Movies\": {"
- "\"extends\": \"List.Filter.Rule\","
- "\"properties\": {"
- "\"field\": { \"$ref\": \"List.Filter.Fields.Movies\", \"required\": true }"
- "}"
- "}",
- "\"List.Filter.Rule.TVShows\": {"
- "\"extends\": \"List.Filter.Rule\","
- "\"properties\": {"
- "\"field\": { \"$ref\": \"List.Filter.Fields.TVShows\", \"required\": true }"
- "}"
- "}",
- "\"List.Filter.Rule.Episodes\": {"
- "\"extends\": \"List.Filter.Rule\","
- "\"properties\": {"
- "\"field\": { \"$ref\": \"List.Filter.Fields.Episodes\", \"required\": true }"
- "}"
- "}",
- "\"List.Filter.Rule.MusicVideos\": {"
- "\"extends\": \"List.Filter.Rule\","
- "\"properties\": {"
- "\"field\": { \"$ref\": \"List.Filter.Fields.MusicVideos\", \"required\": true }"
- "}"
- "}",
- "\"List.Filter.Rule.Artists\": {"
- "\"extends\": \"List.Filter.Rule\","
- "\"properties\": {"
- "\"field\": { \"$ref\": \"List.Filter.Fields.Artists\", \"required\": true }"
- "}"
- "}",
- "\"List.Filter.Rule.Albums\": {"
- "\"extends\": \"List.Filter.Rule\","
- "\"properties\": {"
- "\"field\": { \"$ref\": \"List.Filter.Fields.Albums\", \"required\": true }"
- "}"
- "}",
- "\"List.Filter.Rule.Songs\": {"
- "\"extends\": \"List.Filter.Rule\","
- "\"properties\": {"
- "\"field\": { \"$ref\": \"List.Filter.Fields.Songs\", \"required\": true }"
- "}"
- "}",
- "\"List.Filter.Movies\": {"
- "\"type\": ["
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"and\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Movies\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"or\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Movies\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"$ref\": \"List.Filter.Rule.Movies\" }"
- "]"
- "}",
- "\"List.Filter.TVShows\": {"
- "\"type\": ["
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"and\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.TVShows\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"or\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.TVShows\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"$ref\": \"List.Filter.Rule.TVShows\" }"
- "]"
- "}",
- "\"List.Filter.Episodes\": {"
- "\"type\": ["
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"and\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Episodes\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"or\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Episodes\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"$ref\": \"List.Filter.Rule.Episodes\" }"
- "]"
- "}",
- "\"List.Filter.MusicVideos\": {"
- "\"type\": ["
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"and\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.MusicVideos\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"or\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.MusicVideos\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"$ref\": \"List.Filter.Rule.MusicVideos\" }"
- "]"
- "}",
- "\"List.Filter.Artists\": {"
- "\"type\": ["
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"and\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Artists\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"or\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Artists\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"$ref\": \"List.Filter.Rule.Artists\" }"
- "]"
- "}",
- "\"List.Filter.Albums\": {"
- "\"type\": ["
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"and\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Albums\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"or\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Albums\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"$ref\": \"List.Filter.Rule.Albums\" }"
- "]"
- "}",
- "\"List.Filter.Songs\": {"
- "\"type\": ["
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"and\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Songs\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"type\": \"object\","
- "\"properties\": {"
- "\"or\": { \"type\": \"array\","
- "\"items\": { \"$ref\": \"List.Filter.Songs\" },"
- "\"minItems\": 1, \"required\": true"
- "}"
- "}"
- "},"
- "{ \"$ref\": \"List.Filter.Rule.Songs\" }"
- "]"
- "}",
- "\"List.Item.Base\": {"
- "\"extends\": [ \"Video.Details.File\", \"Audio.Details.Media\" ],"
- "\"properties\": {"
- "\"id\": { \"$ref\": \"Library.Id\" },"
- "\"type\": { \"type\": \"string\", \"enum\": [ \"unknown\", \"movie\", \"episode\", \"musicvideo\", \"song\", \"picture\", \"channel\" ] },"
- "\"albumartist\": { \"$ref\": \"Array.String\" },"
- "\"album\": { \"type\": \"string\" },"
- "\"track\": { \"type\": \"integer\" },"
- "\"duration\": { \"type\": \"integer\" },"
- "\"comment\": { \"type\": \"string\" },"
- "\"lyrics\": { \"type\": \"string\" },"
- "\"musicbrainztrackid\": { \"type\": \"string\" },"
- "\"musicbrainzartistid\": { \"type\": \"string\" },"
- "\"trailer\": { \"type\": \"string\" },"
- "\"tagline\": { \"type\": \"string\" },"
- "\"plotoutline\": { \"type\": \"string\" },"
- "\"originaltitle\": { \"type\": \"string\" },"
- "\"writer\": { \"$ref\": \"Array.String\" },"
- "\"studio\": { \"$ref\": \"Array.String\" },"
- "\"mpaa\": { \"type\": \"string\" },"
- "\"cast\": { \"$ref\": \"Video.Cast\" },"
- "\"country\": { \"$ref\": \"Array.String\" },"
- "\"imdbnumber\": { \"type\": \"string\" },"
- "\"premiered\": { \"type\": \"string\" },"
- "\"productioncode\": { \"type\": \"string\" },"
- "\"set\": { \"type\": \"string\" },"
- "\"showlink\": { \"$ref\": \"Array.String\" },"
- "\"top250\": { \"type\": \"integer\" },"
- "\"votes\": { \"type\": \"string\" },"
- "\"firstaired\": { \"type\": \"string\" },"
- "\"season\": { \"type\": \"integer\" },"
- "\"episode\": { \"type\": \"integer\" },"
- "\"showtitle\": { \"type\": \"string\" },"
- "\"albumid\": { \"$ref\": \"Library.Id\" },"
- "\"setid\": { \"$ref\": \"Library.Id\" },"
- "\"tvshowid\": { \"$ref\": \"Library.Id\" },"
- "\"watchedepisodes\": { \"type\": \"integer\" },"
- "\"disc\": { \"type\": \"integer\" },"
- "\"tag\": { \"$ref\": \"Array.String\" },"
- "\"albumartistid\": { \"$ref\": \"Array.Integer\" },"
- "\"uniqueid\": { \"type\": \"object\", \"additionalProperties\": { \"type\": \"string\", \"minLength\": 1 } },"
- "\"episodeguide\": { \"type\": \"string\" },"
- "\"sorttitle\": { \"type\": \"string\" },"
- "\"description\": { \"type\": \"string\" },"
- "\"theme\": { \"$ref\": \"Array.String\" },"
- "\"mood\": { \"$ref\": \"Array.String\" },"
- "\"style\": { \"$ref\": \"Array.String\" },"
- "\"albumlabel\": { \"type\": \"string\" }"
- "}"
- "}",
- "\"List.Fields.All\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"enum\": [ \"title\", \"artist\", \"albumartist\", \"genre\", \"year\", \"rating\","
- "\"album\", \"track\", \"duration\", \"comment\", \"lyrics\", \"musicbrainztrackid\","
- "\"musicbrainzartistid\", \"musicbrainzalbumid\", \"musicbrainzalbumartistid\","
- "\"playcount\", \"fanart\", \"director\", \"trailer\", \"tagline\", \"plot\","
- "\"plotoutline\", \"originaltitle\", \"lastplayed\", \"writer\", \"studio\","
- "\"mpaa\", \"cast\", \"country\", \"imdbnumber\", \"premiered\", \"productioncode\","
- "\"runtime\", \"set\", \"showlink\", \"streamdetails\", \"top250\", \"votes\","
- "\"firstaired\", \"season\", \"episode\", \"showtitle\", \"thumbnail\", \"file\","
- "\"resume\", \"artistid\", \"albumid\", \"tvshowid\", \"setid\", \"watchedepisodes\","
- "\"disc\", \"tag\", \"art\", \"genreid\", \"displayartist\", \"albumartistid\","
- "\"description\", \"theme\", \"mood\", \"style\", \"albumlabel\", \"sorttitle\","
- "\"episodeguide\", \"uniqueid\", \"dateadded\", \"channel\", \"channeltype\", \"hidden\","
- "\"locked\", \"channelnumber\", \"starttime\", \"endtime\" ]"
- "}"
- "}",
- "\"List.Item.All\": {"
- "\"extends\": \"List.Item.Base\","
- "\"properties\": {"
- "\"channel\": { \"type\": \"string\" },"
- "\"channeltype\": { \"$ref\": \"PVR.Channel.Type\" },"
- "\"hidden\": { \"type\": \"boolean\" },"
- "\"locked\": { \"type\": \"boolean\" },"
- "\"channelnumber\": { \"type\": \"integer\" },"
- "\"starttime\": { \"type\": \"string\" },"
- "\"endtime\": { \"type\": \"string\" }"
- "}"
- "}",
- "\"List.Fields.Files\": {"
- "\"extends\": \"Item.Fields.Base\","
- "\"items\": { \"type\": \"string\","
- "\"enum\": [ \"title\", \"artist\", \"albumartist\", \"genre\", \"year\", \"rating\","
- "\"album\", \"track\", \"duration\", \"comment\", \"lyrics\", \"musicbrainztrackid\","
- "\"musicbrainzartistid\", \"musicbrainzalbumid\", \"musicbrainzalbumartistid\","
- "\"playcount\", \"fanart\", \"director\", \"trailer\", \"tagline\", \"plot\","
- "\"plotoutline\", \"originaltitle\", \"lastplayed\", \"writer\", \"studio\","
- "\"mpaa\", \"cast\", \"country\", \"imdbnumber\", \"premiered\", \"productioncode\","
- "\"runtime\", \"set\", \"showlink\", \"streamdetails\", \"top250\", \"votes\","
- "\"firstaired\", \"season\", \"episode\", \"showtitle\", \"thumbnail\", \"file\","
- "\"resume\", \"artistid\", \"albumid\", \"tvshowid\", \"setid\", \"watchedepisodes\","
- "\"disc\", \"tag\", \"art\", \"genreid\", \"displayartist\", \"albumartistid\","
- "\"description\", \"theme\", \"mood\", \"style\", \"albumlabel\", \"sorttitle\","
- "\"episodeguide\", \"uniqueid\", \"dateadded\", \"size\", \"lastmodified\", \"mimetype\" ]"
- "}"
- "}",
- "\"List.Item.File\": {"
- "\"extends\": \"List.Item.Base\","
- "\"properties\": {"
- "\"file\": { \"type\": \"string\", \"required\": true },"
- "\"filetype\": { \"type\": \"string\", \"enum\": [ \"file\", \"directory\" ], \"required\": true },"
- "\"size\": { \"type\": \"integer\", \"description\": \"Size of the file in bytes\" },"
- "\"lastmodified\": { \"type\": \"string\" },"
- "\"mimetype\": { \"type\": \"string\" }"
- "}"
- "}",
- "\"List.Items.Sources\": {"
- "\"type\": \"array\","
- "\"items\": {"
- "\"extends\": \"Item.Details.Base\","
- "\"properties\": {"
- "\"fileā¦
Large files files are truncated, but you can click here to view the full file