Opened 6 years ago

Closed 5 years ago

#1062 closed Feature Request (fixed)

API to add and remove LV2 bundles

Reported by: falkTX Owned by: David Robillard
Priority: major Component: Ingen
Keywords: lilv, world, bundle, add, remove Cc:


In MOD we have a 'plugin downloader' section. When we install a new plugin we need a way to make ingen lilv world load the new bundles so that ingen can load the new plugins.

The same thing for removal. Users can delete plugins as well, in which case we need to remove bundles from ingen's lilv world.

A method to recreate the lilv world can work too.

Change History (5)

comment:1 Changed 6 years ago by falkTX

David, can you comment on how it would be best to handle this?

I'm going through the ingen code but I'm having difficulties accessing the rdf_world within the event code. This leads me to believe I'm doing something wrong. Any pointers to which direction I should take regarding this?

comment:2 Changed 5 years ago by David Robillard

Summary: Request: Ingen API to add and remove lv2 bundles (server-side)API to add and remove LV2 bundles

I don't know how the API will work out, this doesn't really fit so well with the REST-like model, but loading is trivial to actually do in any case.

Removing, on the other hand... there are so many potential isues there. Most obviously, what happens if a bundle is "removed", but it describes a plugin/graph/whatever that is currently instantiated?

comment:3 Changed 5 years ago by David Robillard

As for getting at the rdf_world, not sure what difficulties you could have... any Event has an Engine ref, which has a World ref, which has pretty much anything you could possibly need.

comment:4 Changed 5 years ago by David Robillard

Last edited 5 years ago by David Robillard (previous) (diff)

comment:5 Changed 5 years ago by David Robillard

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.