[Bug 202641] New: Import images - always increase renaming counter by number of images imported

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] New: Import images - always increase renaming counter by number of images imported

Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641

           Summary: Import images - always increase renaming counter by
                    number of images imported
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

Import tool is very good feature of digikam. I recently started using it and
tried renaming the files and using counter to make all image names original.
It's very beneficial if there are no duplicate file names in archive and this
should help prevent it.

But the setback here is that when i start counter with number 1 next time it
again starts from 1! so in fact it will create duplicate file name!

I think digikam should always increase the starting number of the counter by
the amount of images imported so that next use of Import tool won't create same
file names.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Bugzilla from mikmach@wp.pl
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #1 from Mikolaj Machowski <mikmach wp pl>  2009-08-05 19:30:21 ---
For most people counter is used for current job renaming so this particular
would harmful for most users.

However, interesting feature for digiKam import would be renaming images to
make sure all images have unique numbers. Think about OAI and its identifiers

http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm

Note that for home use it is probably overkill and much more practical is
schema {iso-date}_##### :)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Michal Thoma
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #2 from Michal Thoma <michal thoma cz>  2009-08-07 10:50:08 ---
> However, interesting feature for digiKam import would be renaming images to
> make sure all images have unique numbers.

Yes, that would be nice.

> Note that for home use it is probably overkill and much more practical is
> schema {iso-date}_##### :)

Yes, that would also do, unfortunately AFAIK Import tool don't support such
smart tags like {iso-date} or {original-filename} etc.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Bugzilla from andi.clemens@gmx.net
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #3 from Andi Clemens <andi clemens gmx net>  2009-08-07 10:58:51 ---
That is not true. I have implemented a ManualRenameWidget , that allows such
tags. It can be found in Camera-Import and in BQM.
It is not yet complete, but it features things like original filename, custom
date format and custom numbering (with leading zeros and custom ranges /
steps).
The only thing that is missing is the use of Metadata tags. But it will be
implemented.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Michal Thoma
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #4 from Michal Thoma <michal thoma cz>  2009-08-07 11:48:28 ---
Oh, I see now in 1.0.0b3. Before I was looking at 0.10.0 which don't have such
feature still. So this is quite enough, great job and thank you!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Bugzilla from andi.clemens@gmx.net
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #5 from Andi Clemens <andi clemens gmx net>  2009-08-07 12:46:39 ---
SVN commit 1008382 by aclemens:

Add the ability to only set a custom start in the ManualRenameInput
widget.
Added some test cases to verify the functionality.

CCBUG:202641

 M  +2 -1      libs/widgets/common/manualrenameinput.cpp  
 M  +12 -0     tests/manualrenameinputtest.cpp  


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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Bugzilla from andi.clemens@gmx.net
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #6 from Andi Clemens <andi clemens gmx net>  2009-08-08 15:06:26 ---
I'm adding some quick access buttons to the rename widget:

http://farm4.static.flickr.com/3446/3800955702_0cf9a241d7_o.jpg
http://farm3.static.flickr.com/2476/3800136351_fb9853cc1d_o.jpg

Setting up individual import names should be easier then. The only thing that
is not working right now is the Metadata button...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Michal Thoma
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #7 from Michal Thoma <michal thoma cz>  2009-08-10 11:06:30 ---
Very nice! With this new manual rename widget I find the old Custom rename
rather obsolete.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Bugzilla from andi.clemens@gmx.net
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #8 from Andi Clemens <andi clemens gmx net>  2009-08-11 17:20:15 ---
Yes, I think it could be obsolete then.
I still need to figure out how to make it more extensible, it is working
(somehow :-)), but I'm not happy.
The plan is to just add another token / parser, and the rest will work
automatically.

What is working now:
- register the parser button automatically
- register the menu entry for the toolbutton automatically
- create the tooltip automatically

What is not working:
- the parser itself :) I need to abstract a lot, so that a common parse method
can be used.

