Bug 441353 - database rescan command-line option?
Summary: database rescan command-line option?
Status: RESOLVED DUPLICATE of bug 254099
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Database (show other bugs)
Version: 7.1.0
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-22 10:55 UTC by Johannes Berg
Modified: 2021-08-22 11:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Berg 2021-08-22 10:55:07 UTC
I've got some non-digikam "import-like" workflow, and for that it'd be nice to have a way to force an album rescan (like digikam does after startup) from the command-line, exiting when completed.

Any chance of such a thing getting accepted? Unless it's super complicated due to some structure (or maybe because digikam simply doesn't have a way of running without UI?), I'd take a stab myself at implementing it.
Comment 1 Maik Qualmann 2021-08-22 11:10:17 UTC

*** This bug has been marked as a duplicate of bug 254099 ***
Comment 2 Maik Qualmann 2021-08-22 11:13:52 UTC
I suspect that the scan at the start of digKam takes too long that you therefore want to have a command line option. We have significantly accelerated the scan at the start in digiKam-7.4.0 (git/master), see Bug 405235

Maik
Comment 3 Johannes Berg 2021-08-22 11:20:57 UTC
Oops, thanks for the duplicate, I was thinking of rescan only.

It's not (just) about the duration of the scan - I'm also doing some database manipulations in my scripting (adding a tag to understand when I imported a given picture), and I didn't dare insert the new files into the database myself, so currently I'm manually starting digikam while the script waits for user input.