Posts: 7,805
Joined: Feb 2013
Reputation:
1,484
2017-02-05, 03:08
(This post was last modified: 2017-02-05, 05:26 by jurialmunkey.)
Is there something I'm missing with RottenTomatoes? Do I need to enable some property or add some setting to get it to work.
Updating my properties to
Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter)
Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Consensus)
And seem to be getting nothing. However, SkinHelper.ListItem.Revenue.formatted is working fine (which used to be a rotten tomatoes property).
EDIT: Nevermind. Seems to be working. Though for some movies it doesn't seem to be updating (e.g. Avatar or Alien) -- though I feel like it might be something on my end.
Posts: 7,805
Joined: Feb 2013
Reputation:
1,484
Bug: When in movies, it seems that SkinHelper.ListItem.Duration.Hours is returning "1" rather than "0" or nothing for movies that are under 60 mins. It doesn't seem to do the same with tv shows.
I have a bunch of big buck bunny test clips that are a little over 1 min that are getting reported as 1hr 1min (using a combo of Duration.Hours and Duration.Minutes). I also 15 minute segment of kindergarten cop that gets reported as 1hr 15min.
Of course, I can use a variable or visible condition to check if the duration is under 60 mins, but really the hours code should return a blank.
If you need a debug log let me know.
Posts: 8,283
Joined: Jul 2014
(2017-02-05, 03:08)jurialmunkey Wrote: EDIT: Nevermind. Seems to be working. Though for some movies it doesn't seem to be updating (e.g. Avatar or Alien) -- though I feel like it might be something on my end.
You could try to enable kodi debug logging to check if any errors are reported.
The whole thing relies on the IMDB correctly scraped in the Kodi db. If empty it will fallback to the title for lookups (but that's not 100% reliable).
Posts: 8,283
Joined: Jul 2014
(2017-02-05, 03:10)shaneypoopers Wrote: Having looked at it for a while the two widgets that are updating on selection at the PVR ones, the others seem to load in the background. Maybe there is an issue with the nextpvr add-on, I'm not sure if it is set up for Krypton yet.
In that case maybe the skin included some code to force refresh the pvr widget. Please ask on the skin's support thread.
By default, pvr widgets are refreshed every 5 minutes (as there is no way to determine changes to pvr).
(2017-02-05, 03:10)shaneypoopers Wrote: I have the PVR source folder setup as a widget as a workaround. Is there a way to organise widget items by date? So that most recent recordings are at the top? I don't see an option for it.
No, you should use the special widgets instead.
(2017-02-05, 03:10)shaneypoopers Wrote: Still can't get the favourites to work on the network share. This should work though?
I don't think it's supported by the code if you have your favourites on a non-local location. Do you see any errors in the kodi logfile ?
Posts: 8,283
Joined: Jul 2014
(2017-02-05, 03:48)komplex Wrote: Tried
PHP Code:
plugin://script.skin.helper.widgets/?action=nextaired&mediatype=episodes&reload=$INFO[Window(Home).Property(widgetreload2)]
And
PHP Code:
plugin://script.skin.helper.widgets/?action=nextaired&mediatype=episodes&reload=$INFO[Window(Home).Property(widgetreload2)]
And tried selecting from within Titans widget menu and still get the same response
PHP Code:
WARNING: Skin Helper Widgets --> Incorrect widget action or type called !
It's not just the nextaired one i get the same warning and no widget when i use the unaired one too
Strange... it should all work perfectly fine.
Sure you're on the latest versions of all ?
Posts: 8,283
Joined: Jul 2014
(2017-02-05, 11:21)jurialmunkey Wrote: Bug: When in movies, it seems that SkinHelper.ListItem.Duration.Hours is returning "1" rather than "0" or nothing for movies that are under 60 mins. It doesn't seem to do the same with tv shows.
Thanks for the catch, this will be fixed in next update (and just in time for the stable version).
Note however that data still in the cache will stay in there for a while.
Posts: 8,283
Joined: Jul 2014
(2017-02-05, 22:51)komplex Wrote: Thought it might be something to do with how PlexKodiConnect adds items to the db so done a fresh install (deleted AppData\Roaming\Kodi) and just added your repo and titan to test on. Added tv from smb://192.168.0.2/TV/ and tested again. Used the "Next airing episodes" from the widget menu and i still get PHP Code:
WARNING: Skin Helper Widgets --> Incorrect widget action or type called !
so i've given up on it lol. Here's a log incase someone wants to see what's going on http://pastebin.com/raw/p3pLnmE0
Ah, now I see. The inner exception is swallowed so there is something going on I didn't expect to happen, most probably in one of the underlying modules to get the data from tvdb.
version 1.0.18 of the widgets addon is now uploading to the repo. Please test with that, it will print the full exception in the log. I need that to fix your issue.