Page 1 of 1

Changing channels in Lua script

Posted: 06 Jun 2011 11:13
by Marnix36
Hello,

I just downloaded the Lua script of RAI TV (http://addons.videolan.org/content/show ... ent=141890).
I was wondering if it is possible to change a television channel in this Lua script. For example I want to add the following stream to the Lua script:
http://cdn.livestream.com/grid/LSPlayer ... oPlay=true

Does anyone know how to do this?
I tried to change the 'url path' from a Rai channel into the 'url path' above but it was not working.

Hope someone could help me!

Thanks in advance.

Marnix

Re: Changing channels in Lua script

Posted: 07 Jun 2011 16:45
by ale5000
What is the point of editing if what you do isn't related to Rai?
Also your link doesn't seem to work at all.

Just do a new script like this:

Code: Select all

function descriptor() return { title="Script name" } end function main() node = vlc.sd.add_node( {title="abcd"} ) node:add_subitem( {title="efgh", path="http://www.example.com/example.asf"} ) end