Sunday, October 14, 2007

Getting Growl notifications on your Squeezebox display

Just treated myself to a new gadget, a Squeezebox and I thought how nice it would be to have the display show Growl notifications. It turned out to be very easy, growl just uses css and html to control the notifications and the slimserver lets me hit a url to display text on the Squeezebox's display.

So I created myself a custom notification plugin following the instructions on the growl site and added the following to the template.html inside of the body.

<iframe src="http://localhost:9000/status.txt?p0=display&p1=%title%&p2=%text%&p3=20" height="0" width="0" frameborder="0" scrolling="no"/>

And it just worked, I also get notifications from digiguide running on my windows box as I send them to my Mac mini using ruby-growl.