Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2021-01-31, 08:12)kenmoon Wrote: 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
xml:

<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&amp;type=person&amp;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>
Variables.xml
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&amp;type=movie&amp;dbid=$INFO[ListItem.DBID]</value>
</variable>

No not possible - theres always going to be a delay because the info has to be retrieved from an online server. Plus there is processing time of that data.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply


Messages In This Thread
RE: TheMovieDB Helper - by jurialmunkey - 2019-07-31, 11:47
RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - by jurialmunkey - 2021-02-07, 00:56
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2