Re: [Rhythmbox-devel] entry-added signal & PROP_TIME
- From: Jean-Lou Dupont <jl jldupont com>
- To: Jonathan Matthew <jonathan d14n org>
- Cc: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] entry-added signal & PROP_TIME
- Date: Thu, 10 Jun 2010 08:14:05 -0400
Thanks for all your help! I was able to move forward.
--
On Thu, Jun 10, 2010 at 4:04 AM, Jonathan Matthew
<jonathan d14n org> wrote:
On Tue, Jun 8, 2010 at 5:20 AM, Jean-Lou Dupont <
jl jldupont com> wrote:
> I am writing a Python plugin.
> I'd like to act upon each 'song' during the "entry-added" signal. How do I
> filter against "PROP_TYPE" in this case?
Instead of accessing the entry type as a property, you need to use
entry.get_entry_type(). You can then compare it against
db.entry_type_get_by_name("song") or whatever.
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel gnome org
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]