Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2019-09-18, 00:08)jurialmunkey Wrote:
(2019-09-17, 02:16)bsoriano Wrote: @jurialmunkey , thanks so much for adding the picker function when there are multiple items in the same info label, this is awesome.  I just tested it with Director, and Writer, and it works great, both in showing the select dialog for multiple items, and for showing multiple items found in tmdb with the same name.

Now how would I change the query if I want to use the function with Genre, or Studio? I know Country is out of the question, since there is no API call in tmdb.

Thanks again for taking skinning to new levels!

Regards,

Bart

How are you envisaging that a Genre or Studio call would work?
If it was done onload of dialogvideoinfo, then you would get multiple pop-ups (one for each list) which would get annoying very quickly.

The only way I can think of having this work is:
1. A "genres" button in dialogvideoinfo that opens a list of the genres.
2. Selecting a genre looks up its TMDb ID and sets it to a Window Property.
3. The plugin path in dialogvideoinfo uses a variable checks for the Window Property and uses it if set.
4. onunload of dialogvideoinfo the property is cleared.

Is this how you are envisaging it would work? 
@jurialmunkey , thanks! Ideally, what I had in mind was this:

1. The user clicks on the genre (multiple items separated by / )
2. Show a select dialog asking them to either search online in tmdb or search locally
3. If search online, run your plugin to show another select dialog with the separated genres, so that the user can choose one
4. With that selected genre, I got as far as thinking that since what I want is a list of movies that have that genre, your plugin already has that call that can be used as the content for a list. After reading your message now, I got to thinking that perhaps what I could do is open a custom window with the list of movies that have that genre.
So I guess the plugin could set a window property with the selected genre, and then I could open a custom window with the list, using the same type of content path as the custom info list of more movies of a genre that I already have in dialogvideoinfo
5. If search locally, use embuary.helper to show another select dialog with the separated genres, so that the user can choose one
6. With that selected genre, open my custom search window to show movies with that genre.

What do you think? Do you see this a doable? The same thing could be applied to Studio.

Please let me know if you think this is something that you would want to do or if you think of a different/better solution.  The local part I have almost completely working with embuary.helper, sualfred created a function in his script that splits the items and shows a select dialog with the splitted items as choices.

Thank you 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 - 2019-09-18, 00:55
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2