problems rhythmbox 0.9.3.1

Joe Marcus Clarke marcus at marcuscom.com
Sat Feb 11 22:35:11 PST 2006


On Sat, 2006-02-11 at 22:03 -0500, Joe Marcus Clarke wrote:
> On Sun, 2006-02-12 at 11:01 +0800, Khairil Yusof wrote:
> > On Sat, 2006-02-11 at 14:25 -0500, Joe Marcus Clarke wrote:
> > 
> > > And I am also loading songs over NFS....hmmm.  What FAM system are you
> > > using?
> > 
> > gamin with WANT_FAM_SYSTEM=gamin in /etc/make.conf
> 
> You should be setting WITH_FAM_SYSTEM in make.conf now.  In any event,
> I'm using gamin as well.

I found the problem.  Since gamin is looking at NOTE_ATTRIB for changes,
even a file access change will trigger a FAM changed event.  And since
such an event triggers a reload of the changed file in r-b, the
attributes change again, and then r-b loads the file again, ... and so
on.

It seems to me r-b is being too aggressive in what it considers a
change.  I think a good solution might be to change
rhythmdb_check_changed_file() in rhythmdb.c to always return TRUE.  This
will remove the "changed" file from the list of changed files, and it
should never trigger this cycle.

I'll give this a try, and let you know.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20060212/67c93371/attachment.bin


More information about the freebsd-gnome mailing list