Hi all,

I'm trying to add entries to the list in a browser source. This is what 
I have so far:

db = self.shell.props.db
entry_type = db.entry_register_type("NJB:List_Entry")
entry = db.entry_new(entry_type, "njb://song/%i" % count)
# set properties
db.set(entry, rhythmdb.PROP_TITLE, tag.GetStringValue())
# ... set rest of properties
db.commit()

That seems to work, I don't get any errors, but nothing shows up in the 
Browser listing.

Anyone got any ideas?

Cheers,

Rob

_______________________________________________
rhythmbox-devel mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel

Reply via email to