Re: [Rhythmbox-devel] db.entry_get changes for plugins
- From: Pablo Carranza <pcarranza gmail com>
- To: Lachlan <lachlan 00 gmail com>
- Cc: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] db.entry_get changes for plugins
- Date: Thu, 24 Nov 2011 13:33:27 +0100
Hey, thanks that's good for me too.
On Thu, Nov 24, 2011 at 10:49 AM, Lachlan
<lachlan 00 gmail com> wrote:
On 24 November 2011 18:55, Jonathan Matthew <
jonathan d14n org> wrote:
> On Thu, Nov 24, 2011 at 6:03 PM, Lachlan <
lachlan 00 gmail com> 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 on the net it should be changing from one line to
>> the next one:
>> self.db.entry_get(db_entry, rhythmdb.PROP_ALBUM)
>> self.db.entry_get(db_entry, RB.RhythmDBPropType.ALBUM)
>>
>> When i run this though i get told that entry_get() takes 4 arguments (3 given)
>>
>> I think this has to do with self.db but i'm unsure about where to check.
>
> entry.get_string(RB.RhythmDBPropType.ARTIST)
That's working for me, much simpler.
--
Pablo Carranza
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]