Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2020-01-08, 05:27)jurialmunkey Wrote: <onclick>RunScript(plugin.video.themoviedb.helper,close_dialog=1190,sendclick=8)</onclick>

@jurialmunkey , this is not working for me.  Latest version of the plugin from Git, Kodi 18.5 under Windows 10.  

This is what I have for the custom "Play/Browse/Close" button right now (I commented out every action that is not for a local movie):

xml:

<control type="button" id="8000" description="Play/browse">
                <height>90</height>
                <width min="210">auto</width>
                <align>center</align>
                <font>Details</font>
                <label>$VAR[VideoInfoButton8]</label>
<!--                <onclick condition="String.IsEmpty(ListItem.DBID) + !String.IsEmpty(ListItem.Property(tmdb_id))">RunScript(plugin.video.themoviedb.helper,close_dialog=1134)</onclick>
                <onclick condition="String.IsEmpty(ListItem.DBID) + String.IsEmpty(ListItem.Property(tmdb_id))">RunScript(plugin.video.themoviedb.helper,close_dialog=1134)</onclick>
                <onclick condition="!String.IsEmpty(ListItem.DBID) + !String.IsEmpty(ListItem.Property(tmdb_id))">RunScript(plugin.video.themoviedb.helper,close_dialog=1134)</onclick> -->
                <onclick condition="String.IsEqual(ListItem.DBType,movie) + !String.IsEmpty(ListItem.DBID)">RunScript(plugin.video.themoviedb.helper,close_dialog=1134,sendclick=8)</onclick>
<!--                <onclick condition="String.IsEqual(ListItem.DBType,movie) + !String.IsEmpty(ListItem.DBID)">SendClick(8)</onclick> -->
<!--                <onclick condition="String.IsEqual(ListItem.DBType,episode) + !String.IsEmpty(ListItem.DBID)">RunScript(plugin.video.themoviedb.helper,close_dialog=1134,sendclick=8)</onclick> -->
<!--                <onclick condition="String.IsEqual(ListItem.DBType,episode) + !String.IsEmpty(ListItem.DBID)">SendClick(8)</onclick> -->
<!--                <onclick condition="String.IsEqual(ListItem.DBType,tvshow) + !String.IsEmpty(ListItem.DBID)">RunScript(script.embuary.helper,action=goto,path='"videodb://tvshows/titles/$INFO[ListItem.DBID]/"',target=videos)</onclick> -->
            </control>

And this is the content of Window 1134:

xml:

<?xml version="1.0" encoding="UTF-8"?>
<window type="window" id="1134">
    <defaultcontrol always="true">9999</defaultcontrol>
    <controls>
        <control type="image">
            <width>1920</width>
            <height>1080</height>
            <texture>img/BlackDot.png</texture>
            <aspectratio>scale</aspectratio>
        </control>
        <control type="image">
            <width>1920</width>
            <height>1080</height>
            <texture background="true">special://skin/backgrounds/default.jpg</texture>
            <aspectratio>scale</aspectratio>
        </control>
        <include content="BackgroundOverlay">
            <param name="parentid" value="9999"/>
        </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 + !Window.IsVisible(DialogVideoInfo.xml)</visible>
            <include>InfoLoading</include>
        </control>
    </controls>
</window>

The info dialog closes, but the movie does not play.

What am I doing incorrectly? Thanks for your help.

Regards,

Bart
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 bsoriano - 2020-01-08, 17:04
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2