Thanks a lot! That example is exactly what I needed. Also will the changes you made to Rhythmbox eventually make it to the Ubuntu repository? How long does that usually take?
One thing I noticed is there is a pause about every second in the output. It is a short pause but it might mess with the visual. It could just be the way the terminal looks too. I'll find out later. Also it complains when the plugin is disabled. And I don't think it is getting removed from the pipe as when I first start it, it says spectrum0 in the output but if I disable/enable it it goes up by one each time, ie spectrum8. Is there a max value that the magnitude part can contain. I know the minimum is set with the threshold property, but I see nothing on a max value. Jonathan Matthew-4 wrote: > > On Thu, Apr 30, 2009 at 07:10:47AM -0700, EmbeddedMicro wrote: >> >> 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' > > Maybe I didn't make this clear, but this will only work if you build > rhythmbox > from git (http://git.gnome.org/cgit/rhythmbox/). > > _______________________________________________ > 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-tp23117783p23340956.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