darktable-org / darktable-org/darktable

Sync database with exernally edited library

Open
#17,512 16 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

I'm unable to use darktable at the moment because my library is stored on an external drive which I use to edit my photos on multiple computers. I thought that since all the data is stored on the xmp file it would be easy but the databases not being synched really make this difficult. Enabling "look for updated xmps on startup" somewhat helps but it still doesn't work.

Deleting photos from one device shows skulls on other devices, and the dbmaint script doesn't seem to work. Duplicating on one device doesn't show duplicated images on other devices.
And this is just the first two things I tested.

Ideal solution would be to have an option "update database on startup", otherwise at least a manual option to "refresh" a film roll from the library.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the dbmaint script and the existing "look for updated xmps on startup" behavior described in the issue. Reproduce the external-library cases for deletion and duplication across computers, then define whether the database should update on startup or support manual film-roll refresh. Done means changes made on one device are reflected on the others without stale entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.