I see. Yes, nautilus-sendto won't solve this problem, nor will Contractor as far as I understand it.

Internally we've discussed some approaches to opening up Shotwell to other applications. Some ideas we've bounced around:

* A command-line interface, as Norbert suggested.
* A more generic plugin model. Our current plugin interfaces are geared toward specific tasks, like pushing photos to a web service.
* shotwelld, a Shotwell D-bus daemon.
* libshotwell, a Shotwell library for interacting with the database.

Of all of these, I would say that the CLI is probably the easiest. For ease of development, I would suggest the shotwell binary itself double as the CLI. If Shotwell is not executing, it will perform the operation and exit. If Shotwell is already running, the CLI will hand the operation off to the existing process and exit. This ensures database coherency.

Finally, unrelated question - what is the current status wrt to
shotwell and Pantheon? I am very uncertain where to invest time
and patches, as there was the announcement that Panthenon will
be the successor of shotwell, but it somehow never took of.

Pantheon Photos does *not* supersede Shotwell. I readily admit Photos has more development hands on it, but Shotwell is not dead. Shotwell continues to be a photo manager designed for the GNOME Desktop.

I would love it if the community would step up and provide more patches and help triage bugs. As long as there's community interest, Shotwell will continue to grow.

-- Jim

On Tue, Aug 19, 2014 at 5:51 PM, Brian Masney <[email protected]> wrote:
Hey Jim,
   One of the main reasons that I am reading from the Shotwell
database is that I need the event names and comments. I don't see where
Shotwell currently exports that information. I would like to stop
reading directly from Shotwell's database.

   I attached a sample page from one of my generated PDFs (assuming
small attachments work to the list). The large text in the boxes is
the event name. The date range is automatically added based on the
date(s) of the photos in that event. The blurred text is the event
comment. A large number of my events have comments associated with them
so a lot of my pages turn out like this one.

Brian




On Tue, Aug 19, 2014 at 05:28:53PM -0700, Jim Nelson wrote:
 Brian, this looks exciting and very promising.  We always warn
 against other applications reading directly from the database, and
 as your notes indicate, you're using the unaltered versions of the
 photos in your application.  There might be a better way to do this.

 If you made your app compatible with nautilus-sendto, Shotwell's
 File -> Send To... operation will export all the selected photos
 (with full transformations) and execute your app.  That might make
 things easier for you.

 There's also some work being done to make elementary's Contractor
 work with Geary.  If Shotwell supported Contractor, that would be
 another way for Shotwell to export its photos to your application.

 -- Jim

 On Tue, Aug 19, 2014 at 4:07 PM, Norbert Preining
 <[email protected]> wrote:
 >Hi Brian,
 >
 >thanks for that, it looks very interesting. I will look into it and
 >comment.
 >
 >Norbert
 >
>------------------------------------------------------------------------
 >PREINING, Norbert
 >http://www.preining.info
 >JAIST, Japan                                 TeX Live & Debian
 >Developer
 >GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448
 >860C DC13
>------------------------------------------------------------------------
 >_______________________________________________
 >shotwell-list mailing list
 >[email protected]
 >https://mail.gnome.org/mailman/listinfo/shotwell-list
_______________________________________________
shotwell-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/shotwell-list

Reply via email to