2013-03-07, 04:02
Hi all,
Basically I would like to call the tomm0's veetle plugin after parsing the veetle channelid of a given stream (as with sportsdevil for instance). If I create a .strm file containing this link:
plugin://plugin.video.veetle/?channel=(channelid here)
I am able to play it fine in xbmc.
However if I add the above 'link' (plugin://plugin.video.veetle/?channel=(channelid here)) as the url argument of the addLink function below, nothing happens.
The log is above:
Any help or hint would be great!
Regards
Basically I would like to call the tomm0's veetle plugin after parsing the veetle channelid of a given stream (as with sportsdevil for instance). If I create a .strm file containing this link:
plugin://plugin.video.veetle/?channel=(channelid here)
I am able to play it fine in xbmc.
However if I add the above 'link' (plugin://plugin.video.veetle/?channel=(channelid here)) as the url argument of the addLink function below, nothing happens.
Code:
def addLink(name,url,iconimage):
ok=True
liz=xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage)
liz.setProperty('fanart_image', addonfolder + artfolder + 'fanart.png')
liz.setInfo( type="Video", infoLabels={ "Title": name } )
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=url,listitem=liz)
return ok
The log is above:
Quote:01:28:36 T:139967135135488 NOTICE: -->Python Interpreter Initialized<--
01:28:36 T:139967135135488 NOTICE: [plugins.video.veetle] VeetleProxyServer: 'Starting proxy server...'
01:28:36 T:139967135135488 NOTICE: [plugins.video.veetle] VeetleProxyServer: 'Proxy server started'
01:28:36 T:139967749682944 NOTICE: Thread XBPyThread start, auto delete: false
01:28:36 T:139967749682944 NOTICE: -->Python Interpreter Initialized<--
01:28:36 T:139967749682944 NOTICE: XBMCLocalProxy Starts - 127.0.0.1:64653
01:28:37 T:139967135135488 WARNING: Attempt to use invalid handle -1
01:28:45 T:139967135135488 NOTICE: Thread XBPyThread start, auto delete: false
01:28:45 T:139967135135488 NOTICE: -->Python Interpreter Initialized<--
01:28:45 T:139967741290240 NOTICE: XBMCLocalProxy: Serving GET request...
01:28:45 T:139967741290240 NOTICE: request_path: version
01:28:45 T:139967741290240 ERROR: 127.0.0.1 - - [07/Mar/2013 01:28:45] "GET /version HTTP/1.1" 200 -
01:28:46 T:139967135135488 WARNING: Attempt to use invalid handle -1
Any help or hint would be great!
Regards