Skip to content

Display Squeezebox "now playing" info on lcdproc

License

Notifications You must be signed in to change notification settings

jscrane/lcd_lms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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