2016-03-09, 02:31
(2016-03-09, 02:12)YippeeKaiay Wrote: Hi. I'm having some issues with shortcuts caching and never updating lists. I have searched the thread and tried a solution adding /?a=1 at the end and works for most addons but not others as it just brings up a script error. Does anyone know of any ither solutions or is it possible to add an option in settings to disable any caching in skin shortcuts. Thanks
Skin Shortcuts doesn't do any caching, it just asks Kodi to open a particular path. If the contents you see are a cached version it's Kodi's doing, not the scripts.
However there is a workaround, as you're already half-way to, which tricks Kodi into never using a cached version. With what you have, If the path already has a ? in it, use a & and don't add a slash. If it doesn't, use ? (and still be careful with adding slashes). However, I prefer something like:
Code:
?trickToReload=$INFO[System.Time(hh:mm:ss)]
(Obviously using ? or & correctly). You can use anything you want for 'trickToReload', and indeed for whatever comes after the =, though the idea with this method is to use something that's going to be different each time you click the shortcut. That way, Kodi will think its a path its never accessed before and so can't return a cached version even if it wants to.
Having said all of that, if anyone who is experiencing Kodi returning cached lists can reproduce it via adding the same shortcut to favourites and accessing it in Confluence/Estuary, it would be nice if they would report these cached lists as a bug to Team Kodi.