2021-01-31, 08:12
Hello
I have done to get cast information with my hidden container list(9200) as below. It works well but it looks some delay 1-2 sec when it change to other movie or actor. Is there any way to remove delay?
This is code what I have done
MyVideoViewList.xml
I have done to get cast information with my hidden container list(9200) as below. It works well but it looks some delay 1-2 sec when it change to other movie or actor. Is there any way to remove delay?
This is code what I have done
MyVideoViewList.xml
Variables.xmlxml:
<control type="panel" id="9200">
<left>-3000</left>
<top>-3000</top>
<width>1</width>
<height>1</height>
<visible>Control.HasFocus(904) </visible>
<itemlayout height="10" width="10" />
<focusedlayout height="10" width="10" />
<content target="videos">plugin://plugin.video.themoviedb.helper/?info=details&type=person&query=$INFO[Container(904).ListItem.Label]</content>
</control>
<control type="group">
...
<control type="label">
<width>400</width>
<height>30</height>
<font>primal_13_bold</font>
<label fallback="N.A">$INFO[Container(9200).ListItem.Property(Age)]</label>
<textcolor>$VAR[ColorFontSelected]</textcolor>
<shadowcolor>$VAR[ColorFontShadow]</shadowcolor>
</control>
<control type="label">
<width>400</width>
<height>30</height>
<font>primal_13_bold</font>
<label fallback="N.A">$INFO[Container(9200).ListItem.Property(Birthday)]</label>
<textcolor>$VAR[ColorFontSelected]</textcolor>
<shadowcolor>$VAR[ColorFontShadow]</shadowcolor>
</control>
<control type="label">
<width>600</width>
<height>30</height>
<font>primal_13_bold</font>
<label fallback="N.A">$INFO[Container(9200).ListItem.Property(Born)]</label>
<textcolor>$VAR[ColorFontSelected]</textcolor>
<shadowcolor>$VAR[ColorFontShadow]</shadowcolor>
</control>
</control>
<control type="panel" id="904">
....
<itemlayout height="225" width="180">
....
</itemlayout>
<focusedlayout height="225" width="180">
.....
</focusedlayout>
<content>$VAR[EmbuaryCast]</content>
xml:
<variable name="EmbuaryCast">
<value condition="String.IsEqual(ListItem.DBType,movie) + !String.IsEmpty(ListItem.DBID) + !String.IsEqual(ListItem.DBID,0)">plugin://script.embuary.helper?info=getcast&type=movie&dbid=$INFO[ListItem.DBID]</value>
</variable>