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.
 
 
 
 
 
 
Ilkka Ollakka 78973025e4 appletrailer: fix adding those other hd-resolutions besides 480p 16 years ago
..
README.txt Cannot read from probe, not from peek 17 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 appletrailers.lua add the forgotten vlc lua edition 17 years ago
appletrailers_iphone.lua appletrailer: fix adding those other hd-resolutions besides 480p 16 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 demuxer. 17 years ago
dailymotion.lua Dailymotion: fix double encoding in video description 17 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 Lua SD: Jamendo - using album_image will give better results than album_id 16 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 katsomo.lua: add code to handle both treeId and progId in url 17 years ago
koreus.lua Add Koreus Lua playlist file 17 years ago
lelombrik.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
megavideo.lua Simplify and fix some lua scripts. 18 years ago
metacafe.lua Simplify and fix some lua scripts. 18 years ago
mpora.lua LUA mpora parser: fix copyright year. 17 years ago
pinkbike.lua LUA playlist: add support for pinkbike videos. 17 years ago
rockbox_fm_presets.lua Rockbox FM radio presets parser script 17 years ago
vimeo.lua LUA playlist scripts: add support for Vimeo URL parsing. 17 years ago
youtube.lua lua: update the youtube script to the new version of their website 16 years ago
youtube_homepage.lua Update lua playlist scripts to new API. (untested) 18 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, youbtube.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 and strings. See lua/README.txt.