[Digikam-devel] [digikam] [Bug 319001] New: Smart detection whether file was been downloaded

Cristian Klein cristiklein at gmail.com
Sun Apr 28 00:33:13 BST 2013


https://bugs.kde.org/show_bug.cgi?id=319001

            Bug ID: 319001
           Summary: Smart detection whether file was been downloaded
    Classification: Unclassified
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Import
          Assignee: digikam-devel at kde.org
          Reporter: cristiklein at gmail.com

By using digiKam 2.5.0 on Ubuntu 12.10 and reading the latest GIT source code,
I deduce that, when importing photos from a UMS, digiKam uses the download
history to display whether a file has already been downloaded or not. This is
somewhat inconvenient, in several cases:

(1) A user just started using digiKam: all photos are shown as "new".
(2) A user changed the way she downloads picture, e.g., she switched from PTP
to using a card reader.
(3) A user might import photos through several ways, e.g., sometimes directly
from the camera, sometimes from a "holiday" laptop.

Wouldn't it be possible for digiKam to more intelligently detect if photos have
already been downloaded?

I was thinking of the following solution. First, for each photo (local or
to-be-imported) compute a unique ID by reading the EXIF data. Newer cameras
already add a "unique photo ID" EXIF tag. For older cameras, one may compute a
unique picture ID using a combination of camera make, camera model and file
name. If I understood correctly, this would also conform to digiKam's
philosophy of using its database only to accelerate operations, without storing
any data that could not be found in the files themselves.

Any thoughts on this? If this makes sense, I could try dedicating some time to
develop the feature myself.

Reproducible: Always

Steps to Reproduce:
(For example)
1. Start digiKam
2. Import some photos from a USB mass storage device
3. Exit digiKam
4. Delete its database (but not the photos it has just imported).
5. Start digiKam
6. Open the import window for the same USB mass storage device
Actual Results:  
All photos are marked as new

Expected Results:  
The photos that have been downloaded at step 2 should be detected as already
downloaded.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list