GNOME Bugzilla – Bug 395644
rhythmbox imports files adjacent to added files when modified
Last modified: 2007-01-31 09:44:40 UTC
1. Create ~/foo/Green.ogg, ~/foo/Red.ogg 2. Add ~/foo/Green.ogg to rhythmdb (Music->Import File) 3. Touch ~/foo/Red.ogg Result: ~/foo/Red.ogg is added to rhythmdb.
When file monitoring is enabled, we intentionally monitor all directories containing files already in the library.
Why? If I added a file to the library, I want that file to be in the library, not all files in the same directory.
Created attachment 80127 [details] [review] rhythmdb_directory_change_cb-dont-add-hidden-or-siblings.patch Also fixes bug 395124.
rb_uri_is_hidden() will segfault if it's passed a URI that doesn't have a '.' in it.
(In reply to comment #4) > rb_uri_is_hidden() will segfault if it's passed a URI that doesn't have a '.' > in it. Um, it segs if passed a URI without a '/' in it. Does such a thing exist?
Err, never mind. My brain seems to have malfunctioned while reading the code.
Committed to svn. Thanks.