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 f7686767fc soundcloud.lua: update API magic 9 years ago
..
README.txt lua: update playlist script examples in README.txt 10 years ago
anevia_streams.lua anevia_streams.lua: partially tighten URL probe function 10 years ago
anevia_xml.lua A simplistic parser for the new and improved anevia playlist format. 17 years ago
appletrailers.lua appletrailers.lua: Fix script for website changes 10 years ago
bbc_co_uk.lua lua: tighten URL probe functions of playlist scripts 10 years ago
break.lua lua: tighten URL probe functions of playlist scripts 10 years ago
canalplus.lua lua: tighten URL probe functions of playlist scripts 10 years ago
cue.lua cue.lua: improve probing 10 years ago
dailymotion.lua lua: don't return pointless, wrong URL meta data 10 years ago
extreme.lua lua: fix and tighten URL probe functions of playlist scripts 10 years ago
france2.lua lua: update and tighten URL probe functions of playlist scripts 10 years ago
jamendo.lua lua: tighten URL probe functions of playlist scripts 10 years ago
katsomo.lua lua: tighten URL probe functions of playlist scripts 10 years ago
koreus.lua koreus.lua: tighten URL probe function 10 years ago
lelombrik.lua lua: tighten URL probe functions of playlist scripts 10 years ago
liveleak.lua liveleak.lua: Improve URL probe function 10 years ago
metacafe.lua lua: tighten URL probe functions of playlist scripts 10 years ago
mpora.lua lua: update and tighten URL probe functions of playlist scripts 10 years ago
newgrounds.lua newgrounds.lua: fix typo in error message 10 years ago
pinkbike.lua lua: tighten URL probe functions of playlist scripts 10 years ago
pluzz.lua lua: fix and tighten URL probe functions of playlist scripts 10 years ago
rockbox_fm_presets.lua rockbox_fm_presets.lua: big clean up 10 years ago
soundcloud.lua soundcloud.lua: update API magic 9 years ago
vimeo.lua vimeo.lua: tighten player.vimeo.com probe 10 years ago
vocaroo.lua vocaroo.lua: tighten URL probe function 10 years ago
youtube.lua youtube.lua: fix description parsing 10 years ago
zapiks.lua lua: fix and tighten URL probe functions of playlist scripts 10 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 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.