Search This Blog

Posts

As promised, here is my Rhythmbox plugin for streaming whatever is currently playing. To install, just extract it in ~/.gnome2/rhythmbox/plugins. I use the following alias to start playing the stream on my Chumby.alias chumbystream="ssh root@chumby btplay --output=alsa:plug:dmixer http://server:8000/stream.ogg"I also have a few troubleshooting tips.Make sure you haven't muted Rhythmbox. You can control the volume of the stream output using the volume control in Rhythmbox.Make sure your Icecast server is running.If Rhythmbox behaves oddly, try disabling the plugin, restarting Rhythmbox, and re-enable the plugin.If you're interested in writing Python plugins for Rhythmbox, the source code for this plugin is pretty simple. It may serve as a good starting point. Also, see the Rhythmbox plugin writing guide.

This is not only my first Rhythmbox plugin, but also my first use of GTK, Glade, and GConf. I already had a little experience with GStreamer on the OLPC. Overall, the…

I spent a little while today figuring out how to stream the music I was playing in Rhythmbox (in the living room) to my Chumby (in the kitchen) . I found a nice article that explains how to set up a GStreamer pipeline for streaming the monitor output from PulseAudio through Icecast. It works quite well for streaming to the Chumby (except for a pretty significant lag). Here's the quick start guide for Ubuntu Intrepid:Set up PulseAudio.$ sudo apt-get install icecast2Edit /etc/default/icecast2 to enable Icecast and /etc/icecast2/icecast.xml to set a password (defaults to "hackme").$ sudo /etc/init.d/icecast2 startFind the name of your PulseAudio monitor device by opening the manager from the PulseAudio applet. It should start with alsa_output.pci and end with monitor.$ gst-launch pulsesrc device=<alsa_output.pci...monitor> ! audioconvert ! vorbisenc ! oggmux ! shout2send mount=/stream.ogg port=8000 password=hackme ip=127.0.0.1Start sshd on your Chumby.$ ssh root@<…