diff options
author | David Robillard <d@drobilla.net> | 2007-07-31 05:43:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-31 05:43:43 +0000 |
commit | 985fa3a938241a763794c2d445fc5ab26efd6686 (patch) | |
tree | 23464dc61484fe0e97b272948c44f593657407a1 /swig/lv2_list.py | |
parent | b94d8b912020447ce12c34fe13cbc823557c1703 (diff) | |
download | lilv-985fa3a938241a763794c2d445fc5ab26efd6686.tar.gz lilv-985fa3a938241a763794c2d445fc5ab26efd6686.tar.bz2 lilv-985fa3a938241a763794c2d445fc5ab26efd6686.zip |
Added experimental Python bindings via swig.
Fixed building from slv2 directory.
git-svn-id: http://svn.drobilla.net/lad/slv2@660 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'swig/lv2_list.py')
-rwxr-xr-x | swig/lv2_list.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/swig/lv2_list.py b/swig/lv2_list.py new file mode 100755 index 0000000..0f6e248 --- /dev/null +++ b/swig/lv2_list.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +import slv2; + +w = slv2.World() +w.load_all() + +plugins = w.get_all_plugins() + +for i in range(0, plugins.size()): + print plugins[i].uri() |