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.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| README.txt | 4 years ago | |
| anevia_streams.lua | 4 years ago | |
| anevia_xml.lua | 17 years ago | |
| appletrailers.lua | 4 years ago | |
| bbc_co_uk.lua | 4 years ago | |
| break.lua | 4 years ago | |
| cue.lua | 4 years ago | |
| dailymotion.lua | 6 years ago | |
| extreme.lua | 4 years ago | |
| france2.lua | 4 years ago | |
| jamendo.lua | 4 years ago | |
| katsomo.lua | 4 years ago | |
| koreus.lua | 10 years ago | |
| lelombrik.lua | 4 years ago | |
| liveleak.lua | 4 years ago | |
| metacafe.lua | 4 years ago | |
| mpora.lua | 4 years ago | |
| newgrounds.lua | 4 years ago | |
| pinkbike.lua | 4 years ago | |
| rockbox_fm_presets.lua | 4 years ago | |
| soundcloud.lua | 4 years ago | |
| twitch.lua | 4 years ago | |
| vimeo.lua | 7 years ago | |
| vocaroo.lua | 4 years ago | |
| youtube.lua | 3 years ago | |
| zapiks.lua | 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.