Using a Raspberry Pi as a Squeezebox

I have recently been playing around with using Raspberry Pi devices as streaming music players within a Squeezebox-based system. I've arrived at quite a comprehensive arrangement, which includes a Pi as a player:This is a rough illustration of my current implementation of a network of Squeezebox players linked to a NAS (GrumpyBox) running Logitech Media Server (LMS). It consists of several Logitech Squeezeboxes, a couple of iPads that are playback-capable through apps such as SqueezePad and iPeng, and the software Squeezebox emulater, SqueezePlay. To this I have recently added a Raspberry Pi running piCorePlayer. I also have a second Raspberry Pi running Squeezeplug, which has its own instance of LMS (not shown in the diagram).I've summarised the usage cases of the three setups I have tried in the table below. My opinion can be summarised as:

  • If all you want to do is run a media player connected to an existing LMS, choose the piCorePlayer option.
  • If you need to set up a media server as well as a player, choose the Squeezeplug option.
  • By far the most versatile of the two DAC cards I've tried is the Wolfson DAC - if you want to use this, then Squeezeplug or the custom Wolfson kernel options are best.
  • Both Squeezeplug and piCorePlayer work well with USB DACs
SqueezeplugpiCorePlayerWolfson kernel
URLwebsitewebsitewebsite
UsageConvenient low cost LMS server and playerLow cost and easy to use player. Configured via web interface.Wolfson supply a patched image supporting the DAC. Squeezelite can easily be installed and configured
LMSyesnono
GuideSqueezeplug wikiI also described this installation here. Instructions at the piCorePlayer website I described this here
Wolfson DAC supportednot supportedsupported
HiFiBerrysupportedsupported
Notes

1, 4

2, 3

  1. May require powered USB hub if a USB-powered hard drive is used with LMS
  2. piCorePlayer is run solely from RAM. The Pi can be powered off without corrupting the SD card
  3. Also supports the Sabre DAC and the HiFiBerryDigi card though I’ve not tried these
  4. I set up a script for a button press to shutdown the Squeezeplug (and the Wolfson kernel) systems so the Pi can be safely powered down. See here.
