• 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 85
Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
@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
Reply
(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?
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
(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
(2019-09-18, 00:55)bsoriano Wrote:
(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  
@jurialmunkey , I have everything setup as I wanted, using a custom search window with your plugin paths for content for genre and for studio.

Right now my issue is with person queries.  At least today, whenever I use the plugin add_query function, I do not get the person info window.  From what I can see in the log, tmdb is throwing http 404 errors:

xml:

2019-09-18 16:00:22.915 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... https://api.themoviedb.org/3/search/Peter Hutchings / Sophie Kinsella?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&query=Sophie Kinsella
2019-09-18 16:00:23.192 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            HTTP Error Code: 404
2019-09-18 16:00:23.192 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            Unable to find TMDb ID!
                                            Query: Peter Hutchings / Sophie Kinsella Type: person

It doesn't look like any person queries are working.  TMDb issue?  Any ideas?

Regards,

Bart
Reply
@jurialmunkey , on another note, in order for the "studio" call to work with tv shows, from what I could see there is a discover "with_networks" call in the tmdb API.  However, if I understood correctly, it takes nwetork ids not network names, so you have to find the id from the name, like you do with the movie studios.  Is this something you would be willing to add? Thanks for considering this request.

Regards,

Bart
Reply
(2019-09-18, 22:06)bsoriano Wrote:
(2019-09-18, 00:55)bsoriano Wrote:
(2019-09-18, 00:08)jurialmunkey Wrote: 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  
@jurialmunkey , I have everything setup as I wanted, using a custom search window with your plugin paths for content for genre and for studio.

Right now my issue is with person queries.  At least today, whenever I use the plugin add_query function, I do not get the person info window.  From what I can see in the log, tmdb is throwing http 404 errors:

xml:

2019-09-18 16:00:22.915 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... https://api.themoviedb.org/3/search/Peter Hutchings / Sophie Kinsella?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&query=Sophie Kinsella
2019-09-18 16:00:23.192 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            HTTP Error Code: 404
2019-09-18 16:00:23.192 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            Unable to find TMDb ID!
                                            Query: Peter Hutchings / Sophie Kinsella Type: person

It doesn't look like any person queries are working.  TMDb issue?  Any ideas?

Regards,

Bart

Sorry, yeah it looks like I've introduced a bug where they aren't getting split correctly. I'll look at fixing it later today.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
(2019-09-18, 23:48)jurialmunkey Wrote:
(2019-09-18, 22:06)bsoriano Wrote:
(2019-09-18, 00:55)bsoriano Wrote: @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  
@jurialmunkey , I have everything setup as I wanted, using a custom search window with your plugin paths for content for genre and for studio.

Right now my issue is with person queries.  At least today, whenever I use the plugin add_query function, I do not get the person info window.  From what I can see in the log, tmdb is throwing http 404 errors:

xml:

2019-09-18 16:00:22.915 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... https://api.themoviedb.org/3/search/Peter Hutchings / Sophie Kinsella?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&query=Sophie Kinsella
2019-09-18 16:00:23.192 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            HTTP Error Code: 404
2019-09-18 16:00:23.192 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            Unable to find TMDb ID!
                                            Query: Peter Hutchings / Sophie Kinsella Type: person

It doesn't look like any person queries are working.  TMDb issue?  Any ideas?

Regards,

Bart 

Sorry, yeah it looks like I've introduced a bug where they aren't getting split correctly. I'll look at fixing it later today. 
Thanks!
Reply
This is an awesome addon.
Reply
(2019-09-18, 23:55)bsoriano Wrote:
(2019-09-18, 23:48)jurialmunkey Wrote:
(2019-09-18, 22:06)bsoriano Wrote: @jurialmunkey , I have everything setup as I wanted, using a custom search window with your plugin paths for content for genre and for studio.

Right now my issue is with person queries.  At least today, whenever I use the plugin add_query function, I do not get the person info window.  From what I can see in the log, tmdb is throwing http 404 errors:

xml:

2019-09-18 16:00:22.915 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            Requesting... https://api.themoviedb.org/3/search/Peter Hutchings / Sophie Kinsella?api_key=5e54cbb01927216a9583925bec1bf265&language=en-US&include_image_language=en,null&query=Sophie Kinsella
2019-09-18 16:00:23.192 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            HTTP Error Code: 404
2019-09-18 16:00:23.192 T:18446744073709551614  NOTICE: [plugin.video.themoviedb.helper]
                                            Unable to find TMDb ID!
                                            Query: Peter Hutchings / Sophie Kinsella Type: person

It doesn't look like any person queries are working.  TMDb issue?  Any ideas?

Regards,

Bart 

Sorry, yeah it looks like I've introduced a bug where they aren't getting split correctly. I'll look at fixing it later today. 
Thanks!

Okay - it should be fixed now. Can you test and confirm?
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
(2019-09-19, 01:08)shedrock Wrote: This is an awesome addon.

Thanks Big Grin
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
(2019-09-19, 01:17)jurialmunkey Wrote:
(2019-09-18, 23:55)bsoriano Wrote:
(2019-09-18, 23:48)jurialmunkey Wrote: Sorry, yeah it looks like I've introduced a bug where they aren't getting split correctly. I'll look at fixing it later today. 
Thanks! 

Okay - it should be fixed now. Can you test and confirm? 
@jurialmunkey , it is indeed fixed, thank you! Smile

Regards,

Bart
Reply
(2019-09-18, 22:35)bsoriano Wrote: @jurialmunkey , on another note, in order for the "studio" call to work with tv shows, from what I could see there is a discover "with_networks" call in the tmdb API.  However, if I understood correctly, it takes nwetork ids not network names, so you have to find the id from the name, like you do with the movie studios.  Is this something you would be willing to add? Thanks for considering this request.

Regards,

Bart

@jurialmunkey , I am not sure if you saw this yesterday? Thanks.

Regards,

Bart
Reply
(2019-09-20, 00:13)bsoriano Wrote:
(2019-09-18, 22:35)bsoriano Wrote: @jurialmunkey , on another note, in order for the "studio" call to work with tv shows, from what I could see there is a discover "with_networks" call in the tmdb API.  However, if I understood correctly, it takes nwetork ids not network names, so you have to find the id from the name, like you do with the movie studios.  Is this something you would be willing to add? Thanks for considering this request.

Regards,

Bart

@jurialmunkey , I am not sure if you saw this yesterday? Thanks.

Regards,

Bart
The plugin will automatically translate studio names passed to discover

EDIT: Sorry just realised you were talking about tv networks not movie studios. Shouldn't be too hard to add a translate function for them. I'll let you know when I add it it.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
Doing searchings in this add-on came a new option to my mind. The option is to see a history of latest searches (like in youtube add-on).
Supercalifragilisticexpialidocious! (inscribed in large friendly letters)
My hardware is a Raspberry Pi 3b (with LibreELEC)
Reply
(2019-09-20, 03:48)jurialmunkey Wrote:
(2019-09-20, 00:13)bsoriano Wrote:
(2019-09-18, 22:35)bsoriano Wrote: @jurialmunkey , on another note, in order for the "studio" call to work with tv shows, from what I could see there is a discover "with_networks" call in the tmdb API.  However, if I understood correctly, it takes nwetork ids not network names, so you have to find the id from the name, like you do with the movie studios.  Is this something you would be willing to add? Thanks for considering this request.

Regards,

Bart

@jurialmunkey , I am not sure if you saw this yesterday? Thanks.

Regards,

Bart
The plugin will automatically translate studio names passed to discover

EDIT: Sorry just realised you were talking about tv networks not movie studios. Shouldn't be too hard to add a translate function for them. I'll let you know when I add it it.

@jurialmunkey, now that you are getting the plugin ready for repo submission, could you please add the translate function for tv networks? Thanks.

Regards,

Bart
Reply
  • 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 85

Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2