This is a small script I wrote for myself when using XChat and Rhythmbox.

Ever since the latest Rhythmbox release, there has been an undocumented feature in rhythmbox-client to print the string received from shoutcast streams, such as my favorite di.fm radio, which I normally have on. I found several xchat-rhythmbox announcers but they all lacked the ability to determine if rhythmbox currently streams music or listens to a music file.

Now that I actually have free time, I could write a small script to do exactly what I wanted, and I’ve decided to share it. The source/script is released under the terms of the WTFPL.

Quick note the tar file is named without the extension. It says rhythmbox_nowplayingtar not rhythmbox_nowplaying.tar, I have to rename it to be able to extract no big deal or anything just a heads up. Thanks for this I use it all the time Ubuntu 12.10 amd64 with Rhythmbox 2.97