[gmpi] Re: SDK/API model simplification

on 4/17/05 9:50 PM, Tim Hockin at thockin@xxxxxxxxxx wrote:

> On Mon, Apr 18, 2005 at 01:09:19PM +1200, jeffmcc@xxxxxxxxxx wrote:
>> If you want the host to automatically use Version 2 inplace
>> of Version 1, that's a different issue (does the user really
>> want that, what if they prefer V1?).
> 
> This is an open question, of course.  Do you *always* want to use the
> latest version of a plugin?  Possibly not.
> 
>>   Perhaps it's better for a plugin's metadata to indicate
>> somehow "this plugin superceeds UID XXX-XXX-XXX".
> 
> This list might grow long and painful, every time you release a bugfix.
> 
> How about this:
> 
> If you release a new bugfix version, increment the version number in the
> metadata but keep the same GUID.  If the host finds two plugins with the
> same GUID, it can compare version fields and choose the latest version.
> If you don't want this to happen, change the GUID.

I would think that if you have an exact GUID/version match, that the host
should match to that version, even if a newer version is available.
Otherwise, it should match to the newest version (or maybe the oldest
version newer than the version it is trying to match to). I would think that
if the user had multiple versions of the same GUID installed, that the host
should provide some mechanism to allow the user to manually migrate the
plug-in forward (although the user could probably easily accomplish this by
simply only having the newest version available).

OTOH, does it make sense to extend the meta data of the Plug-ins to contain
version compatibility info as well as version (e.g. a Plug-in specifies how
far forward and back its is compatible with), and the host can then
determine if it can match a saved state to an installed version of the
plug-in. As far as I can tell, this is an unresolved issue with the other PI
specs that I have worked with. If would be very nice for this to just work.


Best regards,


B.J. Buchalter

Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451


----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: