Adding Screenshots to your Add-on
#1
Photo 
Kodi Krypton has a new feature that allows Add-ons to contain preview screenshots.

It's pretty cool as you can see below on the Add-on screen:

Image

Its pretty easy to add this to your Add-on:

Just add this to your addon.xml

Code:
<assets>
        <icon>icon.png</icon>
        <fanart>fanart.jpg</fanart>
        <screenshot>resources/screenshot-01.jpg</screenshot>
        <screenshot>resources/screenshot-02.jpg</screenshot>
        <screenshot>resources/screenshot-03.jpg</screenshot>
</assets>
<news>Initial Release</news>

And copy the screenshots to the resources folder.

NOTE: It's best to keep the icon and fanart in the root for backwards compatibility.

Kodi shows 3 screenshots on the screen but I suggest up to 9 (especially for skins) so the user can browse using the right arrow.

Screenshots should be used for all visual Add-ons I think, not just skins.

As an added bonus, you can use the "news" tag to inform the user of the latest update to your Add-on.

Go go go! Big Grin
Reply
#2
If we have this code in Kodi 16 will it just be ignored or will it throw an error for unknown xml?
Reply
#3
Yes it will be ignored, the code above is totally backwards compatible with all versions of Kodi.
Reply
#4
(2016-11-17, 11:35)docwra Wrote: Yes it will be ignored, the code above is totally backwards compatible with all versions of Kodi.

Awesome, thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Adding Screenshots to your Add-on1