2019-12-01, 23:19
(2019-12-01, 17:29)nessus Wrote: Sorry... i had no idea that there was a "play" parameter available nor it's mentioning anywhere in the readme.It's a new feature, so I hadn't documented it yet.
It's working fine... thanks.
Documentation now added here:
https://github.com/jurialmunkey/plugin.v...r-function
(2019-12-01, 17:29)nessus Wrote: I am little confused about this!. When i change the type to "tv" in the plugin://....info=details
it returns a script error. Is this not available for tv shows?
If yes, how do get theListItem.Property(Creator)
to work because whatever i try it's always empty?. What am i missing here?
Yes details works with Tvshows. What is your full plugin path?
Also, don't use ListItem.IMDBNumber with Tvshows as lots of scrapers put the TVDb ID in that infolabel for tvshows (which wont work because its not the IMDb ID!). IMDb numbers will start with "tt", so you can check for them using a condition
String.StartsWith(ListItem.IMDBNumber,tt)
Use
&query=
instead (or &tmdb_id= if you have it).(2019-12-01, 17:29)nessus Wrote: Also, is theYes. The infolabel just contains a text name. The with_crew with_cast and with_people arguments take a plain text name, lookup the TMDb ID on the API using a search function, and then pass the ID to discover endpoint.ListItem.Property(Creator)
will work with the discover method the same likeListItem.Director
&ListItem.Writer
?
You can use anything that passes a person's name as text.
(2019-12-01, 17:29)nessus Wrote: One more... is the "status" info for tv shows (eg cancelled) available in the API?
I think so. I'll have a look at adding it.