real-time library monitoring
Submitted by Jim Nelson
Assigned to Jim Nelson
Link to original bug (#715446)
Description
---- Reported by jim@yorba.org 2009-06-16 14:21:00 -0700 ----
Original Redmine bug id: 374
Original URL: http://redmine.yorba.org/issues/374
Searchable id: yorba-bug-374
Original author: Jim Nelson
Original description:
Magical feature: Link to directory, where image files placed into it are automatically imported into the library.
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:42:00 -0700 ----
History
Comment 1
Updated by Jim Nelson over 4 years ago
- Subject changed from Link to directory to Auto-import from directory
Comment 2
Updated by Bruce Cowan over 3 years ago
-
Target version deleted (
<strike>
__</strike>
)
Comment 3
Updated by Adam Dingle over 3 years ago
Similarly, images deleted from a linked directory should automatically disappear from the library.
Comment 4
Updated by Adam Dingle over 3 years ago
- Priority set to High
Comment 5
Updated by Adam Dingle over 3 years ago
- Subject changed from Auto-import from directory to monitor library directory for added/removed files
Comment 6
Updated by Adam Dingle over 3 years ago
As part of directory monitoring, we should also notice images which have been changed externally and update their thumbnails in Shotwell.
Comment 7
Updated by Adam Dingle over 3 years ago
- Status changed from Open to Review
- Assignee changed from Anonymous to Jim Nelson
Comment 8
Updated by Robert Ancell over 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)
Comment 9
Updated by Adam Dingle over 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).
Comment 10
Updated by Adam Dingle over 3 years ago
- Subject changed from monitor library directory for added/removed files to [strings] monitor library directory for added/removed files
Comment 11
Updated by Adam Dingle over 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).
Comment 12
Updated by Jim Nelson over 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 (closed),#2306 (closed), #2305 (closed), #2303 (closed), #2302 (closed), #2301 (closed), #2300 (closed)
Comment 13
Updated by Adam Dingle over 3 years ago
- Assignee changed from Jim Nelson to Anonymous
Comment 14
Updated by Adam Dingle about 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).
Comment 15
Updated by Adam Dingle about 3 years ago
- Subject changed from monitor library directory for added/removed files to real-time library monitoring
Comment 16
Updated by Adam Dingle about 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
Comment 17
Updated by Jim Nelson about 3 years ago
- Assignee changed from Anonymous to Jim Nelson
Comment 18
Updated by Jim Nelson about 3 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 (closed). Further testing needs to be done for scalability issues.
Comment 19
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Fixed
--- Bug imported by chaz@yorba.org 2013-11-25 21:41 UTC ---
This bug was previously known as bug 374 at http://redmine.yorba.org/show_bug.cgi?id=374
Unknown Component Using default product and component set in Parameters Unknown version " in product shotwell. Setting version to "!unspecified". Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Resolution: RESOLVED FIXED