Re: [Rhythmbox-devel] Tagging support idea

On Feb 2, 2008 12:57 PM, Andrew Conkling <andrew conkling gmail com> wrote:
> I had an idea regarding tagging support
> ( and wanted to get some
> feedback before I started hacking. (Well, hopefully. Read on.)
> Since the core support is already added, we have some UI work to do. I was
> thinking maybe the UI could be implemented as a (Python) plugin. It'd be a
> bit more agile, could hook into all the core parts... and I could help work
> on it. :P
> It'd be pretty easy to work on some of the existing ideas--automatic
> playlists, the properties dialog, and the context menu.
> A few questions though:
> * Can a (Python) plugin hook into the necessary stuff in automatic playlists
> to add it as a search criteria? I've never seen this done.

Not at the moment, as the automatic playlist editor is not extensible
at all. I'm a bit dubious about allowing plugins to extend the
playlist editor.

>  * Can a plugin add <keyword> entries to RhythmDB to save added tags?

Something like this should work: db.entry_keyword_add(entry, "keyword")

> * Is there any way to query <keyword> entries? I didn't quite make sense of
> Doc's comment on the bug;

db.entry_keywords_get(entry) is supposed to return a list of the
keywords on an entry, but it needs some hackery to get it to appear in
the bindings.

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