2024-03-07, 05:58
ok, so I set my TMDb Info button as:
It drops to my Includes_InfoDialogs.xml
I created a file called "Custom_1190_ExtendedInfo_v2.xml" with the following code from your repository as such:
I click on my movie "the beekeeper" and click the button "TMDb Info", the screen fades out, but is all black, nothing else. It seems to be working right, because the debug is showing the screen has called the 1190 xml as shown:
I was expecting to see the title of the movie.
What did I do wrong here? If I can sort this, I can expand on it once I figure out the correct method.
Thx!
Chris
Code:
<item id="101">
<description>TMDb Info</description>
<visible>Skin.HasSetting(VideoInfoTMDb)</visible>
<label></label>
<label2>$LOCALIZE[31351]</label2>
<onclick>Dialog.Close(all)</onclick>
<onclick>$VAR[VideoInfoTMDbVar]</onclick>
</item>
It drops to my Includes_InfoDialogs.xml
Code:
<variable name="VideoInfoTMDbVar">
<value condition="String.IsEqual(ListItem.DBType,movie)">RunScript(plugin.video.themoviedb.helper,add_path=$INFO[ListItem.FolderPath],call_auto=1190)</value>
<!-- <value condition="String.IsEqual(ListItem.DBType,movie)">RunScript(script.embuary.info,call=movie,dbid=$INFO[ListItem.DBID])</value> -->
<value condition="String.IsEqual(ListItem.DBType,tvshow)">RunScript(script.embuary.info,call=tv,dbid=$INFO[ListItem.DBID])</value>
</variable>
I created a file called "Custom_1190_ExtendedInfo_v2.xml" with the following code from your repository as such:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<window type="window" id="1190">
<defaultcontrol always="true">9999</defaultcontrol>
<controls>
<include>Global_Background</include>
<include>Topbar</include>
<control type="list" id="9999">
<top>-1000</top>
<left>-1000</left>
<width>1</width>
<height>1</height>
<itemlayout />
<focusedlayout />
<content target="videos">$INFO[Window(Home).Property(TMDbHelper.Path.Current)]</content>
</control>
<control type="group">
<visible>Container(9999).IsUpdating</visible>
<visible>!Window.IsVisible(DialogVideoInfo.xml)</visible>
<include>Dialog_Busy</include>
</control>
</controls>
<control type="list" id="1190">
<itemlayout/>
<focusedlayout/>
<content>plugin://plugin.video.themoviedb.helper/?info=details&type=movie&query=$INFO[ListItem.Title]</content>
</control>
<!-- <label>$INFO[Container(1190).ListItemAbsolute(0).Property(rottentomatoes_rating)]</label> -->
<label>$INFO[Container(1190).ListItem.Title</label>
I click on my movie "the beekeeper" and click the button "TMDb Info", the screen fades out, but is all black, nothing else. It seems to be working right, because the debug is showing the screen has called the 1190 xml as shown:
I was expecting to see the title of the movie.
What did I do wrong here? If I can sort this, I can expand on it once I figure out the correct method.
Thx!
Chris