[LV2] Plugin instance ID

Vladimir Sadovnikov sadko4u at gmail.com
Tue Aug 25 05:12:46 PDT 2020


There are couple of bugs in current LV2 implementation related to storing 
'Mapped' paths in LV2 state.
I would recommend to read this issue first:
https://github.com/lv2/lilv/issues/13

Best,
Vladimir

25.08.2020 15:02, Hanspeter Portner пишет:
> Am 25.08.20 um 13:28 schrieb Iurie Nistor:
>> Is there a way I can get the LV2 plugin instance ID? I mean when
>> the user adds the plugin into the track, is there any ID associated to
>> this added instance, and
>> remains the same even after restarting the host?
>>
>>
>> I want to use this ID to store settings about the plugin instance.
>> Actually, this can be stored
>> into the plugin state, but I am not sure if this is right because I want
>> to store things like
>> last directory visited by the user when browsing (with plugin UI) presets
>> or samples, and this to be saved per plugin instance.
> Keep in mind that plugin presets should be self-contained, so they can
> be shared with your friends. Putting absolute local paths into presets
> thus makes no sense in the first place.
> _______________________________________________
> Devel mailing list
> Devel at lists.lv2plug.in
> http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in




More information about the Devel mailing list