Discussion:
[KPhotoAlbum] Command line option to search
Robert Krawitz
2017-02-18 17:05:48 UTC
Permalink
I usually keep search on startup turned off because if I have no new
images it significantly increases startup time (20 seconds vs. 15 -- I
have upwards of 200K images in my database). However, if I've just
imported images, I want to start it with it turned on. The workflow
is:

import-images;kphotoalbum --search

This lets me start an import and go away, without having to either run
kpa once just to turn on search on startup temporarily (or edit the
config file) or wait around for the import to finish, start kpa, and
search for images. When I have 5000 images and 50 GB to import (not
uncommon if I've just shot a couple of basketball games), this is a
non-trivial convenience -- start the import and go away for an hour or
whatever while it imports.
--
Robert Krawitz <***@alum.mit.edu>

*** MIT Engineers A Proud Tradition http://mitathletics.com ***
Member of the League for Programming Freedom -- http://ProgFree.org
Project lead for Gutenprint -- http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
Johannes Zarl-Zierl
2017-02-18 17:33:02 UTC
Permalink
Hi,

Something like this was on my to-do list for some time. Thanks for
implementing it!

The patch looks good - I'll merge it later this evening...

Cheers and thanks for the patch!
Johannes
Post by Robert Krawitz
I usually keep search on startup turned off because if I have no new
images it significantly increases startup time (20 seconds vs. 15 -- I
have upwards of 200K images in my database). However, if I've just
imported images, I want to start it with it turned on. The workflow
import-images;kphotoalbum --search
This lets me start an import and go away, without having to either run
kpa once just to turn on search on startup temporarily (or edit the
config file) or wait around for the import to finish, start kpa, and
search for images. When I have 5000 images and 50 GB to import (not
uncommon if I've just shot a couple of basketball games), this is a
non-trivial convenience -- start the import and go away for an hour or
whatever while it imports.
Loading...