Summary: | Add Exif sorter support to sort rename operation | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | bdbrot <bernd.mullet> |
Component: | AdvancedRename-metadata | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
bdbrot
2009-09-30 00:32:02 UTC
sorry if my english is not perfect. It should be a wish for the wishlist. It is a wish? 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 I am too stupid to convert videos with Linux software, cinelerra, kdenlive, avidemux, they all produce bad quality output for me here. Uploading this to Youtube makes it not better :D Anyway I hope you can see something here: http://www.youtube.com/watch?v=jGKLAmGtNb4 Ok I updated the modifier a little bit and it seems to work fine: http://www.flickr.com/photos/26732399@N05/4138381199/in/pool-digikam-labs/ bdbrot, is this what you wanted? ----- Ursprüngliche Mail ---- > Von: Andi Clemens <andi.clemens@gmx.net> > An: bernd.mullet@yahoo.de > Gesendet: Freitag, den 27. November 2009, 20:43:17 Uhr > Betreff: [Bug 208920] integrate exif-sorter functions rename sorting > > https://bugs.kde.org/show_bug.cgi?id=208920 > > > > > > --- Comment #6 from Andi Clemens 2009-11-27 20:43:15 --- > Ok I updated the modifier a little bit and it seems to work fine: > http://www.flickr.com/photos/26732399@N05/4138381199/in/pool-digikam-labs/ > > bdbrot, > is this what you wanted? > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. It looks fine, thank you very much. The synthax I find in the helpfile, I think? __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com This modifier has actually no syntax... ok it has, but the tooltip doesn't show the parameter due to the string freeze we have now ;-) Anyway you can use it like this: {unique} - will append one digit numbers like 1,2,3,... {unique:n} - will append n digit numbers, e.g. {unique:4} will append 0001, 0002, ... In the future I will have some auto-detection (not possible with current infrastructure of the parser), so that it automatically adds digits if needed. So {unique} should append 01,02,03,04,05,06,07,08,09,10 instead of 1,2,3,4,5,6,7,8,9,10 BDBrot, This file still valid using digiKam 2.4 ? Gilles Caulier BDBrot, This file still valid using last digiKam 4.2.0 ? Gilles Caulier |