[Digikam-devel] [Bug 208920] integrate exif-sorter functions rename sorting

Andi Clemens andi.clemens at gmx.net
Fri Nov 27 17:43:51 GMT 2009


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





--- Comment #4 from Andi Clemens <andi clemens gmx net>  2009-11-27 18:43:49 ---
SVN commit 1055252 by aclemens:

Add experimental modifier: 'Unique'.
I'm not totally sure how to handle this, maybe I need to restructure the parser
in the future to hold information about all files that should be renamed. Right
now it only renames one file after the other (which is actually a good thing,
but may be problematic in some cases).

This modifier will allow to have unique values from a renaming option, by
adding a number prefix if necessary.
The problem at the moment: I can not reset the modifier for every renaming
option, so if you use it more than once, the counter just increases.

I will add a little demo video on my Youtube account to show how it works.

bdbrot,
what do you think? Is this enough for you?
I explicitly implemented it as a modifier so it can be attached to any renaming
option, not only the date field.

Andi

CCBUG:208920

 M  +1 -0      CMakeLists.txt  
 M  +1 -0      tests/CMakeLists.txt  
 M  +2 -0      utilities/advancedrename/common/option.cpp  
 M  +4 -0      utilities/advancedrename/common/parseobject.cpp  
 M  +2 -0      utilities/advancedrename/common/parseobject.h  
 M  +9 -0      utilities/advancedrename/common/parser.cpp  
 A             utilities/advancedrename/parser/modifiers/uniquemodifier.cpp  
[License: GPL (v2+)]
 A             utilities/advancedrename/parser/modifiers/uniquemodifier.h  
[License: GPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=1055252

-- 
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