rcw-2 / python-digikamdb

Python library to access Digikam metadata
MIT License
11 stars 0 forks source link

Running digikam-db when Digikam is opened? #6

Closed rokdd closed 6 months ago

rokdd commented 6 months ago

Another issue I was thinking about recently. Is it for the library important whether digikam is opened or closed? So when I write with python into the DB and Digikam is opened, which version will be written?

rcw-2 commented 6 months ago

Another issue I was thinking about recently. Is it for the library important whether digikam is opened or closed? So when I write with python into the DB and Digikam is opened, which version will be written?

My experience is that Digikam will not notice changes made by the library if the images were visited before (Digikam seems to cache database results). Digikam advises against running multiple instances on the same database (though it is not clear to me if this covers a common MySQL server). I haven't tried changing the same data in both, but the results may be unpredictable.

rokdd commented 6 months ago

Thank you I would assume the same.. I will try to detect whether it is running