[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Rhythmbox-devel] Populating source list...
- From: Robert Connolly <rob_connolly mailshack com>
- To: rhythmbox-devel gnome org
- Subject: [Rhythmbox-devel] Populating source list...
- Date: Sat, 03 Nov 2007 13:39:56 +1300
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]