2020-01-12, 00:31
(2020-01-11, 15:13)bsoriano Wrote:(2020-01-11, 14:28)jurialmunkey Wrote: @nessus - Okay, I've fixed the bug in service monitor so that it will work again with people (I forgot that I changed the dbtype from actor and so the service monitor was no longer matching). Now you can use a variable fallback for the info in those cases where Kodi doesn't allow a custom oninfo command (e.g. on widgets)@jurialmunkey, this applies to all person details info labels, like number of movies in db, etc.?
e.g.
Code:
<variable>
<value condition="!String.IsEmpty(ListItem.Property(biography))">$INFO[ListItem.Property(biography)]</value>
<value condition="!String.IsEmpty(Window(Home).Property(TMDbHelper.ListItem.Biography))">$INFO[Window(Home).Property(TMDbHelper.ListItem.Biography)]</value>
</variable>
Regards,
Bart
It was originally only online info (e.g. you could get NumItems.TMDb.* but not NumItems.DBID.*) as I intend the service monitor to be an online look-up service. Since we can't override oninfo to run the script and get full info on widget items, I've added the kodi library stats look-up to the service monitor for people.
So now you should get both
Window(Home).Property(TMDbHelper.ListItem.NumItems.TMDb.***)
Window(Home).Property(TMDbHelper.ListItem.NumItems.DBID.***)
Should be able to get these properties now:
numitems.dbid.movies
numitems.dbid.tvshows
numitems.dbid.episodes
numitems.dbid.total
In addition to these properties that are already available:
numitems.tmdb.movies.cast
numitems.tmdb.movies.crew
numitems.tmdb.movies.total
numitems.tmdb.tvshows.cast
numitems.tmdb.tvshows.crew
numitems.tmdb.tvshows.total
numitems.tmdb.cast
numitems.tmdb.crew
numitems.tmdb.total