Frodo Anime Mod
#1
OK so here is the update for Frodo support. BTW the instructions in the next few posts can allow you to figure out what to fix for future releases as I literally followed my own guide from over a year ago to update these changes for Frodo.

NOTE THAT THIS IS ONLY FOR FANART view. You will need to implement the changes yourself if you want it for a different one.

Features:
Studio listing for tv shows on the main navigation directly under the title of the show.
Show title made into a button that will play the file pv.mkv when pressed. (for preview support)
Show title will play theme.mp3 when highlighted.
When playing theme.mp3 you can see a slideshow fanart display of the relating show full screen by pressing tab.

I have really enjoyed these changes personally and I hope you all will as well.

The files will be linked to this post and instructions will appear in the posts below if you want to read how and what I edited.

Download here: http://www.ibisgaming.com/media/anime_mod2.zip

CommonVideoLibraryViews.xml

FIND:
Code:
<control type="label">
                <posx>951</posx>
                <posy>25</posy>
                <width>320</width>
                <height>81</height>
                <font>Heading-M</font>
                <textcolor>white</textcolor>
                <shadowcolor>black</shadowcolor>
                <align>center</align>
                <aligny>center</aligny>
                <label>$INFO[ListItem.TVShowTitle]</label>
                <scroll>true</scroll>
                <visible>IsEmpty(Control.GetLabel(77021))</visible>
                <visible>container.content(seasons) + Control.IsVisible(539)</visible>
                <visible>Skin.HasSetting(TV Poster)</visible>
            </control>

After add:
Code:
<control type="label">
                <description>Studio label</description>
                <posx>951</posx>
                <posy>95</posy>
                <width>60</width>
                <height>16</height>
                <font>font64</font>
                <textcolor>grey</textcolor>
                <align>left</align>
                <label>$LOCALIZE[572]:</label>
                <visible>container.content(tvshows)</visible>
                <visible>Control.IsVisible(537)</visible>
                <visible>Skin.HasSetting(TV Poster)</visible>
                <visible>!IsEmpty(ListItem.foldername)</visible>
                <animation effect="fade" time="200">WindowClose</animation>
            </control>
            
            <control type="label">
                <description>Studio value</description>
                <posx>1271</posx>
                <posy>95</posy>
                <width>135</width>
                <height>16</height>
                <font>font64</font>
                <textcolor>white</textcolor>
                <shadowcolor>black</shadowcolor>
                <align>right</align>
                <label fallback="416">$INFO[ListItem.Studio]</label>
                <scroll>true</scroll>
                <visible>container.content(tvshows)</visible>
                <visible>Control.IsVisible(537)</visible>
                <visible>Skin.HasSetting(TV Poster)</visible>
                <visible>!IsEmpty(ListItem.foldername)</visible>
                <animation effect="fade" time="200">WindowClose</animation>
            </control>

FIND:
Code:
IsEmpty(Control.GetLabel(77020))

REPLACE:
Code:
<control type="label">
                <posx>951</posx>
                <posy>25</posy>
                <width>320</width>
                <height>81</height>
                <font>Heading-M</font>
                <textcolor>white</textcolor>
                <shadowcolor>black</shadowcolor>
                <align>center</align>
                <aligny>center</aligny>
                <label>$INFO[ListItem.label]</label>
                <scroll>true</scroll>
                <visible>IsEmpty(Control.GetLabel(77020))</visible>
                <visible>container.content(tvshows) + Control.IsVisible(537)</visible>
                <visible>Skin.HasSetting(TV Poster)</visible>
            </control>

