Kodi Community Forum

Full Version: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys!

I need help filtering fanart with language.

I'm using the script below to bring background, but it's bringing no language.

How do I bring with language?

<content sortby="random" limit="5">plugin://plugin.video.themoviedb.helper/?info=upcoming&;type=movie</content>

Exemplo: <content sortby="random" limit="5">plugin://plugin.video.themoviedb.helper/?info=upcoming&;type=movie&;include_imagen_language=en</content>
(2022-02-01, 00:31)kpinheiro Wrote: [ -> ]Hey guys!

I need help filtering fanart with language.

I'm using the script below to bring background, but it's bringing no language.

How do I bring with language?

<content sortby="random" limit="5">plugin://plugin.video.themoviedb.helper/?info=upcoming&;type=movie</content>

Exemplo: <content sortby="random" limit="5">plugin://plugin.video.themoviedb.helper/?info=upcoming&;type=movie&;include_imagen_language=en</content>

AFAIK fanart is always fetched with no language if possible because any fanart with language from TMDb is classified as landscape art. To choose the language you need to change the addons settings General->Language and country
I understand, but as I'm using it via a plugin with the command line, I notice that the settings I make within Kodi do not interfere with the direct searches here of the plugin. You say that in TMDB all images with language are classified as landscape. Is there any way to filter this here? I'm using it to have random online background paper.
See by default with the command line I'm using it brings this image, which in this case is without language.

https://www.themoviedb.org/movie/136400-...uage=pt-BR

Image

I would like images with languages ​​like the one below.

https://www.themoviedb.org/movie/136400-...uage=pt-BR

Image

​​​​​​​
Follow what I'm using

Thank you very much for your attention.

