Bug 452321 - digiKam Album date after migration from Picasa3
Summary: digiKam Album date after migration from Picasa3
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (other bugs)
Version First Reported In: 7.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-06 11:00 UTC by Lukmhee
Modified: 2022-04-08 12:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.7.0
Sentry Crash Report:


Attachments
Example: presentation with picasa of the Album/dossier sort by date: (2.71 MB, image/jpeg)
2022-04-06 11:00 UTC, Lukmhee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukmhee 2022-04-06 11:00:03 UTC
Created attachment 147999 [details]
Example: presentation with picasa of the Album/dossier sort by date:

Digicam Album date, Migration from Picasa3 to Digicam

Dear DEVELOPERS,

I’m trying to migrate out of Picasa 3 to Digikam for my old mum huge collection of photography. I will really appreciated you help with my problem.


I need some help with a problem concerning Digicam Album sort by date order.
I have more than 800 GB of photo (images) organize in +1100 album (dossier/folder in picasa).
Unfortunately, in most of the album there is some photo/image/files with a wrong date.
Because of that when I sort the Album by Date the desired order is not produced. Due to the huge number of Album/folders correcting the date of each album one by one will be a nightmare.
To save this problem I see only 2 solutions:

1 Is there a way to change the way how initially Digicam date each album? So Digikam use the most recent image date instead of the older/or average as he does now when building the database.

2 Before this photo/image was managed with Picasa 3 and all the Album (Folders/Dossiers in Picasa) was correctly Date.
I need a comprehensive tutorial to copy all the (files/dossier) dates/propriety from the Picasa 3 databases to the Digicam Album date/propriety database.


The Album sort by date presentation will be way better if you can introduce a separation between each Years and introduce the choice of sorting the date in both order (recent to older or older to more recent).
Example: presentation with picasa of the Album/dossier sort by date:
 
Thanks for your help.

Best Regard
Lukmhee@gmail.com
Comment 1 Maik Qualmann 2022-04-06 11:19:11 UTC
Why are you using digiKam-7.0.0 on Windows? Current is digiKam-7.6.0. The album date is set to the oldest image date in the album during import. You can manually set a date of your choice via Properties.

