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/WiringPi2-Python to install wiringPi for my LCD display, but it wouldn’t compile. Neither would https://github.com/WiringPi/WiringPi-Python.
https://github.com/WiringPi/WiringPi-Python/issues/7 fixed this and I compiled WiringPi2.
I had much more success with this
http://pylms-python-logitech-media-server.readthedocs.org/en/latest/index.html
and could read what was playing on the SqueezeLite with no issues at all.
# Proof of concept - needs to be run as sudo
import wiringpi2 as wp
from pylms.server import Server
from pylms.player import Player
# set up the display
wp.wiringPiSetup();
lcd = wp.lcdInit (2, 16, 4, 11,10 , 0,1,2,3,0,0,0,0) ;from pylms.player import Player
# connect to the squeezebox
sc = Server(hostname="192.168.0.5", port=9090)
sc.connect()
sl = sc.get_player("b8:27:eb:eb:37:68")
#clear the lcd
wp.lcdClear(lcd)
wp.lcdPosition(lcd, 0, 0)
wp.lcdPuts(lcd,sl.get_track_title()[:16])
wp.lcdPosition(lcd, 0, 1)
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…