diff options
Diffstat (limited to 'swig/python')
-rwxr-xr-x | swig/python/lv2_list.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/swig/python/lv2_list.py b/swig/python/lv2_list.py index 685b62b..ef99cf2 100755 --- a/swig/python/lv2_list.py +++ b/swig/python/lv2_list.py @@ -1,8 +1,12 @@ #!/usr/bin/env python -import slv2; -w = slv2.World() -w.load_all() +import slv2 + +world = slv2.World() +world.load_all() + +plugins = world.get_all_plugins() + +for i in plugins: + print(i.get_uri().as_uri()) -for p in w.get_all_plugins(): - print p.uri(), "-", p.name() |