[Shotwell] Front end API or DB access?
Peter DO Smith
pdo.smith at gmail.com
Tue Jun 22 09:46:44 PDT 2010
My votes goes to 2, a shared library, as it should not be necessary
for Shotwell to be running when I start my program. A good starting
point would be to write a command line version of BatchImport where I
could specify a source directory and optionally some tags and a
destination event. For example: shotwell_import -d camera|folder -t
tag,list -e photo_event
On Tue, Jun 22, 2010 at 6:04 PM, Adam Dingle <adam at yorba.org> wrote:
> On 06/22/2010 02:00 AM, Peter DO Smith wrote:
>> I want to adapt the photo processing front end I wrote for my own
>> photographic workflow to Shotwell. It is written in Python. I
>> pre-process my photos and then submit them to Shotwell. For the moment
>> I plan to integrate with Shotwell by writing the relevant information
>> into the sqlite database and creating the thumbnails.
>>
>> An alternative approach would be for you to provide an API or batch
>> import program which my routine would call. This approach might be
>> best as it would decouple my program from your database implementation
>> details.
>>
>> I would welcome your thoughts on this matter.
>>
>
> Peter,
>
> we agree that it would be great to have some mechanism that would let
> your code interact with Shotwell. We're considering three mechanisms,
> none of which are implemented yet:
>
> 1) We could extend Shotwell to have plugins which can add new commands
> to Shotwell menus and can extend Shotwell with arbitrary functionality,
> like plugins in other applications such as gedit. This is
> http://trac.yorba.org/ticket/1603 .
>
> 2) We could provide a shared library which your program can call to
> interact with the Shotwell database. This is
> http://trac.yorba.org/ticket/1698 .
>
> 3) We could provide a D-Bus or REST-based API that allows external
> programs to interact with the running Shotwell instance. This is
> http://trac.yorba.org/ticket/1699 .
>
> We've made no decisions yet about which of these to implement and when,
> and would welcome feedback from you and others about which of these
> you'd find most useful.
>
> cheers
> adam
>
> _______________________________________________
> Shotwell mailing list
> Shotwell at lists.yorba.org
> http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
>
More information about the Shotwell
mailing list