2019-08-06, 16:48
tomatometerallcritics or tomatometeravgcritics ? ^^
(2019-08-06, 16:48)sualfred Wrote: tomatometerallcritics or tomatometeravgcritics ? ^^
(2019-08-06, 23:48)sualfred Wrote: Jurialmunkey added a function for this:Annoyingly, the API only exposes that info with the search call. It doesn't expose it in the detailed info for some reason.
https://forum.kodi.tv/showthread.php?tid...pid2874999
Edit:
But I'm not quite sure if he has added the field information that tmdb returns for searches based on a query.
@jurialmunkey
Do you added the "known_for" information to this output?
(see https://api.themoviedb.org/3/search/pers...dult=false)
Edit 2:
You also could get rid of my getcast method and replace it with a direct call with his addon. With this approach and some hidden containers you could build a more "x-ray" like feature. He also stores the tmdb_id information of the actors so calling Embuary Info is still supported.
xml:plugin://plugin.video.themoviedb.helper/?info=search&type=person&query=ACTORNAME
xml:ListItem.Property(known_for)
ListItem.Property(known_for.1.title)
ListItem.Property(known_for.1.tmdb_type)
ListItem.Property(known_for.1.tmdb_id)
xml:Container(ID).ListItemAbsolute(0).Property(known_for)
xml:plugin://plugin.video.themoviedb.helper/?info=stars_in_movies&type=movie&tmdb_id=$INFO[Container(ID).ListItemAbsolute(0).Property(tmdb_id)]
(2019-08-06, 16:40)Hitcher Wrote:(2019-08-06, 06:41)mardukL Wrote: Did you already implement this?That's not a valid info label. These are the values Universal Scraper uses -
$INFO[Container(my-hidden-container-id).listitem.Rating(rottentomatoes)] - it remains empty
xml:Listitem.Rating(tomatometerallcritics)
Listitem.Rating(tomatometeravgcritics)
Listitem.Rating(tomatometerallaudience)
Listitem.Rating(tomatometeravgaudience)
xml:<onload>RunScript(script.embuary.helper,action=getkodisetting,setting=videoplayer.seeksteps)</onload>
<onload>RunScript(script.embuary.helper,action=split,value='$ESCINFO[Window(home).property(videoplayer.seeksteps)]',separator='", "',prop=MySplit)</onload>
xml:
Playliststats
Playliststats is used when a playlist or videonode is set as the onclick action in the (Home) menu. Example: Put a list in your Home.xml:
<control type="list" id="43260"> <posx>0</posx> <posy>0</posy> <width>1</width> <height>1</height> <focusedlayout/> <itemlayout/> <content>plugin://service.library.data.provider?type=playliststats&id=$INFO[Container(9000).ListItem.Property(Path)]</content> </control>
The Path property has the onclick action defined. 9000 is the ID of the Home main menu. The following properties are available when the menu item containing the playlist or video node is highlighted:
Window(Home).Property(PlaylistWatched)
Window(Home).Property(PlaylistCount)
Window(Home).Property(PlaylistTVShowCount)
Window(Home).Property(PlaylistInProgress)
Window(Home).Property(PlaylistUnWatched)
Window(Home).Property(PlaylistEpisodes)
Window(Home).Property(PlaylistEpisodesUnWatched)