Re: Extended attributes lastCrawlAttr
- From: Nat Friedman <nat novell com>
- To: Raphaël Slinckx <raf raf wol be>
- Cc: dashboard-hackers gnome org
- Subject: Re: Extended attributes lastCrawlAttr
- Date: Tue, 02 Nov 2004 07:45:20 -0500
On Tue, 2004-11-02 at 13:27 +0100, Raphaël Slinckx wrote:
> Hi !
>
> I was testing beagled and I was wondering why it didn't crawl my
> directories, i saw it throws an exceptions here (CrawlQueue.cs:108)
You need extended attributes enabled on your filesystem. Add a
"user_xattr" flag to the appropriate entry in /etc/fstab:
/dev/hda4 /home ext3 acl,user_xattr 1 2
> Then it stops crawling.
That is terrible. We should really handle this more gracefully. I've
opened a bug on your issue here:
http://bugzilla.gnome.org/show_bug.cgi?id=157130
> > private void SetCrawlTime (string path)
> > {
> > DirectoryInfo dir = new DirectoryInfo (path);
> > if (! dir.Exists)
> > return;
> >
> > try {
> > ExtendedAttribute.Set (dir, lastCrawlAttr, StringFu.DateTimeToString (DateTime.Now));
> > } catch(Exception e) {
> > Console.WriteLine("Failed to set xattr for dir {0}, skipping",dir);
> > }
> > }
I think this is probably right, but I'll leave this to Jon.
> Also I'm adding a filter for flac files, and i'll post a patch when it
> is ready (not tested yet). I looked at the Mp3 Filter, and saw it adds
> fixme:artist,fixme:xx properties, is this normal ?
Yes, we haven't named our metadata properties or namespaced them
properly yet, so we're calling our namespace "fixme" as a placeholder.
Nat
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]