***Updated 2015-10-04***
These views now use the trailer and extra-fanart settings from Advanced Launcher which means not having to put the extra fanart and trailers in the Skin/Extras/Games folder but you can arrange your games library and files any way you choose. The added benefit of not having to copy them back to the skin folder when you update to the latest version of the skin.
Advanced Launcher doesn't save a logo location so I have worked around it using the extra-fanart setting but this is the only location requirement, the logo file must be called
logo.png located in a folder called
Logo in the extra-fanart folder.
Example
Extra-Fanart\Logo\logo.png
Next you need to add some includes to your Includes.xml located under the 1080i folder, these are GamesFlix versions of Kodiflix includes to avoid breaking anything.
Code:
<!--GamesFlix Variables-->
<include name="GamesFlixButtonsValues">
<height>50</height>
<width>501</width>
<textoffsetx>15</textoffsetx>
<aligny>top</aligny>
<font>font14</font>
<textcolor>grey</textcolor>
<focusedcolor>grey</focusedcolor>
<onclick>noop</onclick>
</include>
<include name="GamesFlixShowCaseInfoPanelButtonsValues">
<height>90</height>
<width>501</width>
<textoffsetx>15</textoffsetx>
<aligny>top</aligny>
<font>font14</font>
<textcolor>grey2</textcolor>
<focusedcolor>grey2</focusedcolor>
<texturefocus border="1">separator5.png</texturefocus>
<texturenofocus border="1">separator5.png</texturenofocus>
<onclick>noop</onclick>
</include>
You will need to add each GamesFlix view to your Includes.XML file located under the 1080i folder
Code:
<include file="View_801_GamesFlix.xml" />
<include file="View_802_GamesFlixWide.xml" />
<include file="View_803_GamesFlixSquare.xml" />
You need to add each view to your MyPrograms.XML file located under the 1080i folder.
Code:
<include>GamesFlix</include>
<!-- view id = 801 -->
<include>GamesFlixWide</include>
<!-- view id = 802 -->
<include>GamesFlixSquare</include>
<!-- view id = 803 -->
Then you need to add the view numbers to be able to select them again in the MyPrograms.XML file
Code:
<views>50,501,51,55,500,57,503,592,801,802,803</views>
To enable the switches to choose larger or smaller cases you need to add this to your MyPrograms.XML file
Code:
<control type="radiobutton" id="8011">
<description>Small GamesFlix View</description>
<textwidth>375</textwidth>
<include>ButtonCommonValues</include>
<label>Enable small Thumbs</label>
<onclick>Skin.ToggleSetting(smallgamesflixview)</onclick>
<selected>Skin.HasSetting(smallgamesflixview)</selected>
<visible>Control.IsVisible(801)</visible>
</control>
<control type="radiobutton" id="8012">
<description>Small GamesFlix Wide View</description>
<textwidth>375</textwidth>
<include>ButtonCommonValues</include>
<label>Enable small Thumbs</label>
<onclick>Skin.ToggleSetting(smallgamesflixwideview)</onclick>
<selected>Skin.HasSetting(smallgamesflixwideview)</selected>
<visible>Control.IsVisible(802)</visible>
</control>
<control type="radiobutton" id="8013">
<description>Small GamesFlix View</description>
<textwidth>375</textwidth>
<include>ButtonCommonValues</include>
<label>Enable small Thumbs</label>
<onclick>Skin.ToggleSetting(smallgamesflixsquareview)</onclick>
<selected>Skin.HasSetting(smallgamesflixsquareview)</selected>
<visible>Control.IsVisible(803)</visible>
</control>
<control type="radiobutton" id="8014">
<description>GamesFlix View Full Screen Video Fanart</description>
<textwidth>375</textwidth>
<include>ButtonCommonValues</include>
<label>Full Screen Video Fanart</label>
<onclick>Skin.ToggleSetting(gamesflixvideofanart)</onclick>
<selected>Skin.HasSetting(gamesflixvideofanart)</selected>
<visible>Control.IsVisible(801) | Control.IsVisible(802) | Control.IsVisible(803)</visible>
</control>
<control type="radiobutton" id="8015">
<description>GamesFlix View Auto Play Video Fanart</description>
<textwidth>375</textwidth>
<include>ButtonCommonValues</include>
<label>Video fanart Auto Play</label>
<onclick>Skin.ToggleSetting(gamesflixvideoautoplay)</onclick>
<selected>Skin.HasSetting(gamesflixvideoautoplay)</selected>
<visible>Control.IsVisible(801) | Control.IsVisible(802) | Control.IsVisible(803)</visible>
</control>
Finally I have used some graphics files from Madnox Kodiflix view which you would need to download and save into the Skin folders.
These files are:
views/KodiFlix/fanart_diffuse.png
views/addonwall_select.png
views/other/panel.png
views/other/panel2.png
thumbs/thumb_border_fade.png
I unpacked the texture.xbt file using the
XBMC Texture Tool and then added the Madnox files to the media folder,
1) Unpack the texture.xbt to the Media folder
2) Rename the texture.xbt file to texture.old
3) Copy the files from madnox to the Media folder
Additional steps for Silvo Mod on Isengard 15.1
you need to add the following lines to
custom_1130_Views.xml before the end of the file
Code:
<item>
<label>GamesFlix</label>
<onclick>Container.SetViewMode(801)</onclick>
<visible>[SubString(Container.FolderPath,plugin.program.advanced.launcher)] + !Skin.HasSetting(Disable.GamesflixView)</visible>
</item>
<item>
<label>GamesFlixWide</label>
<onclick>Container.SetViewMode(802)</onclick>
<visible>[SubString(Container.FolderPath,plugin.program.advanced.launcher)] + !Skin.HasSetting(Disable.GamesflixWideView)</visible>
</item>
<item>
<label>GamesFlixSquare</label>
<onclick>Container.SetViewMode(803)</onclick>
<visible>[SubString(Container.FolderPath,plugin.program.advanced.launcher)] + !Skin.HasSetting(Disable.GamesflixSquareView)</visible>
</item>
This will allow you to switch to the view from the side menu.
Then amend the following line in IncludesBackgroundBuilding.xml
From
Code:
<control type="multiimage">
<description>Normal Default Background Image</description>
<include>FullscreenDimensions</include>
<include>AnimatedBackgroundAnimation</include>
<imagepath fallback="$INFO[Skin.String(CustomDefaultBackground)]" background="true">$VAR[GlobalBackgroundVar]</imagepath>
<visible>!Control.IsVisible(701) | Window.IsActive(skinsettings)</visible>
</control>
To
Code:
<control type="multiimage">
<description>Normal Default Background Image</description>
<include>FullscreenDimensions</include>
<include>AnimatedBackgroundAnimation</include>
<imagepath fallback="$INFO[Skin.String(CustomDefaultBackground)]" background="true">$VAR[GlobalBackgroundVar]</imagepath>
<visible>[!Control.IsVisible(801) + !Control.IsVisible(802) + !Control.IsVisible(803) + !Control.IsVisible(701) ] | Window.IsActive(skinsettings)</visible>
</control>
This will remove the fanart background for the GamesFlix views but retain it for other views in Kodi.
Also in IncludesBackgroundBuilding.xml
change
Code:
<control type="videowindow">
<include>FullscreenDimensions</include>
<visible>Player.HasVideo + !Skin.HasSetting(Disable.ShowBackgroundVideo) + !Window.IsVisible(TVChannels) + !Window.IsVisible(RadioChannels) + !Control.IsVisible(701)</visible>
</control>
to
Code:
<control type="videowindow">
<include>FullscreenDimensions</include>
<visible>Player.HasVideo + !Skin.HasSetting(Disable.ShowBackgroundVideo) + !Window.IsVisible(TVChannels) + !Window.IsVisible(RadioChannels) + !Control.IsVisible(701) +!Control.IsVisible(801) + !Control.IsVisible(802) + !Control.IsVisible(803)</visible>
</control>
This stops the trailer video from playing in the background as well as the trailer window.