I sold my broken squeezebox on ebay. It turns out it was just the power supply. How incredibly frustrating.
So I decided to work on getting my RPi LMS a display. Notes.
https://github.com/WiringPi/WiringPi-Python/issues/7 fixed this and I compiled WiringPi2.
I had much more success with this
and could read what was playing on the SqueezeLite with no issues at all.
# Proof of concept - needs to be run as sudo<br>import wiringpi2 as wp<br><br>from pylms.server import Server<br>from pylms.player import Player<br><br># set up the display<br>wp.wiringPiSetup();<br>lcd = wp.lcdInit (2, 16, 4, 11,10 , 0,1,2,3,0,0,0,0) ;from pylms.player import Player<br><br># connect to the squeezebox<br>sc = Server(hostname="192.168.0.5", port=9090)<br>sc.connect()<br>sl = sc.get_player("b8:27:eb:eb:37:68")<br><br>#clear the lcd<br>wp.lcdClear(lcd)<br>wp.lcdPosition(lcd, 0, 0)<br>wp.lcdPuts(lcd,sl.get_track_title()[:16])<br>wp.lcdPosition(lcd, 0, 1)<br>wp.lcdPuts(lcd,sl.get_track_album()[:16])
So that is a start – now to make it update when the track changes and to scroll the titles. And…. And…