Trying to migrate my ACDSEE photos database to digikam, I don't know how the field "uniqueHash" is calculate. The name alone is not enough : what are the other informations used ? I did not find the answer in the DBSCHEMA.ODS and I don't want download the whole digikam source code to find it. I developping a little java tool to "copy" the export file from ACDSEE (xml file) into the digikam database. Thank's for your help. Reproducible: Always
There are 2 methods to compute unique hash value from a file and to store it to DB : V1 : https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dimg/loaders/dimgloader.cpp#L368 V2 : https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dimg/loaders/dimgloader.cpp#L323 Historically, V1 is older one. V2 is now used instead since a while. V1 still here for compatibility. Gilles Caulier
Thank's for your answer. Le 24/01/2016 18:29, via KDE Bugzilla a écrit : > https://bugs.kde.org/show_bug.cgi?id=358490 > > caulier.gilles@gmail.com changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |caulier.gilles@gmail.com > > --- Comment #1 from caulier.gilles@gmail.com --- > There are 2 methods to compute unique hash value from a file and to store it to > DB : > > V1 : > https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dimg/loaders/dimgloader.cpp#L368 > > V2 : > > https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dimg/loaders/dimgloader.cpp#L323 > > Historically, V1 is older one. V2 is now used instead since a while. V1 still > here for compatibility. > > Gilles Caulier >