Re: [Rhythmbox-devel] Watched Directories



On Thu, Oct 06, 2005 at 01:35:57AM +1100, James Livingston wrote:
> G'day everyone,
> 
> After noticing a small problem with watching for changed files the other
> day (bug 316910), I realised how close we were to having proper "Watched
> Directories" done (which is bug 160159).
> 
> 
> Attached is a small patch which lets Rhythmbox monitor directories for
> new tracks. However there are several caveats:
> 
> * There is no UI for it yet. Set the gconf
> key /apps/rhythmbox/library_locations to be a list of strings, which are
> the URIs of the director(y/ies) you want to watch. NOTE: these are uris
> with trailing slashes, not path names - e.g. "file:///media/music/" not
> "/media/music".
> 
> * Rhythmbox will not monitor tracks in the library for changes, if they
> are not in a watched directory. This is currently half-broken anyway
> (due to bug 316910), and should be easy enough to fix.
> 
> 
> Hopefully I'll get around to fixing those two soonish, but I though I'd
> post it anyway so that people can take a look.

Very cool, I'll play with this tonight (160159 is my bug).  Are there
any issues if the files are on mounted NFS or SMB shares? 

Alan

-- 
Alan <alan ufies org> - http://arcterex.net
--------------------------------------------------------------------
"Backups are for people who don't pray."                 -- big Mike

Attachment: pgpZILxcTcLYD.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]