GNOME Bugzilla – Bug 534062
[ Python Interface ] RhythmDBEntryType attributes are missing.
Last modified: 2008-06-08 06:43:14 UTC
RhythmDBEntryType attributes are missing. Especially the save_to_disk attribute is useful if you want your plugin to add entries to the database. Now, they are deleted when rhythmbox is closed. rhythmdb.defs : 28 The only thing that needs to be added, is: '("gboolean" "save_to_disk") as far as I can tell, but I have no experience in this.
Created attachment 111246 [details] [review] adds the save_to_disk attribute to RhythmDBEntryType
However, I still can't access the attribute: --- Traceback (most recent call last):
+ Trace 198249
self.entry_type.save_to_disk = True
--- How to fix this?
Created attachment 111363 [details] [review] adds read/write in Python to attribute save_to_disk in entry_type (RhythmDBEntryType) I think I solved it. However, this is my first attempt to make a patch, so please notify me if anything is wrong.
There were a few minor problems with the patch (save_to_disk is not a RhythmDBEntryTypeCategory), but I've fixed those up and committed it. Thanks.