[Digikam-devel] [Bug 230553] New: {unique} and [cam] produce strange results on importing from a flash memory card
Matti Rintala
bitti at cs.tut.fi
Sat Mar 13 10:38:22 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=230553
Summary: {unique} and [cam] produce strange results on
importing from a flash memory card
Product: digikam
Version: 1.1.0
Platform: openSUSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: digikam-devel at kde.org
ReportedBy: bitti at cs.tut.fi
Version: 1.1.0 (using KDE 4.3.5)
OS: Linux
Installed from: openSUSE RPMs
When I try to rename images while importing them from my camera's SD card
(using a card reader), the rename options produce strange results (they seem to
work ok if I rename the images after they have been imported)
I like to name my images to contain the date, time and camera model. If two
images with the same camera have been created during the same second
(continuous shooting), I add a unique sequence number to the name. Earlier I've
used my own script to do this, but now I thought Digikam's import could do the
work.
It seems that {unique} *always* produces a sequence number on import, even if
no other images with a similar name exist (this number is sometimes 1,
sometimes larger). In addition to this, [cam] seems to produce the string
'ImagesonUSBDisk"STORAGEDEVICE"' instead of looking up the camera name from
EXIF.
For example, when I imported an image from the card using format string
[date:yyMMdd_hhmmss]{unique}-[cam].[ext]{lower}
My image DSC_2428.NEF became
100313_121400_6-ImagesonUSBDisk"STORAGEDEVICE".nef
and I imported just one image into an empty directory. If I later rename it
using the same format string, I get
100313_121400-NIKON CORPORATION NIKON D40.nef
(In reality I would use [date:yyMMdd_hhmmss]{unique}-[cam]{replace:".*
([a-z][A-Z][0-9])*","\1",ri}.[ext]{lower} to use just the model number of the
camera string)
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list