Feature #374

real-time library monitoring

Added by Jim Nelson about 4 years ago. Updated about 1 month ago.

Status:Fixed Start date:08/18/2009
Priority:High Due date:11/02/2010
Assignee:Jim Nelson % Done:

100%

Category:-
Target version:-
Keywords:

Description

Magical feature: Link to directory, where image files placed into it are automatically imported into the library.

History

Updated by Jim Nelson almost 4 years ago

  • Subject changed from Link to directory to Auto-import from directory

Updated by Bruce Cowan about 3 years ago

  • Target version deleted ()

Updated by Adam Dingle about 3 years ago

Similarly, images deleted from a linked directory should automatically disappear from the library.

Updated by Adam Dingle about 3 years ago

  • Priority set to High

Updated by Adam Dingle about 3 years ago

  • Subject changed from Auto-import from directory to monitor library directory for added/removed files

Updated by Adam Dingle almost 3 years ago

As part of directory monitoring, we should also notice images which have been changed externally and update their thumbnails in Shotwell.

Updated by Adam Dingle almost 3 years ago

  • Status changed from Open to Review
  • Assignee changed from Anonymous to Jim Nelson

Updated by Robert Ancell almost 3 years ago

It is also desirable to follow symlinks and watch for changes in those directories too. (Not sure if this requires any additional code to handle)

Updated by Adam Dingle almost 3 years ago

Robert,

that's a reasonable suggestion. I think we will follow symbolic links (which will require a little bit of additional code, actually).

Updated by Adam Dingle almost 3 years ago

  • Subject changed from monitor library directory for added/removed files to [strings] monitor library directory for added/removed files

Updated by Adam Dingle almost 3 years ago

  • Subject changed from [strings] monitor library directory for added/removed files to monitor library directory for added/removed files

Removing the [strings] tag since the only new string introduced by this particular ticket (“Missing Files”) has already been committed. (The preference to enable/disable monitoring is a separate ticket#2299).

Updated by Jim Nelson almost 3 years ago

I've committed a patch to auto-import (add) photos that are added to the library directory.

This ticket is now a meta-ticket for these other remaining tasks: #2307,#2306, #2305, #2303, #2302, #2301, #2300

Updated by Adam Dingle almost 3 years ago

  • Assignee changed from Jim Nelson to Anonymous

Updated by Adam Dingle almost 3 years ago

I'm breaking this ticket into two. This ticket represents monitoring for changes on the fly, but no necessarily adding newly discovered files. A separate ticket will represent adding new files discovered during scanning (whether via monitoring or a startup scan).

Updated by Adam Dingle almost 3 years ago

  • Subject changed from monitor library directory for added/removed files to real-time library monitoring

Updated by Adam Dingle almost 3 years ago

As part of real-time monitoring, we need to do the following:

  • detect when external drives are mounted/unmounted
  • detect when the library directory itself has been renamed or deleted
  • update the monitoring state when the user changes the path of the library directory

Updated by Jim Nelson over 2 years ago

  • Assignee changed from Anonymous to Jim Nelson

Updated by Jim Nelson over 2 years ago

  • Status changed from Review to 5
  • Resolution set to fixed
  • % Done set to 100

Committed. For now can only be enabled through command-line options --runtime-monitoring and --runtime-import. Will soon be available in Preferences: #2492. Further testing needs to be done for scalability issues.

Updated by Charles Lindsay about 1 month ago

  • Status changed from 5 to Fixed

Also available in: Atom PDF