jscrane / lcd_lms

Display Squeezebox "now playing" info on lcdproc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lcd_lms

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.

Requirements

# apt install libswitch-perl liblog-message-simple-perl

Running it

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

Example:

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

About

Display Squeezebox "now playing" info on lcdproc

License:MIT License


Languages

Language:Perl 100.0%