WITH:
Code:
<control type="button" id="1337">
                <description>Default Version, plays theme.mp3 on selection</description>
                <visible>!Player.Playing | [SubString(Player.Filenameandpath,theme.mp3) + !StringCompare(Player.Folderpath,ListItem.Path)]</visible>
                <visible>!Player.Playing | SubString(Player.Filenameandpath,theme.mp3)</visible>
                <posx>951</posx>
                <posy>25</posy>
                <width>320</width>
                <height>50</height>
                <font>Heading-M</font>
                <textcolor>white</textcolor>
                <shadowcolor>black</shadowcolor>
                <align>center</align>
                <aligny>center</aligny>
                <label>$INFO[ListItem.label]</label>
                <scroll>true</scroll>
                <visible>IsEmpty(Control.GetLabel(77020))</visible>
                <visible>container.content(tvshows) + Control.IsVisible(537)</visible>
                <visible>Skin.HasSetting(TV Poster)</visible>
                <animation effect="fade" time="200">WindowClose</animation>
                <colordiffuse>ddffffff</colordiffuse>
                <onclick>PlayMedia($INFO[ListItem.Path]/pv.mkv)</onclick>
                <onfocus>XBMC.RunScript(script.TvTunes,backend=True&amp;loop=True)</onfocus>
                <onfocus>PlayMedia($INFO[ListItem.Path]/theme.mp3,1)</onfocus>
                <onleft>2</onleft>
                <onright>2</onright>
                <onup>2</onup>
                <ondown>537</ondown>
            </control>
            
            <control type="button" id="1337">
                <description>If content is already playing, disable theme.mp3 start unless it is a different theme</description>
                <visible>[Player.Playing + !SubString(Player.Filenameandpath,theme.mp3)] | [Player.Playing + SubString(Player.Filenameandpath,theme.mp3) + StringCompare(Player.Folderpath,ListItem.Path)]</visible>
                <posx>951</posx>
                <posy>25</posy>
                <width>320</width>
                <height>50</height>
                <font>Heading-M</font>
                <textcolor>white</textcolor>
                <shadowcolor>black</shadowcolor>
                <align>center</align>
                <aligny>center</aligny>
                <label>$INFO[ListItem.label]</label>
                <scroll>true</scroll>
                <visible>IsEmpty(Control.GetLabel(77020))</visible>
                <visible>container.content(tvshows) + Control.IsVisible(537)</visible>
                <visible>Skin.HasSetting(TV Poster)</visible>
                <animation effect="fade" time="200">WindowClose</animation>
                <colordiffuse>ddffffff</colordiffuse>
                <onclick>PlayMedia($INFO[ListItem.Path]/pv.mkv)</onclick>
                <onfocus>XBMC.RunScript(script.TvTunes,backend=True&amp;loop=True)</onfocus>
                <onleft>2</onleft>
                <onright>2</onright>
                <onup>2</onup>
                <ondown>537</ondown>
            </control>

FIND:
Code:
id="537"

REPLACE:
Code:
<onup>2</onup>

WITH:
Code:
<onup>1337</onup>

Now for the fan art parts! This first file will display images from extrafanart instead of a visualization.

Replace MusicOverlay.xml with the new one attached in the fist post, the code is to large to post

Open MusicVisualisation.xml

FIND:
Code:
<controls>

After Add:
Code:
<control type="multiimage">
                <description>Ronie's dirty hack for showing fanart slideshow instead of visualisation :)</description>
                <posx>0</posx>
                <posy>0</posy>
                <width>1280</width>
                <height>720</height>
                <timeperimage>8000</timeperimage>
                <fadetime>2000</fadetime>
                <imagepath fallback="menu-background.png" background="true">$INFO[Player.Folderpath]/extrafanart/</imagepath>
                <aspectratio>scale</aspectratio>
                <visible>Player.HasAudio</visible>
                <include>Slideshow Ken Burns Toggle</include>
            </control>

            <control type="multiimage">
                <description>Ronie's dirty hack for showing fanart slideshow instead of visualisation :)</description>
                <posx>0</posx>
                <posy>0</posy>
                <width>1280</width>
                <height>720</height>
                <timeperimage>8000</timeperimage>
                <fadetime>750</fadetime>
                <imagepath fallback="menu-background.png" background="true">$INFO[Player.Folderpath]/extrafanart/</imagepath>
                <aspectratio>scale</aspectratio>
                <visible>Player.HasAudio</visible>
                <include>Slideshow Ken Burns Toggle</include>
            </control>

Your all done now!
Reply

Logout Mark Read Team Forum Stats Members Help
Frodo Anime Mod0