How to set the input from Lua Add-on

Discuss your Lua playlist, album art and interface scripts.
destroyedlolo
Blank Cone
Blank Cone
Posts: 15
Joined: 19 Jan 2014 18:10

How to set the input from Lua Add-on

Postby destroyedlolo » 19 Jan 2014 18:33

Hello,

I'm currently working on an add-on to control a GoPro from VLC.
The only thing I didn't find out is to tell VLC to play GoPro's live steaming : http://10.5.5.9:8080/live/amba.m3u8

Any tips welcome :mrgreen:

Laurent

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How to set the input from Lua Add-on

Postby mederi » 21 Jan 2014 12:43

Adding new item in playlist starts to play it:

Code: Select all

vlc.playlist.add({{path="http://10.5.5.9:8080/live/amba.m3u8"}})

destroyedlolo
Blank Cone
Blank Cone
Posts: 15
Joined: 19 Jan 2014 18:10

Re: How to set the input from Lua Add-on

Postby destroyedlolo » 24 Jan 2014 22:53

Working fine, thanks a lot :)


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 8 guests