Transparency! - FAQ / HowTo

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
CrickDo666 Offline
Junior Member
Posts: 28
Joined: May 2010
Reputation: 0
Location: California
Post: #81
hey all i have a question about this code

<item id="19">
<label>YouTube</label>
<onclick>XBMC.RunScript(/home/xbmc/.xbmc/scripts/YouTube/default.py)</onclick>
<icon>special://skin/images/backgrounds/YouTube.jpg</icon>
<thumb></thumb>
<visible></visible>
</item>

if the script im trying to launch is E:/Apps/XBMC/Skin/Transparency!/Scripts/YouTube/default.py

or should the path be

<onclick>XBMC.RunScript(e:/Apps/XBMC/Skin/Transparency!/Scripts/YouTube/default.py)</onclick>

and can i hide this script by putting it ohh i dont know in E:/YouTube/default.py
and making the path

<onclick>XBMC.RunScript(e:/YouTube/default.py)</onclick>

so that it doesnt show up as a button and as a script in the scripts view (reduce redundancy)
find
ronie Online
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #82
if you've stored the script in a subfolder of Transparency!, you can use:
<onclick>RunScript(special://skin/Scripts/YouTube/default.py)</onclick>


not sure if i understand the part about hiding it...
if you hide it, how would you run the script ?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
CrickDo666 Offline
Junior Member
Posts: 28
Joined: May 2010
Reputation: 0
Location: California
Post: #83
well i just mean to move it out of the scripts folder and point the shortcut there so that it no longer appears in the scripts view (since it will have its own button) but i think you answered my question so will this work

<onclick>RunScript(special://skin/YouTube/default.py)</onclick>

if the path is E:/Apps/XBMC/Skin/Transparency!/YouTube/default.py
find
ronie Online
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #84
yep, that should be it. :-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
CrickDo666 Offline
Junior Member
Posts: 28
Joined: May 2010
Reputation: 0
Location: California
Post: #85
That works awesome! thanx again ronie, you da man!
(This post was last modified: 2010-06-03 23:58 by CrickDo666.)
find
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #86
I had this question asked:

ValiantXI Wrote:Don't know if this has already been asked or address, was wondering on the now playing for music when you have use fanart instead of visualization marked, if the fanart could be used as a slideshow if you had multiple fanarts for the artist.

They said T! supports it (FAQ #23). Looking at T! I don't see how you have this done?

PHP Code:
<control type="multiimage">
            <
description>fallback texture if no fanart is available</description>
            <
posx>0</posx>
            <
posy>0</posy>
            <
width>1280</width>
            <
height>720</height>
            <
timeperimage>5000</timeperimage>
            <
randomize>true</randomize>
            <
fadetime>2000</fadetime>
            <
imagepath fallback="special://skin/images/backgrounds/background-music.jpg">$INFO[Skin.String(Custom_Back_Music_Folder)]</imagepath>
            <
aspectratio>scale</aspectratio>
            <include 
condition="Skin.HasSetting(AnimateBackgrounds)">backgroundanimation</include>
            <
visible>Player.HasAudio + [Skin.HasSetting(FanartNoVisualisation) | Skin.HasSetting(FanartSlideshowNoVisualisation) | Skin.HasSetting(CDWallNoVisualisation)] + IsEmpty(MusicPlayer.Property(Fanart_Image))</visible>
        </
control

This seems to be the only mutiimage block but if I read the visible right it will only show if IsEmpty(MusicPlayer.Property(Fanart_Image)) returns true?

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find
ronie Online
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #87
you can find the code in Includes_Workaround.xml:

Code:
<include name="fanartslideshow-musicvisualisation">
    <control type="multiimage">
        <description>dirty hack for showing fanart slideshow instead of visualisation</description>
        <posx>0</posx>
        <posy>0</posy>
        <width>1280</width>
        <height>720</height>
        <imagepath background="true">$INFO[Player.FolderPath,,../extrafanart/]</imagepath>
        <aspectratio>scale</aspectratio>
        <timeperimage>5000</timeperimage>
        <randomize>true</randomize>
        <fadetime>750</fadetime>
        <include condition="!Skin.HasSetting(FanartSlideshowAnimation)">backgroundanimation2</include>
        <include>VisibleFadeEffect</include>
        <visible>Player.HasAudio + Skin.HasSetting(FanartSlideshowNoVisualisation)</visible>
    </control>
</include>

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #88
Thx as always...

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find
[vEX] Offline
Junior Member
Posts: 15
Joined: Feb 2010
Reputation: 0
Post: #89
Is it possible to have the fanart animated (zoomed in/out and moving around) like with the background image for just viewing the different categories?

HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 4x2048MB PC6400 | Gainward GeForce G210 | Arch Linux (64-bit/x86_64) | xbmc-git
find
ronie Online
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #90
[vEX];552402 Wrote:Is it possible to have the fanart animated (zoomed in/out and moving around) like with the background image for just viewing the different categories?

so not on the home screen?

if so, In Home.xml remove this line (2x):
Code:
<include condition="Skin.HasSetting(AnimateBackgrounds)">backgroundanimation</include>

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
Thread Closed