<?xml version="1.0" encoding="UTF-8"?>
<window id="0">
    <defaultcontrol always="true">9000</defaultcontrol>
    <include>fadeInOut</include>
    <onload>RunScript(script.skinshortcuts,type=buildxml&mainmenuID=9001&group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu|gamesubmenu)</onload>
    <onload condition="Skin.hassetting(stopVideoOnMenu) + !Player.HasAudio">PlayerControl(stop)</onload>
    <onload>AlarmClock(hidemenu,setfocus(9999),00:20,true)</onload>
    <onunload>CancelAlarm(hidemenu,true)</onunload>
    <controls>
        <include>globalBackground</include>
        <control type="group">
            <animation type="conditional" condition="control.hasfocus(8001) | control.hasfocus(8002)">
                <effect type="slide" start="0,0" end="0,-80" tween="sine" time="400"/>
            </animation>
            <!--player controls and options-->
            <control type="group">
                <posx>0</posx>
                <posy>1080</posy>
                <control type="image">
                    <posx></posx>
                    <posy>0</posy>
                    <width>fullscreenWidth</width>
                    <height>3-row</height>
                    <texture>colors/black.png</texture>
                    <colordiffuse>ffffffff</colordiffuse>
                    <aspectratio>stretch</aspectratio>
                </control>
                <!--player controls-->
                <control type="panel" id="8001">
                    <posx>col-1-begin</posx>
                    <posy>6</posy>
                    <width>7-col</width>
                    <height>2-row</height>
                    <itemgap>0</itemgap>
                    <onleft>8001</onleft>
                    <onright>8001</onright>
                    <onup>9001</onup>
                    <orientation>horizontal</orientation>
                    <itemlayout width="1-col" height="2-row">
                        <control type="label">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1-col</width>
                            <height>2-row</height>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>symbol</font>
                            <textcolor>textActive</textcolor>
                            <label>$INFO[ListItem.label2]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout width="1-col" height="2-row">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1-col</width>
                            <height>69</height>
                            <aspectratio>stretch</aspectratio>
                            <texture>colors/white.png</texture>
                            <colordiffuse>highlight</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1-col</width>
                            <height>2-row</height>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>symbol</font>
                            <textcolor>textActive</textcolor>
                            <label>$INFO[ListItem.label2]</label>
                            <shadowcolor></shadowcolor>
                        </control>
                    </focusedlayout>
                    <content>
                        <item>
                            <description>Playlist</description>
                            <label2></label2>
                            <thumb></thumb>
                            <onclick>activateWindow(musicplaylist)</onclick>
                        </item>
                        <item>
                            <description>Previous</description>
                            <label2></label2>
                            <thumb></thumb>
                            <onclick>PlayerControl(previous)</onclick>
                        </item>
                        <item>
                            <description>Stop</description>
                            <label2></label2>
                            <thumb></thumb>
                            <onclick>PlayerControl(stop)</onclick>
                            <onclick>Dialog.Close(1103)</onclick>
                        </item>
                        <item>
                            <visible>Player.Playing | player.forwarding | player.rewinding</visible>
                            <description>Play/Pause</description>
                            <label2></label2>
                            <thumb></thumb>
                            <onclick>PlayerControl(play)</onclick>
                        </item>
                        <item>
                            <visible>Player.Paused</visible>
                            <description>Pause</description>
                            <label2></label2>
                            <thumb></thumb>
                            <onclick>PlayerControl(play)</onclick>
                        </item>
                        <item>
                            <description>Next Chapter</description>
                            <label2></label2>
                            <thumb></thumb>
                            <onclick>PlayerControl(next)</onclick>
                        </item>
                    </content>
                </control>            
            </control>
            <control type="group">
                <control type="image">
                   <include>dimensionsFullscreen</include>
                   <texture>colors/black.png</texture>
                   <colordiffuse>ffFFFFFF</colordiffuse>
                   <aspectratio>stretch</aspectratio>
               </control>
                <control type="multiimage">
                    <animation effect="fade" start="0" end="100" time="1000">WindowOpen</animation>
                    <include>dimensionsFullscreen</include>
                    <!-- <imagepath>$VAR[homeBackgroundLocation]</imagepath> -->
                    <imagepath>$INFO[Container(12341).ListItem.Art(fanart)]</imagepath>
                    <!-- <timeperimage>45000</timeperimage> -->
                    <fadetime>2000</fadetime>
                    <pauseatend>10000</pauseatend>
                    <randomize>true</randomize>
                    <loop>yes</loop>
                    <aspectratio>scale</aspectratio>
                    <colordiffuse>99ffffff</colordiffuse>
                </control>
                <control type="image">
                    <include>dimensionsFullscreen</include>
                    <texture>vignette.png</texture>
                    <colordiffuse>ffffffff</colordiffuse>
                    <aspectratio>stretch</aspectratio>
                </control>
                <control type="list" id="12341">
                    <top>-1000</top> <!-- Don't need to see it, but can't change its visibility. Put it off screen -->
                    <width>1</width>
                    <height>1</height>
                    <!-- <content sortby="random">videodb://movies/titles/</content> -->
                    <content sortby="random" limit="5">videodb://movies/titles/</content>
                    <autoscroll time="15000">true</autoscroll> <!-- Time to show each image, in milliseconds -->
                    <itemlayout />
                    <focusedlayout />
                </control>
            </control>
            <!--mini window-->
            <include>miniVideoPlayer</include>
            <!--main menu-->
            <control type="panel" id="9000">
                <animation type="conditional" condition="control.hasfocus(9999)" reversible="true">
                    <effect type="fade" start="100" end="0" time="500" delay="0"/>
                </animation>
                <posx>col-5-begin</posx>
                <animation condition="string.isEqual(Container(9000).NumItems,1)" effect="slide" end="432,0" time="0">conditional</animation>
                <animation condition="string.isEqual(Container(9000).NumItems,2)" effect="slide" end="288,0" time="0">conditional</animation>
                <animation condition="string.isEqual(Container(9000).NumItems,3)" effect="slide" end="144,0" time="0">conditional</animation>            
                <posy>row-12-begin</posy>
                <width>18-col</width>
                <height>12-row</height>
                <ondown>setfocus(9001,1)</ondown>
                <orientation>vertical</orientation>
                <itemlayout width="4-col" height="3-row">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>4-col-textbox</width>
                        <height>105</height>
                        <texture>colors/black.png</texture>
                        <colordiffuse>77000000</colordiffuse>
                        <aspectratio>stretch</aspectratio>
                    </control>
                    <control type="textbox">
                        <posx>12</posx>
                        <posy>0</posy>
                        <width>252</width>
                        <height>3-row</height>
                        <font>dialogTitle</font>
                        <wrapmultiline>true</wrapmultiline>
                        <aligny>center</aligny>
                        <align>center</align>
                        <textcolor>textActive</textcolor>
                        <shadowcolor></shadowcolor>
                        <label>[CAPITALIZE]$INFO[ListItem.label][/CAPITALIZE]</label>
                    </control>
                </itemlayout>
                <focusedlayout width="4-col" height="3-row">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>4-col-textbox</width>
                        <height>105</height>
                        <texture>colors/white.png</texture>
                        <colordiffuse>highlight</colordiffuse>
                        <aspectratio>stretch</aspectratio>
                    </control>
                    <control type="textbox">
                        <posx>12</posx>
                        <posy>0</posy>
                        <width>252</width>
                        <height>3-row</height>
                        <font>dialogTitle</font>
                        <wrapmultiline>true</wrapmultiline>
                        <aligny>center</aligny>
                        <align>center</align>
                        <textcolor>textActive</textcolor>
                        <shadowcolor></shadowcolor>
                        <label>[CAPITALIZE]$INFO[ListItem.label][/CAPITALIZE]</label>
                    </control>
                </focusedlayout>
                <content>
                    <include>skinshortcuts-mainmenu</include>
                </content>
            </control>
            <!--power / settings-->
            <control type="group">
                <posx>851</posx>
                <posy>row-26-begin</posy>
                <control type="panel" id="9001">
                    <posx>38</posx>
                    <posy>18</posy>
                    <width>4-col</width>
                    <height>1-col</height>
                    <orientation>horizontal</orientation>
                    <onup>9000</onup>
                    <ondown>8001</ondown>
                    <itemlayout width="1-col" height="1-col">
                        <control type="label">
                            <posx>0.4</posx>
                            <posy>-1</posy>
                            <width>1-col</width>
                            <height>1-col</height>
                            <font>symbolLarge</font>
                            <align>center</align>
                            <aligny>center</aligny>
                            <textcolor>textActive</textcolor>
                            <shadowcolor></shadowcolor>
                            <label>$INFO[ListItem.label]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout width="1-col" height="1-col">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1-col</width>
                            <height>1-col</height>
                            <aspectratio>stretch</aspectratio>
                            <texture diffuse="masks/circle.png">colors/white.png</texture>
                            <colordiffuse>highlight</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>0.4</posx>
                            <posy>-1</posy>
                            <width>1-col</width>
                            <height>1-col</height>
                            <font>symbolLarge</font>
                            <align>center</align>
                            <aligny>center</aligny>
                            <textcolor>textActive</textcolor>
                            <shadowcolor></shadowcolor>
                            <label>$INFO[ListItem.label]</label>
                        </control>
                    </focusedlayout>
                    <content>
                        <item>
                            <label></label>
                            <onclick>ActivateWindow(Settings)</onclick>
                        </item>                    
                        <item>
                            <label></label>
                            <onclick>ActivateWindow(shutdownmenu)</onclick>
                        </item>
                    </content>
                </control>
            </control>
            <!--Date / time and weather-->
            <control type="group">
                <posx>col-1-begin</posx>
                <posy>row-8-begin</posy>
                <animation type="conditional" condition="control.hasfocus(9999) + !player.hasaudio" reversible="true">
                    <effect type="slide" start="0,0" end="0,538" time="200" delay="0"/>
                </animation>
                <animation type="conditional" condition="control.hasfocus(9999) + player.hasaudio" reversible="true">
                    <effect type="slide" start="0,0" end="0,484" time="200" delay="0"/>
                </animation>
                <control type="label">
                    <posx>0</posx>
                    <posy>-48</posy>
                    <width>24-col</width>
                    <height>2-row</height>
                    <align>center</align>
                    <font>veryLarge</font>
                    <textcolor>textActive</textcolor>
                    <shadowcolor>44000000</shadowcolor>
                    <label>$INFO[System.Time]</label>
                </control>
                <control type="label">
                    <visible>$EXP[hasWeather]</visible>
                    <posx>0</posx>
                    <posy>1-row</posy>
                    <width>24-col</width>
                    <height>2-row</height>
                    <font>regular</font>
                    <align>center</align>
                    <textcolor>textActive</textcolor>
                    <shadowcolor>44000000</shadowcolor>
                    <label>$INFO[System.Date(DDD)] $INFO[System.Date(dd)] $INFO[System.Date(MMM)] $INFO[weather.temperature] [CAPITALIZE]$INFO[weather.conditions][/CAPITALIZE]</label>
                </control>
                <control type="label">
                    <visible>!$EXP[hasWeather]</visible>
                    <posx>0</posx>
                    <posy>1-row</posy>
                    <width>24-col</width>
                    <height>2-row</height>
                    <font>regular</font>
                    <align>center</align>
                    <textcolor>textActive</textcolor>
                    <shadowcolor>44000000</shadowcolor>
                    <label>$INFO[System.Date(DDD)] $INFO[System.Date(dd)] $INFO[System.Date(MMM)]</label>
                </control>
            </control>
            <!--now playing music-->
            <control type="group">
                <visible>player.hasaudio</visible>
                <posx>col-1-begin</posx>
                <posy>row-24-begin</posy>
                <control type="grouplist">
                    <posx>0</posx>
                    <posy>8</posy>
                    <width>24-col</width>
                    <align>center</align>
                    <itemgap>18</itemgap>
                    <orientation>horizontal</orientation>
                    <control type="image">
                        <visible>!player.paused + !Skin.HasSetting(lowPowerMode)</visible>
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1-col-gutter</width>
                        <height>1-col-gutter</height>
                        <texture>equaliser.gif</texture>
                    </control>
                    <control type="label">
                        <visible>!player.paused + Skin.HasSetting(lowPowerMode)</visible>
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1-col-gutter</width>
                        <height>2-row</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <font>symbolLarge</font>
                        <textcolor>textActive</textcolor>
                        <shadowcolor></shadowcolor>
                        <label></label>
                    </control>
                    <control type="label">
                        <visible>player.paused</visible>
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1-col-gutter</width>
                        <height>2-row</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <font>symbolLarge</font>
                        <textcolor>textActive</textcolor>
                        <shadowcolor></shadowcolor>
                        <label></label>
                    </control>
                    <control type="label">
                        <description>Artist</description>
                        <posx>0</posx>
                        <posy>0</posy>
                        <font>small</font>
                        <width>auto</width>
                        <height>2-row</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <label>$INFO[MusicPlayer.TimeRemaining,, ]$INFO[musicplayer.Artist,, ]$INFO[MusicPlayer.Title]</label>
                        <scroll>true</scroll>
                        <textcolor>textActive</textcolor>
                        <wrapmultiline>false</wrapmultiline>
                    </control>
                </control>
            </control>
        </control>    
        <control type="button" id="9999">
            <posx>-500</posx>
            <posy>0</posy>
            <width>1-col</width>
            <height>2-row</height>
            <onleft>setfocus(9000,0)</onleft>
            <onright>setfocus(9000,0)</onright>
            <onup>setfocus(9000,0)</onup>
            <ondown>setfocus(9000,0)</ondown>
            <onclick>setfocus(9000,0)</onclick>
        </control>
        <!--debugging-->
        <include>DebugGrid</include>
        <control type="label">
            <include>WindowID</include>
            <label>Home.xml</label>
        </control>
    </controls>
