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 d'Herbemont 9e8d19373c Python: Compilation fix. 19 years ago
..
Makefile.am bindings/python/Makefile.am: move COMPILERARG initialization in the all: target to make sure that it is defined at the right place 19 years ago
README Rename bindings/mediacontrol-python to bindings/python 20 years ago
setup-internal.py bindings/python: moved vlc.Object (access to internal framework of VLC objects) to its own vlcinternal.Object module, which is not build by default. 20 years ago
setup.py bindings/python: removed vlc.Object code from the main vlc python module. This module should now be cleanly buildable from outside the VLC tree, given the public headers and appropriate libs are available. 20 years ago
vlc_input.c Python: Compilation fix. 19 years ago
vlc_instance.c Python: More input->media_instance changes. 19 years ago
vlc_internal.c python bindings, vlc_internal.c: use PyObject_DEL (patch by Jan David Mol) 19 years ago
vlc_internal.h bindings/python/vlc_internal.c: compatibility define for Py_ssize_t 19 years ago
vlc_mediacontrol.c python bindings, vlc_mediacontrol.c: cast the py_param variable 19 years ago
vlc_module.c python bindings: allow to pass values in the vlc.Position constructor: 19 years ago
vlc_position.c python bindings, vlc_position.c: check against invalid origin or key values 19 years ago
vlcglue.h bindings/python: Try to match the libvlc input to media_instance changes. 19 years ago
vlcwidget.py python bindings: svn propset svn:keywords 20 years ago
vlcwrapper.py bindings/python/vlcwrapper.py: use vlcinternal module in wrapper 19 years ago

README

* Testing

If you try to compile the bindings from a development tree, you will
have to specify the path for VLC modules, which cannot be guessed by
the extension module (and are hardcoded for a standard installation,
i.e. /usr/lib/vlc on *NIX)

For vlc.MediaControl:
mc=vlc.MediaControl('--plugin-path /path/to/vlc/directory'.split())

For vlc.Instance:
i=vlc.Instance('--plugin-path /path/to/vlc/directory'.split())

* Skeleton generation (for developpers of the module):

** For method bindings:

perl -n -e 'print "static PyObject *\nvlcInput_$2( PyObject *self, PyObject *args )\n{\n libvlc_exception_t ex;\n LIBVLC_TRY;\n $1_$2( self->p_input, &ex); LIBVLC_EXCEPT;\n Py_INCREF( Py_None );\n return Py_None;\n}\n\n" if /(libvlc_input)_(\w+)/ and ($2 ne "t")' ../../include/vlc/libvlc.h

** For method table:
perl -n -e 'print " { \"$2\", $1_$2, METH_VARARGS,\n \"$2()\" },\n" if /^(vlcInstance)_(\w+)/' vlc_instance.c