You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Pierre Ynard b88da3715b youtube.lua: split stream URL parsing into separate function 3 years ago
..
README.txt share: lua: remove $Id$ magic comments 4 years ago
anevia_streams.lua share: lua: remove $Id$ magic comments 4 years ago
anevia_xml.lua A simplistic parser for the new and improved anevia playlist format. 17 years ago
appletrailers.lua share: lua: remove $Id$ magic comments 4 years ago
bbc_co_uk.lua share: lua: remove $Id$ magic comments 4 years ago
break.lua share: lua: remove $Id$ magic comments 4 years ago
cue.lua share: lua: remove $Id$ magic comments 4 years ago
dailymotion.lua dailymotion.lua: make website tag stripping robust against more languages 6 years ago
extreme.lua share: lua: remove $Id$ magic comments 4 years ago
france2.lua share: lua: remove $Id$ magic comments 4 years ago
jamendo.lua lua: simplexml: do not use deprecated module function 4 years ago
katsomo.lua share: lua: remove $Id$ magic comments 4 years ago
koreus.lua koreus.lua: tighten URL probe function 10 years ago
lelombrik.lua share: lua: remove $Id$ magic comments 4 years ago
liveleak.lua share: lua: remove $Id$ magic comments 4 years ago
metacafe.lua share: lua: remove $Id$ magic comments 4 years ago
mpora.lua share: lua: remove $Id$ magic comments 4 years ago
newgrounds.lua share: lua: remove $Id$ magic comments 4 years ago
pinkbike.lua share: lua: remove $Id$ magic comments 4 years ago
rockbox_fm_presets.lua share: lua: remove $Id$ magic comments 4 years ago
soundcloud.lua share: lua: remove $Id$ magic comments 4 years ago
twitch.lua share: lua: remove $Id$ magic comments 4 years ago
vimeo.lua vimeo.lua: parse fully-parametered API URL from web page 7 years ago
vocaroo.lua share: lua: remove $Id$ magic comments 4 years ago
youtube.lua youtube.lua: split stream URL parsing into separate function 3 years ago
zapiks.lua share: lua: remove $Id$ magic comments 4 years ago

README.txt

Instructions to code your own VLC Lua playlist script.

See lua/README.txt for generic documentation about Lua usage in VLC.

Examples: See liveleak.lua, dailymotion.lua, youtube.lua,
soundcloud.lua, cue.lua ...

VLC Lua playlist modules should define two functions:
* probe(): returns true if we want to handle the playlist in this script
* parse(): read the incoming data and return playlist item(s)
Playlist items use the same format as that expected in the
playlist.add() function (see general lua/README.txt)

VLC defines a global vlc object with the following members:
* vlc.path: the URL string (without the leading http:// or file:// element)
* vlc.access: the access used ("http" for http://, "file" for file://, etc.)
* vlc.peek( <int> ): return the first <int> characters from the playlist file.
* vlc.read( <int> ): read <int> characters from the playlist file.
THIS FUNCTION CANNOT BE USED IN probe().
* vlc.readline(): return a new line of playlist data on each call.
THIS FUNCTION CANNOT BE USED IN probe().

Available VLC specific Lua modules: msg, strings, stream, variables and
xml. See lua/README.txt.