Anime Mod
#1
Yes the time has come for me to convert my Otaku features into the new version!

These changes could be made to other skins as they are universal in nature however I will detail them below and then list how they were made and also provide the attached files for those interested.

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.

If theme.mp3 is playing via this method then:
No preview overlay will be displayed
Music overlay will show a slideshow of the contents of extrafanart or a black screen if that folder is empty
Any visualization will be replaced with the slideshow mentioned above.

I have really enjoyed these changes personally and I hope you all will as well. Perhaps they could be implemented in a better way into the official skin so that everyone can enjoy it and be able to easily toggle it on and off.

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_Mod.zip
Just replace the files in: C:\Users\[username]\Roaming\XBMC\addons\skin.back-row\720p\
Reply
#2
First we will deal with the modifications to the Common Video Library View:

Open Common Video Library Views.xml

You will be working in the Fanart view section lines 10014-11710 (before modification)

The lines I reference assume you are doing steps in order:

Find:
Code:
IsEmpty(Control.GetLabel(77021))
&
Code:
<label>$INFO[ListItem.TVShowTitle]</label>

OR simply LINE 10369 where below you 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>

Next find:
Code:
IsEmpty(Control.GetLabel(77020))

Line 10323 to 10339 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>     
            <animation effect="fade" time="200">WindowClose</animation>     
        </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>

Then find:
Code:
id="537"
(line 11785)

Replace:
Code:
<onup>2</onup>

With:
Code:
<onup>1337</onup>

Save and your done!
Reply
#3
Now I am working on getting the fan art when you play music back as a feature and I have hit a problem.

Before there was a file called MusicOverlay.xml that was used to do this and I simply added some changes to that which allowed me to display the images that I wanted to show. However, this file is now empty and I am at a loss of what to do.

I think it has been moved into the slideshow file but is there an option I need to enable in order to get that to show up then? Huh
Reply
#4
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 Sad
Reply
#5
Now this last file will allow you to continue to see the fan art if your screensaver activates AND you have visualizations enabled for when a screensaver and music are occurring at the same time.

Open MusicVisualisation.xml

Find:
Code:
<controls>

Below 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>

Then find:

Code:
<control type="group">
            <animation delay="3000" effect="fade" time="200">WindowClose</animation>
            <visible>Player.HasAudio</visible>

Below add:

Code:
<visible>!SubString(Player.Filenameandpath,theme.mp3)</visible>

save and close!

That is it, your all done!
Reply

Logout Mark Read Team Forum Stats Members Help
Anime Mod0