[digiKam-users] Adding tags by existence of another (parallel) file
Peter Teuben
teuben at gmail.com
Thu May 14 13:42:39 BST 2020
I have a script that reads a .caption file per album, and updates the
album caption in digikam for this.
this could be a good starting point. If you use sqlitebrowser and look
at the data structure it's pretty obvious what to do.
i just started refactoring my python scripts, it's in github, you could
see if you want to tag onto this.
On 5/14/20 8:20 AM, his wrote:
> Hi,
>
> due to an improper database migration from one computer to another I lost
> tags for pictures, especially something like "is online".
>
> I edit pictures with RawTherapee. This tool adds the changes made to the
> picture in a file named filename.jpg.pp3 in the same folder as the picture
> (named filename.jpg) itself.
>
> In my case I can safely assume that those files only exist for pictures that
> need to have the aforementioned "is online" tag.
>
> My files are generally structured in folders with yyyy/MM/dd pattern.
>
> I am talking about two thousand affected files within a database of around
> thirty thousand files.
>
> Is it possible to set the tag via an extension / scripting? Can I
> alternatively access the database directly?
>
> Thanks for any support.
>
> Hauke
>
>
>
> --
> Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
More information about the Digikam-users
mailing list