![]() The main form of interacting with Kodi will be parsing what Kodi feeds you in terms of arguments to your plugin to find out what "folder" the user wants to retrieve, and then returning items to Kodi as you construct them. There is a schema available here to check you have your XML correctly defined. The element is a whitespace separated list of image, video, audio, executable. The library attribute provides the file of the python plugin that contains the main entry point of your plugin. The layout of the XML describing this extension point is as follows: A plugin source extends Kodi via the extension point. ![]() See here for more information on addon.xml, including how you add descriptions to your addon for users. You may then return a different listing of media content and folders as required.įor Kodi to know what to do with your add-on, we require your plugin, and an addon.xml file which describes your plugin source. When the user clicks on a folder that you provide, your plugin will be called again with information on what folder item was clicked on given in the arguments. ![]() When the user clicks on a media item it'll start playing straight away, just like any other media. You may return either media items directly (for immediate playback) or may return folder items that contain links back into your plugin source. ![]() When the user clicks on your plugin source, your python plugin gets called, allowing you to fetch a listing of media and return it for Kodi to display.
0 Comments
Leave a Reply. |