Some New Features
#4
Ok now time for the theme.mp3 support and the special fan art mode:

Open Common Video Library Views.xml

Find:
Code:
<onclick>PlayMedia($INFO[ListItem.Path]/pv.mkv)</onclick>

Then below add:
Code:
<onfocus>XBMC.RunScript(script.TvTunes,backend=True&amp;loop=True)</onfocus>
<onfocus>PlayMedia($INFO[ListItem.Path]/theme.mp3,1)</onfocus>

Save and close.

Then open includes.xml

Find:
Code:
<visible>!SubString(Window(10025).Property(TvTunesIsAlive),True)</visible>

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

Save and close.

Now for the fan art parts! This first file will display images from extrafanart until the screensaver activates. Open MusicOverlay.xml

Find:
Code:
<controls>

Then below add:
Code:
<control type="group">
            <visible>SubString(Player.Filenameandpath,theme.mp3)</visible>
            
            <control type="multiimage">
                <description>Ronie's dirty hack for showing fanart slideshow instead of visualisation :)</description>
                <posx>0</posx>
                <posy>0</posy>
                <width>720</width>
                <height>576</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>720</width>
                <height>576</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>

            </control>

Then find:
Code:
<control type="group">
            <visible>!SubString(Window(10025).Property(TvTunesIsAlive),True)</visible>

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

Then find:
Code:
<control type="group">

            <posx>0</posx>
            <posy>506</posy>
            <visible>!SubString(Window(10025).Property(TvTunesIsAlive),True)</visible>

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

Save and close.

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. Also keep in mind that enabling visualizations will BREAK tvtunes causing it to loop. This fact has caused me to think that perhaps the entire way that tvtunes even works should be ditched as it appears that more features and playback options are available by implementing playback from within the skin directly and just using tvtunes to get the music (which I do not even do b/c it is useless for anime).

Open MusicVisualisation.xml

Find:
Code:
<controls>

Below that add:
Code:
<control type="group">
            <visible>SubString(Player.Filenameandpath,theme.mp3)</visible>
            
            <control type="multiimage">
                <description>Ronie's dirty hack for showing fanart slideshow instead of visualisation :)</description>
                <posx>0</posx>
                <posy>0</posy>
                <width>720</width>
                <height>576</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>720</width>
                <height>576</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>

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


Messages In This Thread
Some New Features - by ZERO &lt;ibis&gt; - 2011-04-28, 00:26
[No subject] - by ZERO &lt;ibis&gt; - 2011-04-28, 00:27
[No subject] - by ZERO &lt;ibis&gt; - 2011-04-28, 00:29
[No subject] - by ZERO &lt;ibis&gt; - 2011-04-28, 00:55
[No subject] - by Sharpe - 2011-04-28, 01:48
[No subject] - by ZERO &lt;ibis&gt; - 2011-04-28, 02:26
[No subject] - by ZERO &lt;ibis&gt; - 2011-04-28, 03:13
[No subject] - by Sharpe - 2011-04-28, 03:46
[No subject] - by ZERO &lt;ibis&gt; - 2011-04-28, 04:45
[No subject] - by kiboy6 - 2011-05-02, 11:40
[No subject] - by ZERO &lt;ibis&gt; - 2011-05-05, 09:24
[No subject] - by Sharpe - 2011-05-06, 00:14
[No subject] - by ZERO &lt;ibis&gt; - 2011-10-30, 06:56
Logout Mark Read Team Forum Stats Members Help
Some New Features0