2019-09-11, 04:05
(2019-09-09, 19:47)chrissix Wrote:(2019-09-07, 22:17)bsoriano Wrote: Also, if you would like, point me to a link with info for the addon, and I can add formal support for it in Amber so that you don’t have to change files with each update of the skin.@bsoriano Great thanks for implementing the Actresses PNG's resource addon
A little advice: With the help of @sualfred Embuary Helper Script it is possible to show the actresses of a movie also in a sideshow and not only the actor onfocus in dialogvideoinfo.
The sideshow is working everywhere, also in views.
Example code for views:
Code:<!-- Actress -->
<control type="group">
<visible>Container.Content(movies) + String.IsEqual(Skin.String(characterart_toggle),Actress) + !String.IsEqual(Skin.string(characterart_toggle),Off)</visible>
<control type="list" id="344">
<left>3000</left>
<height>1</height>
<width>1</width>
<autoscroll>true</autoscroll>
<scrolltime>6000</scrolltime>
<itemlayout/>
<focusedlayout/>
<content>$VAR[getDBIDcontent]</content>
</control>
<control type="list" id="345">
<left>3000</left>
<height>1</height>
<width>1</width>
<autoscroll>true</autoscroll>
<scrolltime>6000</scrolltime>
<itemlayout/>
<focusedlayout/>
<content>plugin://script.embuary.helper/?info=getresourceimages&addon=resource.images.actorart&string='$ESCINFO[Container(344).ListItem.Cast]'</content>
</control>
<control type="image">
<left>1100</left>
<top>313</top>
<height>512</height>
<width>512</width>
<aspectratio aligny="bottom">keep</aspectratio>
<texture background="true">$INFO[Container(345).ListItem.Icon]</texture>
<fadetime>FanartCrossFadeTime</fadetime>
<animation type="Conditional" reversible="true" condition="Control.HasFocus(9915)">
<effect type="slide" start="0,0" end="-150,0" time="300" tween="cubic" easing="out" />
<effect type="fade" start="100" end="0" time="200" />
</animation>
</control>
</control>
Example code for dialogvideoinfo:
____Code:<!-- ACTRESS PNG -->
<control type="group">
<visible>Container.Content(movies) + String.IsEqual(skin.string(art_toggle),Actress) + !Control.Hasfocus(50) + Control.Hasfocus(149)</visible>
<animation effect="fade" start="0" end="100" time="500" delay="0">Visible</animation>
<animation effect="fade" start="100" end="0" time="500" delay="0">Hidden</animation>
<control type="list" id="123">
<left>3000</left>
<height>1</height>
<width>1</width>
<autoscroll>true</autoscroll>
<scrolltime>5000</scrolltime>
<itemlayout/>
<focusedlayout/>
<content>plugin://script.embuary.helper/?info=getresourceimages&addon=resource.images.actorart&string='$ESCINFO[ListItem.Cast]'</content>
</control>
<control type="image">
<left>1000</left>
<top>150</top>
<width>548</width>
<height>548</height>
<aspectratio align="center" aligny="bottom">keep</aspectratio>
<texture background="true">$INFO[Container(123).ListItem.Icon]</texture>
<fadetime>1000</fadetime>
</control>
<control type="image">
<left>1083</left>
<top>652</top>
<width>396</width>
<height>46</height>
<texture>darkgrey.png</texture>
<colordiffuse>$INFO[Skin.String(colortexture)]</colordiffuse>
<include>Animation_DefaultGlass</include>
<aspectratio align="center" aligny="center">stretch</aspectratio>
<fadetime>1000</fadetime>
<visible>!String.IsEmpty(Container(123).ListItem.Icon)</visible>
</control>
<control type="textbox">
<font>Font_plot4</font>
<align>center</align>
<left>1080</left>
<top>659</top>
<width>396</width>
<height>40</height>
<label>$INFO[Container(123).ListItem.Label]</label>
</control>
</control>
Keep in mind when you look at my signature i have more Kodi artwork projects on the run to show more images and artwork for the kodi experience.
greetings, Chris
@chrissix, thank you! I will evaluate how I can add it this way also to Amber.
Regards,
Bart