2019-11-29, 10:11
(2019-11-28, 09:36)nessus Wrote:(2019-11-27, 13:49)jurialmunkey Wrote: Good point about language flags. I've addedListItem.Property(Language.X.iso)
Also, N/A values from omdb should now be ignored.
Next question... in the standard video info dialog i have all these lists based on director, writer etc. I would like when an item of those lists are in library to be able to play it or browse it if it's tvshow, but atm that's no possible since theListItem.FilenameAndPath
is pointing to the themoviedb.helper path (plugin://plugin.video.themoviedb.helper/?info=details&...
). Is it possible to have the local FilenameAndPath... or maybe the script could to that automatically by default?.... or show the videoinfo for that item?. I don't mind. Whatever makes sense to you.
Another one... in TV shows, is the "Creator" of the show available by the API so we can add that in the same placeholder of the director in movies?
Thanks
Nessus
You can already play/browse dbid items:
Play Movie
Code:
<onclick>RunPlugin(plugin://plugin.video.themoviedb.helper/?info=play&tmdb_id=$INFO[ListItem.Property(tmdb_id)]&type=movie)</onclick>
Play Tvshow Episode
Code:
<onclick>RunPlugin(plugin://plugin.video.themoviedb.helper/?info=play&tmdb_id=$INFO[ListItem.Property(tmdb_id)]&season=1&episode=1&type=episode)</onclick>
Browse TvShow Seasons (use Container.Update method instead of ActivateWindow if already in video library).
Code:
<onclick>ActivateWindow(videos,videodb://tvshows/titles/$INFO[ListItem.DBID]/,return)</onclick>
Code:
<onclick>Container.Update(videodb://tvshows/titles/$INFO[ListItem.DBID]/)</onclick>
To Browse TvShow Seasons in TMDb Helper use this path instead:
Code:
plugin://plugin.video.themoviedb.helper/?info=seasons&tmdb_id=$INFO[ListItem.Property(tmdb_id)]&type=tv
You may need to close the video info dialog first using
<onclick>Dialog.Close(12003)</onclick>
I've added creators to latest github version:
ListItem.Property(Creator.X.Name)
ListItem.Property(Creator.X.TMDb_ID)
ListItem.Property(Creator) (all creators separated by "/")