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 87fcede4b4 youtube.lua: handle relative reference in javascript URL 13 years ago
..
README.txt lua: fix available module lists in README files 14 years ago
anevia_streams.lua typo 17 years ago
anevia_xml.lua A simplistic parser for the new and improved anevia playlist format. 17 years ago
appletrailers.lua appletrailer: small fix to get correct trailer type on playlist 13 years ago
bbc_co_uk.lua Add support for bbc.co.uk iPLayer URLs (LUA Script) 18 years ago
break.lua Syntax error: missing closing bracket 18 years ago
canalplus.lua Simplify and fix some lua scripts. 18 years ago
cue.lua cue.lua: remove tabs 13 years ago
dailymotion.lua dailymotion.lua: fix page parsing 13 years ago
extreme.lua Cleanup lua script escape sequences for lua 5.2. 14 years ago
france2.lua Simplify and fix some lua scripts. 18 years ago
googlevideo.lua Simplify and fix some lua scripts. 18 years ago
jamendo.lua Fixed jamendo playlist demuxer. 14 years ago
joox.lua Move lua{intf,playlist,meta} to lua/{intf,playlist,meta}. I haven't been able to check the changes to the Win32 and Mac OS X specific Makefile.am parts. 18 years ago
katsomo.lua Cleanup lua script escape sequences for lua 5.2. 14 years ago
koreus.lua Koreus: fix on broken pages 14 years ago
lelombrik.lua LUA: use FromCharset() 16 years ago
liveleak.lua lua: add Liveleak playlist parser 14 years ago
metacafe.lua Simplify and fix some lua scripts. 18 years ago
metachannels.lua metachannels: properly resolve xml entities 14 years ago
mpora.lua Cleanup lua script escape sequences for lua 5.2. 14 years ago
pinkbike.lua Cleanup lua script escape sequences for lua 5.2. 14 years ago
pluzz.lua lua playlist: extend pluzz.lua to handle france4. 14 years ago
rockbox_fm_presets.lua Rockbox FM radio presets parser script 17 years ago
soundcloud.lua lua soundcloud: fetch artwork 14 years ago
vimeo.lua vimeo.lua: rewrite due to website changes 13 years ago
youtube.lua youtube.lua: handle relative reference in javascript URL 13 years ago
youtube_homepage.lua Update lua playlist scripts to new API. (untested) 18 years ago
zapiks.lua Lua: zapiks.fr playlist parser. 15 years ago

README.txt

Instructions to code your own VLC Lua playlist script.
$Id$

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

Examples: See dailymotion.lua, googlevideo.lua, metacafe.lua, youtube.lua
and youtube_homepage.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.