Kodi plugin
Posted: Mon May 18, 2015 5:46 pm
Hi is it possible to execute a kodi python script without running kodi?
A small, affordable computer with free resources to help people learn, make things, and have fun
https://www.raspberrypi.org/forums/
https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=110868
What script do you want to run? As Dougie says, kodi scripts are likely to use the kodi/xbmc modules.expandables wrote:Hi is it possible to execute a kodi python script without running kodi?
Code: Select all
#item_info_name=title
#item_info_from=@PARAM1@
#item_info_build=iLive - %s
item_info_name=pageUrl
item_info_from=@PARAM1@
item_info_build=http://www.streamlive.to/embedplayer.php?width=640&height=400&channel=%s&autoplay=true
item_info_name=req
item_info_from=pageUrl
item_info_convert=getInfo('%s','.getJSON("([^'"]+)".streamer[:,]\s'"['"].file[:,]\s*'".flv['"]','@REFERER@','server|rtmp.tmp|file')
item_info_build=%s
item_info_name=token
item_info_from=http:' + server
item_info_convert=getInfo('%s','.?token":"([^'"]+).','http://www.streamlive.to/embedplayer.php')
item_info_build=%s
item_info_name=rtmp
item_info_from=rtmp.tmp
item_info_convert=replace('%s','\','')
#item_info_convert=replace('%s','watch1','watch3')
item_info_build=%s
item_info_name=app
item_info_from=rtmp
item_info_convert=parseText('%s','..rtmp://[.\w:]*/([^\s]+)')
item_info_build=%s
item_info_name=url
item_info_from=rtmp + ' app=' + app + ' playpath=' + file + ' swfUrl=http://www.streamlive.to/player/player_ilive_embed.swf live=1 timeout=15 token=' + token + ' swfVfy=1 pageUrl=http://www.streamlive.to
item_info_build=%sCode: Select all
var token="";
$.getJSON("http://www.streamlive.to/server.php?id=1431994548", function(json){
token= json.token;
setStream(token);Ditto.elParaguayo wrote:I'm sorry but I'm not going to help on this as that's one of the banned add-ons on Kodi.