Allowing freeform data in the MJ library opens up all sorts of possabilities.
> You just want us to maintain an array of user customizable data
Yes and No ... An array of data but not user customizable.
Plugin's should be able to create one or more mini databases for storage purposes.
In AV's case I need to store information that is not related to a particular track, e.g. when was the album last played or if the album is a user's favourite.
And for fun (or more realistically for debugging purposes) within MJ you could then create a plugin database browser plugin that shows the database name and when you click on it it shows a listview showing the key names and values. Onviously this would need some sort of MJQueryDatabase functions ... but that should be very easy.
> Wouldn't data like that make more sense in your plugin since it wouldn't mean anything to anybody else anyway?
But isn't the point not to rely on an external database?
For example one of our mutual users keeps his MJ library on CDR's and he has many CDR's. Keeping all of the AV information in the MJ library keeps everything self contained.
> (or am I missing the point)
LOL ... should I really answer that
Is this any clearer or should I do a more comprehensive spec?
Finally one thing I have thought of is that (in the future) maybe AV's thumbnails (now an ImageList) will not be stored in the MJ database. They may be stored to an IStream and loaded directly via ImageList_Read for efficiency. Would it be possible to handle IStream's in the new DB ... or at least if I give you an hWnd of an ImageList you can load/save the contents.