Changing channels in Lua script

Discuss your Lua playlist, album art and interface scripts.
Marnix36
Blank Cone
Blank Cone
Posts: 12
Joined: 22 Mar 2011 12:00

Changing channels in Lua script

Postby Marnix36 » 06 Jun 2011 11:13

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

ale5000
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 03 Mar 2004 16:12
Operating System: Windows
Contact:

Re: Changing channels in Lua script

Postby ale5000 » 07 Jun 2011 16:45

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


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 2 guests