文件最后提交记录最后更新时间
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
A simplistic parser for the new and improved anevia playlist format. Instead of depending on a full xml parser --unavailable in our lua-- we just assume one bit of information to occupy one line (jpsaman). In case there are no newlines, fake them (jpd). 16 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
dailymotion.lua: make website tag stripping robust against more languages This supports languages using more diacritics, and using other scripts than Latin. It still fails for at least Chinese. (cherry picked from commit b32d291f2334f3f157fbbc18c2fb50c9c462d5d0) Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr> 5 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
lua: simplexml: do not use deprecated module function (cherry picked from commit c8a59b0ed0335ed3c6014314b97e2aa896690377) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
koreus.lua: tighten URL probe function Ref. #17488 9 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
vimeo.lua: parse fully-parametered API URL from web page Full parameters are required for compatibility with some videos. We still keep the hard-coded pattern as fallback. (cherry picked from commit f540af2f722921e689ba0ff57f7d392d94940d50) Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr> 7 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
youtube.lua: update for player config definition site change Fixes #27529 (cherry picked from commit a0b3c43815328dd5e73485f912ee2fb9e46bfb4a) Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz> 3 年前
share: lua: remove $Id$ magic comments These were used by SVN, we are no longer using that though. (cherry picked from commit 6995265a57b450c614033dd38b5f022e5886be6d) Signed-off-by: Marvin Scholz <epirat07@gmail.com> 3 年前
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( ): return the first characters from the playlist file.
  • vlc.read( ): read 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.