Kodi Community Forum
Transparency! - FAQ / HowTo - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Transparency! (https://forum.kodi.tv/forumdisplay.php?fid=115)
+----- Thread: Transparency! - FAQ / HowTo (/showthread.php?tid=53547)

Pages: 1 2 3 4 5 6 7


- CrickDo666 - 2010-06-01

right on i got it working good stuff! thanx again for all the help!
and the patience.
it would be nice to get it to remember last visited independently but thats our type always wanting a little more Smile


- mcborzu - 2010-06-01

If having trouble with the <onclick> this is what I do:

Set that folder up as a favorite, press 'c' on the folder and click add to favorites
2. Open up favorites.xml, located in W7 - C:\Users\****\AppData\Roaming\XBMC\userdata
3. You'll see a line like so, in this example I favorited a folder called "flags":
Quote:<favourite name="flags">ActivateWindow(10024,D:\flags\)</favourite>
4. Now take that bolded part and use that as your onclick like so:
<onclick>XBMC.ActivateWindow(10024,D:\flags\)</onclick>

Well looked like you got it, lol


- CrickDo666 - 2010-06-01

ya i got it but its funny you should mention having issues with the onclick because i for the life of me dont know how i fixed this (except maybe ronie's comma is different than mine)


- Ronald Pagan - 2010-06-03

Don't see this anywhere in the documentation but does Transparency! support RSS news feeds in various windows? That would be a nice feature.


- ronie - 2010-06-03

Ronald Pagan Wrote:Don't see this anywhere in the documentation but does Transparency! support RSS news feeds in various windows? That would be a nice feature.

nope, it's not available in T!
would be difficult to find a place for the RSS feed that would work in all views.


- CrickDo666 - 2010-06-03

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)


- ronie - 2010-06-03

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 ?


- CrickDo666 - 2010-06-03

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


- ronie - 2010-06-03

yep, that should be it. :-)


- CrickDo666 - 2010-06-03

That works awesome! thanx again ronie, you da man!


- mcborzu - 2010-06-10

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?


- ronie - 2010-06-10

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>



- mcborzu - 2010-06-11

Thx as always...


- [vEX] - 2010-06-12

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?


- ronie - 2010-06-12

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