If changed, the info file will be fetched. īefore fetching the full info file, Kodi will fetch the "checksum" and compare it to the previously fetched one. Note: Kodi v15 and older do not support pre-gzipped files and must specify the attribute compressed="true" to request gzip content encoding.Ī text file that identifies the content of. If the server for some reason does not support gzip encoding, it may be pre-gzipped, in which case it must have a. When fetching the file, Kodi will request a gzip encoded response. Note: minversion and maxversion where introduced in Kodi Matrix (v19). maxversion: the maximum kodi version that supports this directory.minversion: the minimum kodi version that supports this directory.The dir element wraps all the other repository information elements such as info, checksum, datadir or hashes. Such definition was supported until Kodi Nexus (v20): There's also another, simpler way to define a repository by adding all the dir items in the root of the extension element. In the example above, the first directory will only be served to Kodi Leia while the second will only be served to the Matrix version of Kodi. This can be useful to provide different directories depending on the kodi version as exemplified below: You can have multiple dirs defined in the extension point. The dir block wraps the main repository directory information. The repository addon extends the extension point, so in addition to the general XML structure, you'll need an 'extension' block as follows: In order for you to browse one in Kodi, you'll need to create an add-on and install it. Repositories are distributed just like any other add-on. This file merely encapsulates the other addon.xml files in an tag. This file is named addons.xml - it can be placed external to the main repository of add-on files if you wish. Kodi expects to fetch a master xml file that contains the information for each add-on inside the repo. x.y.z is the addon's version, the same should be listed in its version attribute.addon.id should be the same as the addon's id, which is expected to be unique.In addition, each add-on directory should contain icon.png, fanart.jpg, changelog-x.y.z.txt and all files from the Addon.xml#.3Cassets.3E element. This allows you to share your repository with others. This file contains metadata about all available add-ons. Repositories were created with the idea that they should be simple and easy enough to setup for anyone interested.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |