Posts

Showing posts from November, 2022

Controlling DietPi with SSH Shortcut

Image
Although DietPi works great as an audiophile OS, unlike other headless OS, it does not know when to turn off the screen when audio playback is stopped. In this sens you will need to turn ON/OFF the screen manually with SSH shortcuts. Having tested several SSH shortcuts apps in Android, this one works like a charm. Firstly, add a new SSH server with a label (e.g. STEALTH), login and password. Leave the port unchanged. Add the following commands if needed: SCREEN OFF export DISPLAY=:0 && xset s 5 TIP: You can replace "5" in the above script with whatever timeout you want. SCREEN ON export DISPLAY=:0 && xset s default && xset s reset SHUTDOWN sudo shutdown NOTE: Shutdown occurs after 1 min. REBOOT sudo reboot

Installing LMS and Squeezelite on DietPi (Raspberry Pi Streamer / Player Tutorial)

Image
When playing with Raspberry Pi streamer with a wide screen, usually Volumio is the only option as Picoreplayer does not support it while Moode Audio UI does not fit it well. However although Volumio works fine with wide screen but some people still prefer LMS or MPD. In this article I will walk through the steps to install a LMS + Squeezelite with DietPi DietPi is a lightweight OS based on Debian, while providing lots of nice features. For more details, please visit https://dietpi.com/ . 1. Install DietPi Download the image and flash it on the micro SD card, balenaEtcher is recommended. 2. Modify config.txt Depending on the widescreen touchscreen you use, append the following to config.txt under root of the SD card: hdmi_group=2 hdmi_mode=87 hdmi_timings=400 0 100 10 140 1280 10 20 20 2 0 0 0 60 0 43000000 3 hdmi_blanking=1 max_usb_current=1