Bug #245
closedConfluence Lite > Home Addons - Script failure
0%
Description
Forum thread:
http://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=1599
From adding more debug information to the log (cwd, id, locations) it appears that when the addon is called from the Home Page (using ActivateWindow) the cwd variable is blank and that seems to cause the issue. When running the same addon from the Video > Addons it seems to work ok, cwd is populated correctly. To make things even more confusing when testing, if you run it first from Video > Addons, it seems to work later from Home screen.
I would think a solution is changing xbmcaddons.py at line 43 where it's trying to build the plugin://video/xxx path from the id, I think that's incorrect (generating in fact plugin://plugin/video).
I've attached logs with each scenario and a diff with a proposed fix. A small addition if a blank cwd is valid is to not add it to "locations", to speed things up a little in that case.
Files