Hi,
A recent post in this Feature Requests forum (Suivi des copies virtuelles) gave me an idea about the lack of a SDK for Photolab.
I don’t think that a programming interface allowing to develop plugins for Photolab will appear anytime soon. However, something could be done to allow third-parties to provide additional functionality to Photolab.
Let’s assume that, under the Projects entry in the left panel, we would have a “Custom SQL requests” available to the user. This would allow anyone to use the PL database in order to apply some modifications to a selection of images or to output a list of images corresponding to a particular criteria.
In the first case, a message could be displayed at the end of the process or, in the latter case, the images listed in the output would be displayed exactly as they are displayed when selecting a project.
Of course, the request could be stored for later use and the dialog used to enter the SQL request should be able to accept a few parameters. writing such a “SQL requests manager” is trivial.
This way, SQL knowledgeable users could share a few useful SQL requests that could be used by any user.
From a development point of view, this is much easier to implement than writing a more comprehensive programming API.
I had this idea because a user was looking for a way of knowing to which project(s) an image belongs. The necessary data is present in the database but the Photolab UI uses these data only for displaying the images belonging to the currently selected project (by the way, this particular request from the user is easy to satisfy - just display this information along with the information already displayed in the popup appearing when hovering the image in the image browser).
This is just an example but I’m sure that these “Custom SQL requests” could be used to compensate for the weaknesses of the DAM part of Photolab.



