Server and player for shows created with my show editor. Intended to be run on a Raspberry Pi.
Installation & Setup
Install Apache or NGINX & PHP
Clone this repo (with submodule recursion) into your html folder.
In your PHP.ini, Set upload_max_filesize and post_max_filesize to something bigger than your biggest audio file (I set mine to ~50MB)
In order to let PHP play sound, you need to change the user Apache runs as:
- Open the Apache config with sudo nano /etc/apache2/envvars
- You should see the lines:
- Change them to (assuming 'pi' is still your default login):
Or if using NGINX:
Make sure the Pi is set to output audio to the jack, not HDMI
From another computer, navigate to your pi's IP address (something like 192.168.0.xx)
You should see the control panel that lets you control the show.
The server is NOT SECURE and should not be exposed to the internet. There is currently not proper input sanitization or login authentication. Make sure ports 80 and 22 are not being forwarded on your router.