So, recently I started putting together a home music server. I got all the basics up without too much hassle, but didn’t get around actually installing music collection.
After getting back to it, I quickly figured out that the raspberry pi doesn’t put out enough current on its USB ports to drive a 2.5″ spinning drive (as manifested by the drive not spinning up and just making a weak clicking noise.) I started looking around for a powered USB hub, but couldn’t find anything cheap enough in town.
With a little googling, I found that it doesn’t put out enough current by default, but you can change its configuration to let it put out enough juice. So, I gave that a shot today. Turns out the hardest part is figuring out the password to log in. Even that only took about 1 more minute of googling. So, log in, update firmware, reboot, log in, edit a config file, reboot. Even my feeble brain can handle that.
On final reboot, it immediately found the drive and mounted it. So, I went to the gui config for the Logitech Media Server and told it what to index.
And there we go. Thought it was gonna take forever, but its moving at a pretty good clip now and should only take an hour or two. Nice! Let the jams begin.
I used to keep all my music on my mac, but after downsizing to a smaller (but zillion times faster) SSD drive, I can’t seem to jam everything in any more. So, I’ve been using a portable 500Gb USB drive to keep my music. Gets the job done, but even though its small, its hassle to haul around.
At various times, I’ve run a home file server. But, its always on whatever clunky old pc hardware I had lying around. Eventually, some hardware dies, or I just get sick of the fan noise of old power supplies.
Its been on the to do list to checkout using a raspberry pi based server. Super low power, no fans, and hopefully, easy to set up.
So, last week I finally gave it a go and picked up a raspberry pi model 2, a case, and a 16Gb microsd card. Beyond the hardware, you just need some music server software, after a brief search, I settled on SqueezePlug; mainly because it supports my aged SqueezeBox Boom.
Setup goes something like this:
- Format the microsd using SD Association Card Formatter.
- Download the SqueezePlug Noobs image.
- Unzip it.
- Copy the unzipped files to the formatted microsd card.
- Put the card in the raspberry pi. I connected a monitor and keyboard, but I don’t think I really needed them. I jacked in a USB key drive with a few songs to test things out.
- Let the installer run its magic. It takes a long time, 20 minutes.
- If you watch the install on screen, at the end of the process it reboots and at the end of all the boot up messages, it tells you the IP address for the raspberry pi.
- Use a browser on another computer in your network to continue the setup process.
- I then followed the one screen prompts to download and setup the Logitech Media Server. Pretty idiot proof, but another long wait as the 125Mb file downloaded.
- In Logitech Media Server, I just pointed it the files on the USB key drive.
- I went over to my SqueezeboxBoom and it found the new server without much fuss and was able to find all the songs I added.
- Finally, I turned on samba file sharing. So, I can easily add new music over the network (though I might just copy files directly to the drive over USB connected to the mac and then move to raspberry pi as network transfer seems slow) and play the files directly on the computer.
That wasn’t much work at all. Kinda regret not doing it sooner.
Squeezeplug also has other features that allow it to be an airplay end point. Basically, be a remote set of speakers for an apple device. I tried it just now, but I’m not seeing the raspberry pi as an air play destination. I suspect it might be because the pi is connected by wire and not wifi, which seems be an airplay requirement.
There’s a bug somewhere with gnome-do‘s key binding set up interface. It wouldn’t let me set <Control>space as for the summons action (which I’ve used pretty much since the down of time, or at least as long as I’ve been using Quicksilver on Mac.) At first I thought it was a conflict with an existing short cut, but I couldn’t find anything mapped to that key combination.
After some digging, I found you can edit (all?) of gnome-do’s config from gconf-editor. Just navigate to apps > gnome-do > preferences > Do > Interface > AbstractKeyBindingService > Summon_Do and type in the value <Control>space. The other stumbling block that was that you need to shut down gnome-do before the configuration changes from gconf-editor to stick.
With that out of the way, now I can back to dialing in my fresh 14.04 install.
Quick file searching. Similar to Fast Open in Komodo. Installation is slightly annoying (needs ruby and ruby-dev to configure, and c compiler to build.)
Language specific block comments. Oh, yeah, that’s much better.
Running Win8 style window decorations on my Cinnamon desktop on Ubuntu. Flat is the new black.
After noticing that my contact list in Pidgin was a lot shorter than usual, I figured out that I wasn’t connecting to Google Talk anymore.
Some where along the line, I forgot to update my Pidgin account settings for 2 factor authentication . Wasn’t super clear how to do that, but SuperUser set me straight:
Connecting Adium to Google Talk with a 2-factor authentication account isn’t working – Super User.
Meet The $799 All-in-One Ubuntu PC from System76 | OMG! Ubuntu!
Pretty nice, but I don’t see them moving a lot of them at that price point.