Kodi is a free and open-source media player.
The following recipes were tested with Kodi 17.6 (codenamed Krypton) on a Raspberry Pi, running Raspbian Stretch. The default skin is called Estuary, which is very nice indeed. We wished to make only a very few adjustments: but applying those few changes proved to be much more harder than expected, so we resumed our findings in this page.
We modified the XML files which constitute the skin, they are into the /usr/share/kodi/addons/skin.estuary/xml/ directory.
The Estuary skin has a wall viewmode for the videos window which uses portrait-oriented widgets (290×400) with a square thumbnail image (270×270). We prefer instead a bigger, rectangular and landscape-oriented thumbnails, so we have customized the skin in the following way.
Each item in the wall viewmode is created using the InfoWallMovieLayout include, which is defined into the View_54_InfoWall.xml file. Beside that, two containers should be adjusted to accomodate the items; the first one is the main video screen View_500_Wall, the other is the Home's Video section.
The Favourites items are rendered using the InfoWallMusicLayout include, defined into the View_54_InfoWall.xml file. They are accomodated directly into the home screen or into a specific dialog. The InfoWallMusicLayout is used also to display music album thumbnails etc., so you have to check all the screens using it and adjust them as required.
If you want to customize the favourites, edit the following files:
When browsing a directory full of video files, it is not possibile to change the viewmode from the left options menu (e.g. we wished to select the Wall Viewmode). According to this post, this is how it should work “by design”: file browsing does not have such option. Fortunately it is sufficient to add the directory as a video source, click Home ⇒ Video ⇒ Add… and fill the relevant dialog box.
Check if it actually works… How to add a favourite item if there is not a contaxt menu with the Add to favourite item? Example: how to add a favourite to open the Music album view. Edit the $HOME/.kodi/userdata/favourites.xml file, add a line like this:
<favourite name="Album" thumb="/data/album.png"> ActivateWindow(10502,"musicdb://albums/",return) </favourite>