Re: [Rhythmbox-devel] db.entry_get changes for plugins

2011-11-30 Thread Lachlan
On 28 November 2011 17:39, Lachlan wrote: >> entry.__setattr__('LOCATION', 'file:///etc/etc/etc/etc.mp3') > > On further testing this code doesn't work for me, it actually was > creating a new entry in the database with just the new location. :( This was my fault, I'd removed code while i was tes

Re: [Rhythmbox-devel] db.entry_get changes for plugins

2011-11-24 Thread Lachlan
Thanks, for the pointer. Everything is now working correctly except the config UI which I'm not so worried about yet. In relation to this thread, if anyone is having trouble SETTING properties instead of just reading them i used this code: entry.__setattr__('LOCATION', 'file:///etc/etc/etc/etc.mp

Re: [Rhythmbox-devel] db.entry_get changes for plugins

2011-11-24 Thread Pablo Carranza
Hey, thanks that's good for me too. On Thu, Nov 24, 2011 at 10:49 AM, Lachlan wrote: > On 24 November 2011 18:55, Jonathan Matthew wrote: > > On Thu, Nov 24, 2011 at 6:03 PM, Lachlan wrote: > >> So now that Debian testing is running git versions of Rhythmbox I've > >> been updating my plugin

Re: [Rhythmbox-devel] db.entry_get changes for plugins

2011-11-24 Thread Lachlan
On 24 November 2011 18:55, Jonathan Matthew wrote: > On Thu, Nov 24, 2011 at 6:03 PM, Lachlan wrote: >> So now that Debian testing is running git versions of Rhythmbox I've >> been updating my plugin. >> >> So far i have it activating and the menu items are populating which is >> awesome, now i j

Re: [Rhythmbox-devel] db.entry_get changes for plugins

2011-11-24 Thread Jonathan Matthew
On Thu, Nov 24, 2011 at 6:03 PM, Lachlan wrote: > So now that Debian testing is running git versions of Rhythmbox I've > been updating my plugin. > > So far i have it activating and the menu items are populating which is > awesome, now i just have to work out functionality > > from what i've found

Re: [Rhythmbox-devel] db.entry_get changes for plugins

2011-11-24 Thread Pablo Carranza
This is the way i've found, I'm facing the same problem: def some_method() return self.get_value(entry, RB.RhythmDBPropType.ENTRY_ID) def get_value(self, entry, property_type): t = self.db.get_property_type(property_type) value = GObject.Value() value.ini

[Rhythmbox-devel] db.entry_get changes for plugins

2011-11-24 Thread Lachlan
So now that Debian testing is running git versions of Rhythmbox I've been updating my plugin. So far i have it activating and the menu items are populating which is awesome, now i just have to work out functionality from what i've found on the net it should be changing from one line to the next o