Re: [Tracker] Tagging with Nautilus



Updated for the new Keyword API.

On 8/1/06, Edward Duffy <eduffy gmail com> wrote:
On 8/1/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
> Edward Duffy wrote:
> > I put together a Nautilus plugin for adding a 'Tags' tab on the
> > Properties page for any file.  It acts just like tracker-tag, you can
> > add and remove tags to and from files (batch works..mostly).  Anyway,
> > attached is the plugin, just copy it into your
> > ~/.nautilus/python-extensions folder and restart nautilus.  Tracker
> > from CVS is required.
> >
> > It's just a first shot...comments welcome.
> >
> >
>
> yeah it looks good
>
thanks

> It would be cool if you could display the tag totals in brackets for
> each tag
I tried mimicking the way Epiphany does it... editable GtkEntry with
comma seperated tags.  Works pretty well considering all the events
being fired off at Tracker (new version attached).


> (its already great you sort by most used tag!)
Hell, why not? The API already provided it.
The sorting could use some work, I just don't have enough tags in
there yet to get an idea of what'll work best.  Epiphany moves all
your selected tags to the top.  I was thinking it would be cool to put
the most common tags for the file type you're editing up top.  So, if
I go to change the tags for a video, the tags most common to video
files would be at the top.  But the API doesn't provide an easy way to
do that, as far as I can tell.  Is there a way to map file URI to a
list of services?  So '/home/user/music/song.mp3' returns
['Files','Music']?
>
> I'm thinking of changing the way tags are done so that each tag can have
>   an icon/emblem and maybe a short description in tracker. Will look how
> nautilus does it for inspiration :)
>
>
> --
> Mr Jamie McCracken
> http://jamiemcc.livejournal.com/
>
>



Attachment: tracker-tags-tab.py
Description: Text Data



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