[Solved] Adding a link to veetle plugin from other addon
#1
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.

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
Reply
#2
I managed to solve it. Thanks anyway!
Reply
#3
Hey I'm having the same issue, the link I get doesn't take to the plugin specified by 'url'. How did you solve this?
Reply
#4
if you are linking to a playable url resolved by another plugin, you have to mark it as such (playable).
Reply
#5
If i wan't this link http://veetle.com/index.php/channel/view/50f0705b85717/ to work on an strm file, what have to be in the strm file ?
Reply
#6
(2013-11-20, 15:40)Kjartansson Wrote: If i wan't this link http://veetle.com/index.php/channel/view/50f0705b85717/ to work on an strm file, what have to be in the strm file ?

Off-topic for this thread.
Reply

Logout Mark Read Team Forum Stats Members Help
[Solved] Adding a link to veetle plugin from other addon0