Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
@bsoriano @nessus - I have a new feature which will interest you a lot if you need to create multiple variables for different containers/listitems but the variables are otherwise the same.

This function takes over the heavy lifting of having to create variables like this:
xml:

<variable name="Container_52_Poster_1">
<value condition="!String.IsEmpty(Container(52).ListItem(1).Art(tvshow.poster))">$INFO[Container(52).ListItem(1).Art(tvshow.poster)]</value>
<value condition="!String.IsEmpty(Container(52).ListItem(1).Art(poster))">$INFO[Container(52).ListItem(1).Art(poster)]</value>
</variable>
<variable name="Container_52_Poster_2">
<value condition="!String.IsEmpty(Container(52).ListItem(2).Art(tvshow.poster))">$INFO[Container(52).ListItem(2).Art(tvshow.poster)]</value>
<value condition="!String.IsEmpty(Container(52).ListItem(2).Art(poster))">$INFO[Container(52).ListItem(2).Art(poster)]</value>
</variable>
[etc.]

Basically, it makes it so you only have to define the first variable and then you just tell the script which Container IDs and ListItem positions you want the Template to build them for.

You can read more about the exact process here:
https://github.com/jurialmunkey/plugin.v...le-Builder
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 - 2020-04-22, 08:50
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2