</window>
I'll continue posting in your other thread. Please don't clutter this thread up with massive walls of code, use a pastebin like site to post it.
I am using the Bello8 skin. Added a widget pointing to TV Shows. Widget displays fine but when I click on an item it opens in TMDB and only display info, trailer and Youtube. Dont have the option to Play. Any suggestions?
(2022-02-23, 21:54)Voxster Wrote: [ -> ]I am using the Bello8 skin. Added a widget pointing to TV Shows. Widget displays fine but when I click on an item it opens in TMDB and only display info, trailer and Youtube. Dont have the option to Play. Any suggestions?
What do you mean it "opens in tmdb"? Do you mean info dialog? Tmdbhelper doesnt control what appears in the info dialog. You should speak to the Skinner
@jurialmunkey , another user was asking about being able to display in the OSD for an episode, "Episode xx of yy", in which yy is the total number of episodes in the season.  Would this number of episodes in the season be something that you can add to the service monitor details for an episode?  Please let me know.  Thanks.

Regards,

Bart
So I get an error when trying to stream the TV Show "Super Pumped" season 1 episode 1. This also happens with other select movies and has been going on for awhile. When I choose the addon to stream a movie or show, it will show that links are being retrieved but an error will occur before the list of links are displayed. This a great addon, appreciate your time & effort, keep up the great work. Thanks.
(2022-03-08, 18:35)lwilli1026 Wrote: [ -> ]So I get an error when trying to stream the TV Show "Super Pumped" season 1 episode 1. This also happens with other select movies and has been going on for awhile. When I choose the addon to stream a movie or show, it will show that links are being retrieved but an error will occur before the list of links are displayed. This a great addon, appreciate your time & effort, keep up the great work. Thanks.
What addon are you using to stream movies and tvshows that's showing the error ?
(2022-03-08, 19:07)Sidewinder_2011 Wrote: [ -> ]
(2022-03-08, 18:35)lwilli1026 Wrote: [ -> ]So I get an error when trying to stream the TV Show "Super Pumped" season 1 episode 1. This also happens with other select movies and has been going on for awhile. When I choose the addon to stream a movie or show, it will show that links are being retrieved but an error will occur before the list of links are displayed. This a great addon, appreciate your time & effort, keep up the great work. Thanks.
What addon are you using to stream movies and tvshows that's showing the error ?
Any addon that I choose. The Oath, The Crew ect. But when I don't use TMDb Helper and use the these addons directly, they will show links and stream just fine.
(2022-03-08, 19:38)lwilli1026 Wrote: [ -> ]Any addon that I choose.

Any addon that facilitates video piracy has no place being here as per the forum rules (wiki) and piracy policy (wiki), which you may want to familiarize yourself with (again).
Questions regarding such add-ons should be asked elsewhere and not on this forum.
(2022-03-08, 20:04)Klojum Wrote: [ -> ]
(2022-03-08, 19:38)lwilli1026 Wrote: [ -> ]Any addon that I choose.

Any addon that facilitates video piracy has no place being here as per the forum rules (wiki) and piracy policy (wiki), which you may want to familiarize yourself with (again).
Questions regarding such add-ons should be asked elsewhere and not on this forum.
Sorry
(2022-03-08, 19:07)Sidewinder_2011 Wrote: [ -> ]
(2022-03-08, 18:35)lwilli1026 Wrote: [ -> ]So I get an error when trying to stream the TV Show "Super Pumped" season 1 episode 1. This also happens with other select movies and has been going on for awhile. When I choose the addon to stream a movie or show, it will show that links are being retrieved but an error will occur before the list of links are displayed. This a great addon, appreciate your time & effort, keep up the great work. Thanks.
What addon are you using to stream movies and tvshows that's showing the error ?
Any addon that I choose. But when I don't use TMDb Helper and use the these addons directly, they will show links and stream just fine.