[Rhythmbox-devel] rhythmdb entries
- From: Ron Croonenberg <ronc depauw edu>
- To: rhythmbox-devel gnome org
- Subject: [Rhythmbox-devel] rhythmdb entries
- Date: Wed, 30 Dec 2009 21:27:57 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]