Kodi Community Forum

Full Version: Problem with os.startfile on non Windows and question about --weeb param replacement.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.

I made simple script and with little bit lame code using some solutions from Log Uploader script and place it at: http://olesio.eu/plugin.video.open.url.f...es-0.1.zip - my goal is to select url entry in log files on list. And after pressing Enter/Click/Tap on position it should open in default application. For example http:// in default web browser. Under Windows all is ok. I googled these import startfile.py but under Android it do not work. How to fix that code to work at Android/ISO devices? I own Andorid Tablet and I want after click for example on link with http:// at begin, that Android shows me requester which I can choose default Internet browser (icon with blue Globe), Opera Classic, MX Player etc. And after selecion it opens fine. But it shows always that line and next after it dialog with error message:
Code:
res = 'Problem with open\n%s' % wholeurl
Please send me some ready code solutions if possible.

Second question how should be free weeb.tv RTMP streams executed properly under XBMC?

EDIT: problem solved. I analyzed original weeb.tv plugin and solve my problem. Below is like whole url to pass to player should look like. First problem is still actual. So please answet me, if some one know anything about it.
Code:
wholeurl = rtmplink + '/' + playpath + ' live=true pageUrl=token swfUrl=' + token