Opened 2 years ago

Closed 22 months ago

#1062 closed Feature Request (fixed)

API to add and remove LV2 bundles

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

Description

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 2 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 2 years ago by dave

  • Summary changed from Request: Ingen API to add and remove lv2 bundles (server-side) to 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 2 years ago by dave

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 2 years ago by dave

Last edited 2 years ago by dave (previous) (diff)

comment:5 Changed 22 months ago by dave

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.