(2016-02-27, 22:35)DEcosse Wrote: The 'special' thing about that list, is it is actually sourced from a 'remote' location
i.e. if I add a show to that list, it will appear in my 'collection' for that add-on on ALL my systems, without having to add it independently.
(It's using trakt.tv to maintain that list)
Now - when I open that shortcut from the created shortcut from the custom home menu, I can now see that the 'list' displayed, is actually an older version, that does not contain the latest additions
(and as before, when I try to open one of the shows from that list, it errors)
But if I go to that same list, directly from the add-on itself, I DO see the latest additions and the links work directly.
i.e. the home menu shortcut appears to be pointing to an 'outdated' list, rather than the current one??
One more thing I notice is that when I create the shortcut and scroll through the levels to get to that collection, the collection 'list' (from where I select 'create shortcut to here) actually shows the full populated list; however again, when I launch it from the home shortcut, the 'old' (incomplete) list is displayed.
I eventually tracked down a solution to this issue: -
http://forum.kodi.tv/showthread.php?tid=...pid2225466
Here is the same issue (using different add-on, but problem is the same)
(2016-01-25, 18:52)bigbadrabbit Wrote: I tried creating a direct shortcut to one of my youtube subscriptions but after creating it never updates the content and is stuck to the time of adding the shortcut.
The same happens with iTunes Movie Trailers addon.
They only update in widget mode but not on opening the shortcut itself.
Is this a problem with the skin.shortcuts-script or the skin itself (currently Arctic Zephyr)? Thanks.
And here is the solution:
(2016-01-25, 19:31)BobCratchett Wrote: It's likely to be the known problem with some add-ons including YouTube which seems to be caused by the way they pass variables through the uri.
For whatever reason, when they do it in the way that YouTube does it, Kodi uses a cached version when opening a link directly to it.
To know whether it is this issue or not, look at the path for the shortcut - if it doesn't have a ?[variable]=[value] part at the end, it most likely is.
You can try and fool Kodi into not using a cached version by changing the action - 'Change Action' > 'Custom Shortcut >' (the last one in the list) and add a property to the path. So, YouTube's Popular Right Now would change from:-
Code:
ActivateWindow(10025,"plugin://plugin.video.youtube/special/popular_right_now/",return)
to something like:-
Code:
ActivateWindow(10025,"plugin://plugin.video.youtube/special/popular_right_now/?variable=$INFO[System.TotalUptime]",return)
(The name of the variable, nor the value, actually matter - though I like $INFO[System.TotalUptime] as it will always be different each time the shortcut is accessed, guaranteeing Kodi sees it as a fresh path each time and therefore can't use a cached version. But just ?a=1 should be enough for Kodi to not always use the cached version...)
This WORKS!
By adding the variable it avoids the cached version.
I was using different add-on, not the illustrated YouTube, but the process is the same - just modify the appropriate string accordingly.
For BGN, go into Customize Menu Items & Widgets then find & highlight the already entered shortcut on the left panel, then select 'change action' in right panel and scroll down to select 'Custom Item';
then just modify the string of your existing shortcut, adding the variable component at the end (as per illustrated above: ?variable=$INFO[System.TotalUptime] )
The only 'negative' is when the shortcut is launched, it will display the default list view every time and you must open the left pull-out to change the view every time is launched;
is there a way to modify the script so that it can launch in a different view (i.e. Panel or some other Thumbnail view)