A PHP and PERL based "jukebox style" home audio system for Linux.
ajax | ||
art | ||
core | ||
css | ||
img | ||
js | ||
scripts | ||
.gitignore | ||
.htaccess | ||
class_queue.php | ||
class_song.php | ||
composer.json | ||
config_dist.php | ||
constants.php | ||
curthumb.php | ||
functions.php | ||
header.php | ||
index.php | ||
LICENSE | ||
manifest.json | ||
README.md | ||
tables.sql |
HomeAudio
A PHP and PERL based "jukebox style" home audio system for Linux.
Installation
- The homeaudio.ini file from the /scripts/ folder needs to be edited and saved in /etc/. Make sure it is ONLY readable by the web server user.
- The project uses composer to install third party libraries. From the root folder execute:
composer update
- The tables.sql file needs to be imported into the database referenced in the homeaudio.ini file.
- The art/ folder needs to be writable by the web server user.
- The main script for the home audio system should be set to execute at boot time:
su web -c "/var/www/html/m/scripts/homeaudio_music.pl &" 1>/dev/null 2>&1
- The daily script to do upkeep and maintenance should be set to run every day (typically from /etc/cron.daily/, can be a soft link).
cd /etc/cron.daily && ln -s /var/www/html/m/scripts/homeaudio_updateall.sh