2010-01-30, 22:29
Hi all,
I'm trying to understand how to use the xbmcplugin.setResolvedUrl(handle, succeeded, listitem) function.
The problem I get now is that my plugin is being called with sys.argv[1] = -1 which causes the call to setResolvedUrl to fail with an error message in the log:
All that I do when adding an item to resolve to a Folder is make it isFolder=False.
Do I need to do something else?
Anyone have any idea what I'm doing wrong?
Thanks in advance,
G.
I'm trying to understand how to use the xbmcplugin.setResolvedUrl(handle, succeeded, listitem) function.
The problem I get now is that my plugin is being called with sys.argv[1] = -1 which causes the call to setResolvedUrl to fail with an error message in the log:
Quote:NOTICE: calling with args: ['plugin://video/tvshack/', '-1', '?url=%2Ftv%2FBetter_Off_Ted%2Fseason_2%2Fepisode_9%2F&mode=2&name=Season+2++ep9.+The+Long+and+Winding+High+Road']
(... some more logging ...)
ERROR: SetResolvedUrl - called with an invalid handle
All that I do when adding an item to resolve to a Folder is make it isFolder=False.
Do I need to do something else?
Anyone have any idea what I'm doing wrong?
Thanks in advance,
G.