For both the Raspberry Pi based devices I use, you do need to think about how you interact with them. I use the LMS web interface (usually found at http://IPaddress:9000) with a laptop, or one of the many tablet or smartphone apps that are available (such as the afore-mentioned SqueezePad and iPeng).Installing any of these devices is much easier if you have a reasonable amount of experience with the Linux command line. On the other hand, a Raspberry Pi is a pretty good way to learn the Linux command line! 

  564 Hits

Book review: Cycling in the Hebrides

When we first visited Lochedge Guest House in 2012, Richard Barrett, who runs Lochedge, mentioned he was just completing a book on cycling in the Hebrides. By the time we returned in 2014, the book was approaching a reprint, and there were a couple of copies in the B&B. After leafing through one of these, I decided to buy a copy on my return.[caption id="" align="alignleft" width="187"] Cycling in the Hebrides cover[/caption]Physically, the book is conveniently sized for stuffing in a pocket or handlebar bag. But its small size doesn't detract from its contents. In its nearly 300 pages, all of the Hebridean islands from Arran to Lewis are well-covered, along with a number of linking routes, many on the west coast of mainland Scotland, which enable the individual routes to concatenate  into lengthy tours. I have on many occasions ridden on Mull, Skye and the Outer Hebrides, and many of the west coast roads, and I think Barrett's descriptions of these routes are accurate and well-described. I imagine that the routes I've not ridden so far will be likewise accurate.The routes include maps and (usefully) altitude profiles. The descriptions include useful factoids such as places to eat and where bike shops are (they can be few and far between), along with interesting facts about locations that pique one's interest.While the main part of the book consists of six geographically grouped chapters of cycling routes, they are book-ended by an introduction that give well-considered advice on planning a trip (including equipment, weather, maps, and suggestions for tours), and a series of useful appendices with summaries of the routes, ferries and so forth. I am particularly taken by the table of possible day trips to the minor islands (e.g. a day trip to Coll is possible from Oban on Thursdays in the summer, with a possible stay on Coll of 8 hours).Having read the book, I am now planning excursions to the southern and minor islands!Highly recommended, even to those (like me) who may have cycled extensively in some of the Hebrides before.Cycling in the Hebrides - Island touring and day rides by Richard Barrett Pub Cicerone Press ISBN9781852846435

Tags:
  362 Hits

Media

  347 Hits

Bossard Wheelers 10 F15/10 10th May 2014

The weather forecast didn't bode well for this event - not only strong and gusty winds of around 25mph, but heavy showers were predicted. Actually, I was indoors when the big shower blew over, and all I really had to deal with was the stupidly strong wind. Accordingly, I'd replaced my usual H3 with a standard road wheel before I rode over to the race HQ at the Marston Moretaine social club.It was quite clear by the time I arrived that my choice of front wheel was a wise one - even the standard road wheel was slightly twitchy. I hung around at the HQ for as long as possible before riding over to the start at the top of Brogborough hill, about 3.4 miles or so. Happily, it stayed dry, and I didn't have to wait for long before my start.Descending Brogborough hill was rather quick. I recorded a maximum of 73.2 kph, and I'm sure it would have been faster had I the courage to stay on the tribars all the way down! From there to the turn, it was seriously fast, mostly at 46-54 kph (well in excess of 30 mph), only easing back for a car at the first roundabout.  Having said that, I don't think I was taking full advantage of the tail wind, as I can't really pedal at high cadence when in the aero tuck position. The marshal at the turn was warning riders of gusts across the roundabout. This advice was very good!Once round the turn, things took a turn for the worse. I found myself grovelling back to the finish, struggling to keep my speed over 20mph. I was consoled by seeing decent power figures, so at least I knew I was making an effort. On the return leg I was having trouble steering round the myriad potholes while steering the bike in the strong headwind. Eventually, the finish time keeper came into view, and I finished in a disappointing 24:19. Mind you, this was the windiest time trial I can recall ever riding. 

Tags:
  326 Hits

Bikes

  355 Hits

Astwood 10, 7th May 2014

By the time I rode up to Astwood for this evening's club event the conditions, while dry, had got decidedly windy. As a result, the leg out to Chicheley was really rather twitchy. But somewhat oddly there were places in that section where I found it quite sheltered. Still, the upshot was that once past Chicheley, my pace picked up with more than a smidge of wind assistance.The roadworks before North Crawley seem pretty much complete, with some nice smooth tarmac - though as a fellow competitor observed before the race, had it rained the greasy surface wouldn't have been much fun. The speed kept reasonably well through North Crawley and on past the University road. I pressed on, oblivious (nearly!) to the tugging wind. Just past the Cranfield turn, I started hearing a tick-tick-tick from my bike...clearly something on a wheel striking the frame (or the reverse)...Somewhat alarmed, I looked down at my wheels, and couldn't see anything amiss. Sadly, I was wrong. A few hundred metres further on, I was cornering when the rear tyre blew quite noisily. Somewhat gingerly I came to a halt. Ho hum! I set off on the trudge back towards the finish.  Oddly, I could still hear the ticking noise...after a bit, I saw the actual cause of the noise and puncture - a half-inch nail protruding from the tyre sidewall. I doubt any tyre could have resisted that treatment.[caption id="attachment_2888" align="alignright" width="150"] The offending nail![/caption]Geoff, one of my fellow competitors, came to fetch me - and took me home so I could repair the puncture in a bit more comfort - for which I am hugely grateful! I do hope this doesn't mark the return of "Puncture" Bob!I presume the ticking noise was the nail protruding from my rear tyre and striking the frame. I've yet to have a look and see what damage (presumably cosmetic) my frame has suffered.

Tags:
  325 Hits

Flies

  340 Hits

Biology

  316 Hits

Home

  333 Hits

Gadgets

  321 Hits

My Websites

I maintain several other related websites:Wonderful Life is a blog covering my interests in atheism, particularly as they relate to biology and creationism.North Bucks Road Club is the website of my cycling club.Northwood Wheelers is a website dedicated to the eponymous (but now defunct) cycling club, of which my father was a member.Team Grumpy features stories concerning cycle timetrialling, particularly as they relate to 2-up team time trials.The Team Grumpy blog is Team Grumpy’s blog, and most definitely tongue in cheek.

  355 Hits

Cambridge CC '10' 3rd May 2014

The rather sunny conditions belied the actual temperature as Tony and I got our bikes ready to ride in this event. It was actually pretty nippy in the car park, but once we got racing, I found it quite comfortable. For this event, I'd got out my trusty old Corima disc wheel and paired it with a newly refurbished Hed Stinger 90 (I removed the yellow tub and the yellow and red stickers). I was rather pleased that the chain wasn't jumping on the new cassette I'd fitted to the Corima. I was rather less pleased with the astonishingly loud howl that emanated from my bike every time I applied the rear brakes! That will need a bit of attention, I think.The F2D/10 uses the A428 dual carriageway, starting on the old road and joining the DC at the Cambourne interchange. It turns at the Madingley road junction. Conditions were pretty good, and I found the outward leg pretty quick. I like the turn as it feels a fair bit safer than Caxton Gibbett. The return was a bit tougher, particularly at the interchange that we ride past - there seems to be a striking descent at that point!Annoyingly, the finish of this course is just off the dual carriageway: you exit up the slip road at the Cambourne interchange, and take the first left to the finish. I was just about to catch my minute man when a small car entered the roundabout and displayed all the driving courage of a minnow. This held me up a very little but enough to annoy!I finished with 22:14 (my best '10' time since the 2010 season). Tony finished with 21:41 - so I'm gaining on him! All in all, quite a satisfying ride.Davey Jones was out on the course photographing - here's a picture of me near the turn (with my skinsuit leg riding up!)

Tags:
  320 Hits

Genealogy

  325 Hits

Cycling in Normandy

I regularly compete in the Duo Normand 2-up time trial, held in Normandy in the autumn. Associated with trips to race, we frequently take the tandem for a spot of cycling about the Normandy countryside.

  341 Hits

  311 Hits

Stoke Hammond '10' 30/4/14

I had high hopes for this evening's event - recent performances had suggested that my form was picking up under the onslaught of increased training load. Plus the evening's conditions seemed rather promising. However, there seemed to be  quite a bit of traffic, which was making many of us at the start quite nervous.Indeed, I did get slightly held up at the first roundabout, as a chunk of traffic got in the way. From there, things got a bit easier - I tried using somewhat lower gears than usual on the climb up to the dual carriageway section, but found this just slowed me down. Once on the dual carriageway, it seemed rather heavy going (aggravated by a bus passing me rather too close for comfort), but once round the turn, I seemed to be absolutely flying.I dared hope for a sub-23 minute ride, but was sadly thwarted, finishing in a not so great 23:20.Results at the NBRC website. Here's the trace:

Tags:
  353 Hits

Cycle Touring in Scotland

  302 Hits

Cycle Touring

Annual cycle tours by tandem

  340 Hits

  301 Hits

About flies&bikes

flies&bikes is an evolving website covering my interests which vary from biology through technology to cycle sport.  It is presently built using the Joomla! CMS.  The present incarnation now uses an integrated version of the well-known blogging software Wordpress, developed by corePHP. I maintain several other related websites: Wonderful Life is a blog covering my interests in atheism, particularly as they relate to biology and creationism. North Bucks Road Club is the website of my cycling club. Northwood Wheelers is a website dedicated to the eponymous (but now defunct) cycling club, of which my father was a member. Team Grumpy features stories concerning cycle timetrialling, particularly as they relate to 2-up team time trials. The Team Grumpy blog is Team Grumpy’s blog, and most definitely tongue in cheek. Professionally, I maintain the British Society for Research on Ageing’s website.

  350 Hits