DietPi LMS amp Squeezelite Tips and Tweaks











>> YOUR LINK HERE: ___ http://youtube.com/watch?v=FpTYVsvLTNw

How to turn off the screen using LMS Event Trigger: • Step 1: Install the plugin in in LMS: • Follow the instructions below to install LMS Event Trigger: • https://nexus0.net/pub/sw/lmseventtri... • Step 2: Set up LMS Event Trigger: • Create lmseventtrigger.json with the following command lines: • sudo nano /usr/local/etc/lmseventtrigger.json • Copy the following commands to lmseventtrigger.json: • { • enabled : true, • numStatusResults :1, • events : [ • { cmd : /usr/local/bin/power.sh , event :[[ power ]]}, • { cmd : /usr/local/bin/screen-on.sh , event :[[ playlist ],[ play ]]} • ] • } • When finished, press Ctrl+O to save and Ctrl+X to exit • Step 3: Create power script: • Create power.sh with the following command lines: • sudo nano /usr/local/bin/power.sh • Copy the following commands to power.sh: • power=$(echo $2|sed -e 's/.*power :\\(.\\).*/\\1/') • case $power in • 0) export DISPLAY=:0 xset s 1 • ;; • 1) export DISPLAY=:0 xset s default xset s reset • ;; • esac • When finished, press Ctrl+O to save and Ctrl+X to exit • Add execution right: • sudo chmod 777 /usr/local/bin/power.sh • Step 4: Create screen ON script: • Create screen-on.sh with the following command lines: • sudo nano /usr/local/bin/screen-on.sh • Copy the following commands to screen-on.sh: • export DISPLAY=:0 xset s default xset s reset • When finished, press Ctrl+O to save and Ctrl+X to exit • Add execution right: • sudo chmod 777 /usr/local/bin/screen-on.sh • Step 5: Reboot to take effect!

#############################












Content Report
Youtor.org / YTube video Downloader © 2025

created by www.youtor.org