For anyone who doesn’t already know, the Raspberry Pi is a tiny computer based on a cellphone chip, which runs Linux (amongst other things) and costs less than $50. I’ve had 2 for a few months, bought out of interest and novelty, I didn’t really have a clear idea what I’d do with them.
Recently however, I’ve been working to turn one into a music player of sorts and the experience has been a rewarding one.
The OS I’ve chosen is Raspbian, a Debian variant provided by the Raspberry Pi creators and the community. It’s lightweight, provides a desktop if you need it (I don’t in this case) and has the full power of Debian and all its packages behind it.
One of those packages is the remarkable “mpd” or Music Player Daemon. This little gem is a jukebox in a box. Easily scriptable from the command line and with just about every feature you could want (it’s got everything I’ve needed so far, including shuffle, repeat, playlists, volume controls and even track crossfading!)
Pair that with Django to whip up a quick web-based interface and viola! you’ve got a tidy little player.
Admittedly there was some wrangling required to get the sound right, the default drivers are renowned for loud pops between tracks as the audio device is turned off and on, but there are several workarounds posted online and I found one that worked for me. Now the sound quality is perfectly acceptable.
Todays trick was getting a USB WiFi adapter working and I was a little dubious since the last time I tried to get wireless working without a GUI a few years ago was fraught with issues, wrangling wpa_supplicant and iwconfig. Seems things have come along though and only 2 configuration lines in /etc/network/interfaces to define the SSID and passphrase and POW! Connected.
This little thing continues to surprise and delight me.
Another possible project I have in mind is a web terminal/kiosk for my sisters business. She has a new online timekeeping system and she wants web terminals near the equipment but was concerned at the cost of buying several PC’s, even super cheap ones. I pointed out that a small screen, plus RPi, plus mouse and keyboard would be under $200, she seemed to like the idea :)
If you’re a tinkerer, I recommend you try one of these out. It’d be a bargain at twice the price.
Luke.



subject line you say? Oh, you want to deliver mail to users authenticated from Active Directory, but there are 3 domains and users might exist in any (and more than) one?