[digiKam-users] Adding tags by existence of another (parallel) file

classic Classic list List threaded Threaded
3 messages Options
his
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Adding tags by existence of another (parallel) file

his
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Adding tags by existence of another (parallel) file

Peter Teuben
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
his
Reply | Threaded
Open this post in threaded view
|

Re: Adding tags by existence of another (parallel) file

his
CONTENTS DELETED
The author has deleted this message.