rob_cole_2221866's profile

4.5K Messages


76.3K Points

Sat, Aug 17, 2013 8:45 AM


Lightroom SDK: Implement getName and type methods for all photo sources

As it stands, most photo sources, e.g. collections, folders, have getName and type methods.

However, if source is a special collection, you cant find out what type it is, or it's name, using the standard photo source methods.

I'm sure mine aren't the only plugins that've had bugs due to attempting to get the type (or name) of a special collection returned by catalog:getActiveSources().

Since Lr SDK is object oriented, consider just defining a base photo-source class, from which folder, collection, and collection-set are derived.
No Responses!