2023-03-02, 04:20
Here is my list I used in my custom Skin.
I am trying to get selected movie actor name via plugin.video.themoviedb.helper.
For plugin.video.themoviedb.helper. just follows wiki as it is
https://github.com/jurialmunkey/plugin.v...ailed-Item
WORKS (I CAN SEE 1 st Actor name in my SKIN)
<label fallback="N/A">$INFO[ListItem.Property(Cast.1.Name)]</label>
DID'N WORK (Just show fallback "N/A")
<label fallback="N/A">$INFO[Window(home).Property(test)]</label>
To run script I use hidden button as below (I am sure works, i.e it works $INFO[ListItem.Property(Cast.1.Name)] )
However, I can not get $INFO[Window(home).Property(test)] on my skin.
I tried a different window id as below, but it also does not work - can not display $INFO[] information.
https://kodi.wiki/view/Window_IDs
videos/ WINDOW_VIDEO_NAV/ 10025 / MyVideoNav.xml
I suspect there is something wrong SetProperty
SetProperty(test,$INFO[ListItem.Property(Cast.1.Name)],home)
or
SetProperty(test,$INFO[ListItem.Property(Cast.1.Name)],10025)
Can Someone help me with what I am missing?
@ViewsViewTypeList.xml
<include name="View_903_View">
<control type="list" id="903">
<left>176</left>
<top>60</top>
<width>1692</width>
<height>1000</height>
//...SKIP
<itemlayout height="240" width="180">
<control type="label">
<font>primal_13</font>
<label fallback="N/A">$INFO[ListItem.Property(Cast.1.Name)]</label>
//...SKIP
</control>
<control type="label">
<font>primal_13</font>
<label fallback="N/A">$INFO[Window(home).Property(test)]</label>
...SKIP
</control>
</itemlayout>
<focusedlayout height="240" width="180">
<control type="group">
<control type="button">
<visible allowhiddenfocus="true">false</visible>
<onfocus>SetProperty(test,$INFO[ListItem.Property(Cast.1.Name)],home)</onfocus>
</control>
</control>
</focusedlayout>
<content>$VAR[TMDBCast]</content>
</control>
</include>
$VAR[TMDBCast] is defined as below @Variables.xml
<variable name="TMDBCast">
<value>plugin://plugin.video.themoviedb.helper/?info=details&type=movie&query=$INFO[ListItem.Title]</value>
</variable>
@IncludesViewTypeList.xml
<include name="ViewsVideo">
<control type="group" id="777">
<visible>!Window.IsVisible(selectdialog)</visible>
<include>View_55_FileMode</include>
//This one
<include>View_903_View</include>
//Above one
<include>View_900_POSTER</include>
<include>View_902_POSTER</include>
<include>View_901_Ep_View</include>
<include>View_88_FileModeforvideoaddon</include>
<include>View_1000_VideoAddon</include>
</control>
</include>
@MyVideoNav.xml
<include>ViewsVideo</include>
I am trying to get selected movie actor name via plugin.video.themoviedb.helper.
For plugin.video.themoviedb.helper. just follows wiki as it is
https://github.com/jurialmunkey/plugin.v...ailed-Item
WORKS (I CAN SEE 1 st Actor name in my SKIN)
<label fallback="N/A">$INFO[ListItem.Property(Cast.1.Name)]</label>
DID'N WORK (Just show fallback "N/A")
<label fallback="N/A">$INFO[Window(home).Property(test)]</label>
To run script I use hidden button as below (I am sure works, i.e it works $INFO[ListItem.Property(Cast.1.Name)] )
<control type="button">
<visible allowhiddenfocus="true">false</visible>
<onfocus>SetProperty(test,$INFO[ListItem.Property(Cast.1.Name)],home)</onfocus>
</control>
However, I can not get $INFO[Window(home).Property(test)] on my skin.
I tried a different window id as below, but it also does not work - can not display $INFO[] information.
https://kodi.wiki/view/Window_IDs
videos/ WINDOW_VIDEO_NAV/ 10025 / MyVideoNav.xml
<control type="button">
<visible allowhiddenfocus="true">false</visible>
<onfocus>SetProperty(test,$INFO[ListItem.Property(Cast.1.Name)],10025)</onfocus>
</control>
<control type="label">
<label fallback="N/A">$INFO[Window(10025).Property(test)]</label>
</control>
I suspect there is something wrong SetProperty
SetProperty(test,$INFO[ListItem.Property(Cast.1.Name)],home)
or
SetProperty(test,$INFO[ListItem.Property(Cast.1.Name)],10025)
Can Someone help me with what I am missing?