Now I'm getting this...

  File "/home/justin/.gnome2/rhythmbox/plugins/cube/led-cube.py", line 12,
in activate
    bus = player.props.bus
AttributeError: 'gobject.GProps' object has no attribute 'bus'
Traceback (most recent call last):
  File "/home/justin/.gnome2/rhythmbox/plugins/cube/led-cube.py", line 22,
in deactivate
    player.props.bus.disconnect(self.bus_id)
AttributeError: 'gobject.GProps' object has no attribute 'bus'

Thanks,
Justin


Jonathan Matthew-4 wrote:
> 
> On Wed, Apr 29, 2009 at 03:27:47PM -0700, EmbeddedMicro wrote:
>> 
>> Thanks a lot for that example!
>> 
>> However when I run it I get the error.
>> 
>>   File "/home/justin/.gnome2/rhythmbox/plugins/cube/led-cube.py", line
>> 24,
>> in filter_inserted
>>     p.get_bus().connect('message', self.on_message)
>> AttributeError: 'NoneType' object has no attribute 'connect'
> 
> I had only tested it with crossfading enabled.  Turns out there wasn't a
> good way
> to get at the bus in the playbin player backend, so I've added one (git
> commit
> 93c4e34a).  The updated example (same URL) works with both now, although
> removing the filter doesn't work very well at all.
> 
> _______________________________________________
> rhythmbox-devel mailing list
> rhythmbox-devel@gnome.org
> http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Python-Plugin-LED-Cube-Visualizations-tp23117783p23316985.html
Sent from the Gnome - Rhythmbox - Dev mailing list archive at Nabble.com.

_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel@gnome.org
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel

Reply via email to