When all is working, I can image tokens / parser like:
- metadata (completely customizable)
- add author information
- tags information

etc...

Some rename options might not work in the cameraUI, but since we use this
widget also in BQM, they could work in there, because BQM has full access to
the database.

Andi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Bugzilla from andi.clemens@gmx.net
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #9 from Andi Clemens <andi clemens gmx net>  2009-08-11 17:30:58 ---
This is the actual status:
http://farm3.static.flickr.com/2480/3811917860_0db6100ea8_o.jpg

But the only parsers really working are:
- File Name
- Camera Name
- Sequence Number
- Time & Date

the rest is just added at the moment to test the registration, and to show some
ideas for additional parsers.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Gilles Caulier-4
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Camera GUI
            Version|unspecified                 |1.0.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Bugzilla from andi.clemens@gmx.net
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #10 from Andi Clemens <andi clemens gmx net>  2009-11-09 11:23:26 ---
This report can be closed?
I don't know if it is practical for most users to keep track of the index, but
with AdvancedRename, you can set your starting index manually, see
http://www.flickr.com/photos/26732399@N05/4089342906/in/pool-digikam-labs
for example.

Is this enough for your needs?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Bugzilla from vandenberg_ra@hotmail.com
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641


Sallin <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #11 from Sallin <vandenberg_ra hotmail com>  2010-02-03 18:04:36 ---
First of all, I really enjoy digikam (current version 1.0.0-1, debian testing),
so thanks for that.

I've found a side effect of the "always increase renaming counter". When I want
to use different names within one batch import, it remembers the count of the
previous name. For instance, I import 10 photos according to "a###" and then
import 10 photos according to "b###". The result will be a001 to a010, and b011
to b020. I can circumvent this by restarting the importer, but I think it could
be done in a nicer way.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Gilles Caulier-4
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #12 from Gilles Caulier <caulier gilles gmail com>  2011-08-09 13:51:10 ---
Andi,

Do you see comment #11 ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Andi Clemens
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #13 from Andi Clemens <andi clemens googlemail com>  2011-08-09 19:19:54 ---
This should be fixed a long time ago, so we can close the bug.

Gilles:
By the way, the importing tool seems to be broken (CameraUI), it doesn't update
the new image names and it always asks me in which folder to put the downloaded
images, although I selected the album before (and then pressed CTRL+I).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Gilles Caulier-4
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #14 from Gilles Caulier <caulier gilles gmail com>  2011-08-09 19:24:35 ---
Thanks.

I take a look...

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Gilles Caulier-4
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Gilles Caulier-4
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #15 from Gilles Caulier <caulier gilles gmail com>  2011-08-10 08:05:50 ---
Git commit 6d0916343d845784de75bc60cd65b85047aa87e9 by Gilles Caulier.
Committed on 10/08/2011 at 10:04.
Pushed by cgilles into branch 'master'.

preserve download name information
CCBUGS: 202641

M  +2    -1    utilities/cameragui/items/cameraiconitem.cpp

http://commits.kde.org/digikam/6d0916343d845784de75bc60cd65b85047aa87e9

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Gilles Caulier-4
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #16 from Gilles Caulier <caulier gilles gmail com>  2011-08-10 08:06:14 ---
Andi,

it's fixed now. You confirm ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 202641] Import images - always increase renaming counter by number of images imported

Bugzilla from vandenberg_ra@hotmail.com
In reply to this post by Michal Thoma
https://bugs.kde.org/show_bug.cgi?id=202641





--- Comment #17 from Sallin <vandenberg_ra hotmail com>  2011-08-10 19:33:20 ---
I just checked, and the behavior as described in comment 11 is still present in
my version of Digikam. Like I said previously, it's not a big issue but it
would be nice if it'd be handled differently.

Debian wheezy: 2.6.39-2-686-pae i686 GNU/Linux
Digikam version: 2:1.9.0-3

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12