summaryrefslogtreecommitdiffstats
path: root/swig/lv2_list.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-31 05:43:43 +0000
committerDavid Robillard <d@drobilla.net>2007-07-31 05:43:43 +0000
commit985fa3a938241a763794c2d445fc5ab26efd6686 (patch)
tree23464dc61484fe0e97b272948c44f593657407a1 /swig/lv2_list.py
parentb94d8b912020447ce12c34fe13cbc823557c1703 (diff)
downloadlilv-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-xswig/lv2_list.py10
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()