Script to glue the Logitech Media Server command-line to LCDd.
It tracks the latest version of LMS installed, currently version 8.0.0~1594451286.
See it in action.
# apt install libswitch-perl liblog-message-simple-perl
Put it in /usr/local/bin
. Run it from /etc/rc.local
as follows:
(while true; do
/usr/local/bin/lcd_lms.pl -m SqueezeLite
sleep 30
done) &
Or, if you have systemd
:
# cp lcd_lms.service /etc/systemd/system
# systemctl daemon-reload
# systemctl enable lcd_lms.service
# systemctl start lcd_lms.service
Connect to LCDd (on host/port lcdserver, lcdport) and the player Squeezelite (on host/port lmsserver, lmsport) and debug the lms protocol. The ports may be omitted and have sensible defaults
$ ./lcd_lms.pl -v lms -d lcdserver:lcdport -l lmsserver:lmsport SqueezeLite