Solved Add Discart ( RE problem )
#1
Hello, me again and again, always in the background programming skin, but I still freezes, and I need again your help community.

I added the option for some Discart view, this is what I have doing like codes !

I can not see discart on the display skin, can you help me find the problem? , Thank you very much for your help our


xml view :
PHP Code:
<control type="image">
                    <
right>200</right>
                    <
top>200</top>
                    <
width>250</width>
                    <
height>100</height>
                    <include>
art_Discart</include>
                    <
visible>Control.IsVisible(591)</visible>                                
                </
control

Variable :
PHP Code:
<variable name="Icon_Discart">
        <
value condition="!IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Art(discart)]</value>        
    </
variable

Includes Xml :

PHP Code:
<include name="art_Discart">
        <
texture>$VAR[art_Discart]</texture>
        <
aspectratio align="center" aligny="bottom">keep</aspectratio>
    </include> 

Skin Setting :

PHP Code:
<!--movie Discart-->
                    <
control type="radiobutton" id="715">
                        <
label>Enable Discart</label>
                        <
onclick>Skin.ToggleSetting(discart.movies.enable)</onclick>
                        <
selected>Skin.HasSetting(discart.movies.enable)</selected>
                        <include>
settings_Radiobutton</include>
                        <
enable>System.HasAddon(script.artwork.downloader)</enable>
                    </
control>
                    <
control type="button" id="716">
                        <
label>Download Discart</label>
                        <
onclick>XBMC.RunScript(script.artwork.downloadermode=moviesilent=truediscart)</onclick>
                        <include>
settings_Listbutton</include>
                        <
visible>Skin.HasSetting(discart.movies.enable)</visible>
                    </
control
Reply
#2
Looks like your variable has the wrong name.
Reply
#3
change to art_Discart ; its work now ! Thx dude



EDIT : No it is not good, it is still there, even if I disable Discart option. : (
Reply
#4
Would change it the other way around, better not to have an include and variable with the same name in my opinion.
Reply
#5
actually, I changed and added other name, now it works well, it remains to create an animation! Thank you for your help!

i add this code also


PHP Code:
<variable name="art_Discart">
        <
value condition="[Container.Content(movies) | Container.Content(tvshows)] + Control.IsVisible(531)">$INFO[ListItem.Art(discart]</value>
        <
value condition="Container.Content(movies) + Skin.HasSetting(discart.movies.enable) + [IsEmpty(ListItem.Art(poster)) | [!IsEmpty(ListItem.Art(poster) + !Skin.HasSetting(posterthumb.enable)]]">$INFO[ListItem.Art(discart)]</value>
        <
value condition="Container.Content(tvshows) + Skin.HasSetting(discart.tvshows.enable) + [IsEmpty(ListItem.Art(poster)) | [!IsEmpty(ListItem.Art(poster)) + !Skin.HasSetting(posterthumb.enable)]]">$INFO[ListItem.Art(discart)]</value>
        <
value condition="Container.Content(episodes) + Skin.HasSetting(discart.tvshows.enable) + [StringCompare(Container.FolderPath,videodb://recentlyaddedepisodes/) | StringCompare(Container.FolderPath,special://skin/playlists/episodes/unwatched.xsp) | SubString(Container.FolderPath,plugin://service.library.data.provider/)]">$INFO[ListItem.Art(tvshow.discart)]</value>
    </
variable
Reply
#6
first value missing a ) behind discart.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#7
Where ?
Reply
#8
Ah YEs !! Good Thx
Reply
#9
I have managed to add Discart option, but it disables alone, especially when I run a scan artwork downloader. Why?
Reply

Logout Mark Read Team Forum Stats Members Help
Add Discart ( RE problem )0