vicwomg / pikaraoke

Youtube-based Karaoke machine for Raspberry Pi, OSX, Windows, and Linux
GNU General Public License v3.0
461 stars 117 forks source link

[FEATURE] Disable screen blanking and select HDMI/3.5mm as part of pi setup #322

Open vicwomg opened 3 months ago

vicwomg commented 3 months ago

Is your feature request related to a problem? Please describe.

The pi requires some more steps to make it karaoke-ready. It would be great to automate this in scripts. Namely

Describe the solution you'd like Add some user prompts to the setup.sh script that will handle additional pi setup steps. Here's what raspi-config is doing under the hood, copying a file and restarting:

Screen blanking https://github.com/RPi-Distro/raspi-config/blob/9ef367eda1f18328b2c47e7347fc9eb6ebdbb657/raspi-config#L442-L446

Audio output https://github.com/RPi-Distro/raspi-config/blob/9ef367eda1f18328b2c47e7347fc9eb6ebdbb657/raspi-config#L2175-L2267

Describe alternatives you've considered Is raspi-config scriptable? Seems so. That might be a better approach: https://forums.raspberrypi.com/viewtopic.php?t=21632