Maik
Comment 2 Lukmhee 2022-04-06 11:28:12 UTC
(In reply to Maik Qualmann from comment #1)
> Why are you using digiKam-7.0.0 on Windows? Current is digiKam-7.6.0. The
> album date is set to the oldest image date in the album during import. You
> can manually set a date of your choice via Properties.
> 
> Maik

My mistake i m using digiKam 7.6.0
Yes album date is set to the oldest image date in the album during import and that my problem because in many album have a few image with wrong old date.
I have more than 1150 Album and a manual re-set manually the date will take for ever.
so I need Digikam to use the most recent image or copy the date from the Picasas data base still in the computer.
Comment 3 Maik Qualmann 2022-04-06 11:34:24 UTC
The problem is exactly this feature, using the oldest date, even when importing other images later, was requested and implemented by an external developer. The current behavior was also requested by other users. We cannot read the Picasa database. What about the date folder, would that be correct if we took it over during import?

Maik
Comment 4 Lukmhee 2022-04-06 11:42:56 UTC
(In reply to Maik Qualmann from comment #3)
> The problem is exactly this feature, using the oldest date, even when
> importing other images later, was requested and implemented by an external
> developer. The current behavior was also requested by other users. We cannot
> read the Picasa database. What about the date folder, would that be correct
> if we took it over during import?
> 
> Maik

Using the older date normally makes sense, but not in my case. Maybe the solution will be to make the choice during the importation to use the older or the newest image date.
Using the folder date may be a solution if the folder date is the date used by picasa.
I need to check that but right now I don’t have access to my mum computer hosting all these images.
Comment 5 Maik Qualmann 2022-04-06 18:29:23 UTC
Git commit 3c334e694a6310cefb6d69b9b381b5b38b0a9b16 by Maik Qualmann.
Committed on 06/04/2022 at 18:28.
Pushed by mqualmann into branch 'qt5-maintenance'.

add config option to get the album date source
from newest item date
from oldest item date
from average date
from folder date
FIXED-IN: 7.7.0

M  +2    -1    NEWS
M  +40   -6    core/libs/database/collection/collectionscanner_scan.cpp
M  +5    -0    core/libs/metadataengine/engine/metaenginesettingscontainer.cpp
M  +10   -0    core/libs/metadataengine/engine/metaenginesettingscontainer.h
M  +26   -10   core/utilities/setup/setupmisc.cpp

https://invent.kde.org/graphics/digikam/commit/3c334e694a6310cefb6d69b9b381b5b38b0a9b16
Comment 6 Maik Qualmann 2022-04-06 19:50:17 UTC
Git commit b6f3d57c5328ab2ec9cef411434bcb90daaf28a1 by Maik Qualmann.
Committed on 06/04/2022 at 19:49.
Pushed by mqualmann into branch 'qt5-maintenance'.

add tooltip and add option "no change of date"

M  +2    -2    core/libs/database/collection/collectionscanner_scan.cpp
M  +2    -1    core/libs/metadataengine/engine/metaenginesettingscontainer.h
M  +3    -0    core/utilities/setup/setupmisc.cpp

https://invent.kde.org/graphics/digikam/commit/b6f3d57c5328ab2ec9cef411434bcb90daaf28a1
Comment 7 Lukmhee 2022-04-08 11:39:43 UTC
(In reply to Maik Qualmann from comment #6)
> Git commit b6f3d57c5328ab2ec9cef411434bcb90daaf28a1 by Maik Qualmann.
> Committed on 06/04/2022 at 19:49.
> Pushed by mqualmann into branch 'qt5-maintenance'.
> 
> add tooltip and add option "no change of date"
> 
> M  +2    -2    core/libs/database/collection/collectionscanner_scan.cpp
> M  +2    -1    core/libs/metadataengine/engine/metaenginesettingscontainer.h
> M  +3    -0    core/utilities/setup/setupmisc.cpp
> 
> https://invent.kde.org/graphics/digikam/commit/
> b6f3d57c5328ab2ec9cef411434bcb90daaf28a1

(In reply to Maik Qualmann from comment #3)
> The problem is exactly this feature, using the oldest date, even when
> importing other images later, was requested and implemented by an external
> developer. The current behavior was also requested by other users. We cannot
> read the Picasa database. What about the date folder, would that be correct
> if we took it over during import?
> 
> Maik

Hi, Unfortunately using the date folder during the import won't work.
Comment 8 Lukmhee 2022-04-08 11:58:14 UTC
(In reply to Lukmhee from comment #7)
> (In reply to Maik Qualmann from comment #6)
> > Git commit b6f3d57c5328ab2ec9cef411434bcb90daaf28a1 by Maik Qualmann.
> > Committed on 06/04/2022 at 19:49.
> > Pushed by mqualmann into branch 'qt5-maintenance'.
> > 
> > add tooltip and add option "no change of date"
> > 
> > M  +2    -2    core/libs/database/collection/collectionscanner_scan.cpp
> > M  +2    -1    core/libs/metadataengine/engine/metaenginesettingscontainer.h
> > M  +3    -0    core/utilities/setup/setupmisc.cpp
> > 
> > https://invent.kde.org/graphics/digikam/commit/
> > b6f3d57c5328ab2ec9cef411434bcb90daaf28a1
> 
> (In reply to Maik Qualmann from comment #3)
> > The problem is exactly this feature, using the oldest date, even when
> > importing other images later, was requested and implemented by an external
> > developer. The current behavior was also requested by other users. We cannot
> > read the Picasa database. What about the date folder, would that be correct
> > if we took it over during import?
> > 
> > Maik
> 
> Hi, Unfortunately using the date folder during the import won't work.

Dear Maik
I understand in your 2 previous answer there is a link to get some new coding for Digikam to help me solve my little problem.
It s look good but I m not software coding guys and my computer competence is only :
Window explorers,   Find Hidden files, Copy/paste, Open a file in note, write an event procedure with IF Then DO else in Access database..... stuff like that...
The best for me will be just to have to replace a file otherwise I will need more information on how to access the Digikam coding and how to do the modification with a small tutorial.
Again big thanks to have taken the time to look at my problem.
Best regards,
Comment 9 Lukmhee 2022-04-08 12:13:35 UTC
Sorry I think I understand now...
The links are your proposed modification of DigiKam for the next update of the software...
So I have nothing to do, just wait for the next version of DigiKam.
Sorry for the confusion but I m learning .....
Again thanks to have taken into account my problem in improving this nice software.
Best regards,