~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to share/lua/intf/README.txt

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-09-17 21:56:14 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080917215614-tj0vx8xzd57e52t8
Tags: 0.9.2-1ubuntu1
* New Upstream Release, exception granted by
    - dktrkranz, norsetto, Hobbsee (via irc). LP: #270404

Changes done in ubuntu:

* add libxul-dev to build-depends
* make sure that vlc is build against libxul in configure. This doesn't
  change anything in the package, but makes it more robust if building
  in an 'unclean' chroot or when modifying the package.
* debian/control: make Vcs-* fields point to the motumedia branch
* add libx264-dev and libass-dev to build-depends
  LP: #210354, #199870
* actually enable libass support by passing --enable-libass to configure
* enable libdca: add libdca-dev to build depends and --enable-libdca
* install the x264 plugin.

Changes already in the pkg-multimedia branch in debian:

* don't install usr/share/vlc/mozilla in debian/mozilla-plugin-vlc.install  
* new upstream .desktop file now registers flash video mimetype LP: #261567
* add Xb-Npp-Applications to mozilla-plugin-vlc
* remove duplicate entries in debian/vlc-nox.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Instructions to code your own VLC Lua interface script.
 
2
$Id$
 
3
 
 
4
See lua/README.txt for generic documentation about Lua usage in VLC.
 
5
 
 
6
Examples: rc.lua, telnet.lua and http.lua
 
7
 
 
8
The "config" global variable is set to the value specified in the
 
9
--lua-config VLC option. For example:
 
10
--lua-config "rc={a='test',c=3},telnel{a='hello'}"
 
11
config will be set to {a='test',c=3} in the rc interface, to {a='hello'}
 
12
in the telnet interface and won't be set in other interfaces. 
 
13
 
 
14
User defined modules stored in the share/lua/intf/modules/ directory are
 
15
available. For example, to use the sandbox module, just use
 
16
'require "sandbox"' in your interface.
 
17
 
 
18
VLC defines a global vlc object with the following members:
 
19
All the VLC specific Lua modules are available.