As far as I know, you'll have to look at the source for the api.  The python
api directly map to them if my memory serves correctly.  Don't use the
private functions, just what is in the rhythmdb.h file I believe.

sri

On Wed, Dec 30, 2009 at 6:27 PM, Ron Croonenberg <r...@depauw.edu> wrote:

> I am trying to access the rhythmdb, I checked the "plugin writing guide"
>
> but the only thing I can find is the following snippet:
>
> %<
> for row in mysource.props.query_model:
>        entry = row[0]
>        print db.entry_get(entry, rhythmdb.PROP_TITLE)
> %<
>
> is there a document that shows how to use the rhythmdb?
>
> For accessing all rows in the db, do I just loop through it and than get
> data out of an entry by using something like:
> 'db.entry_get(entry, rhythmdb.PROP_TITLE)'  , like in the above snippet?
>
> I see there is a rhythmdb.PROP_TITLE, is there also a rhythmdb.PROP_ARTIST,
> rhythmdb.PROP_ALBUM, etc etc  (is there a list of these?)
>
> thanks,
>
> Ron
>
>
> _______________________________________________
> rhythmbox-devel mailing list
> rhythmbox-devel@gnome.org
> http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
>
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel@gnome.org
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel

Reply via email to