HomeAudio/scripts
2025-04-18 14:15:48 -04:00
..
.htaccess Fix htaccess syntax to deny all 2025-04-18 14:15:48 -04:00
homeaudio_auditqueues.pl Initial commit to Git from Subversion 2019-07-02 07:43:31 -04:00
homeaudio_makealpha.pl Initial commit to Git from Subversion 2019-07-02 07:43:31 -04:00
homeaudio_music.pl Change the MP3 player (mpg321) to a configurable option. 2019-07-04 15:40:12 +00:00
homeaudio_parsesongs.php Catch edge/null cases for song file and ID3 parsing 2025-04-18 11:42:59 -04:00
homeaudio_togglemute.pl Switch togglemute to catch Mono Master channel 2024-05-18 14:57:41 +00:00
homeaudio_updateall.sh Change the order of the daily parsing scripts. 2019-07-02 09:23:15 -04:00
homeaudio_utils.php Fix vim modeline 2025-04-18 09:35:19 -04:00
homeaudio.ini Change the MP3 player (mpg321) to a configurable option. 2019-07-04 15:40:12 +00:00
HomeAudio.service Add system service file for deb derivatives 2024-05-18 15:48:19 +00:00
hu Helper shell script to run homeaudio_utils.php 2024-05-15 12:38:06 -04:00
migrateuserqueues.php Initial commit to Git from Subversion 2019-07-02 07:43:31 -04:00
README.md Initial commit to Git from Subversion 2019-07-02 07:43:31 -04:00

Scripts and Settings

This folder contains scripts which are called by the web interface and four for automatic management of music data.

******************
**** IMPORTANT ***
******************

Make sure the web server obeys .htaccess directives!! We dont' want these executed remotely.

INI file:

homeaudio.ini - This file must be in /etc/. Edit contents according to local configuration. None of the included scripts will work without this file in /etc/.

Web accessible system scripts:

homeaudio_togglemute.pl - This file will toggle system volume to mute and back.

Jukebox script:

homeaudio_music.pl - This script is intended to be run by the Apache user in the background, all the time.

System scripts: (intended to be run daily, usually from cron)

homeaudio_auditqueues.pl - Clean up queues homeaudio_makealpha.pl - Create all the alphabetical based links to albums in /Alphabetical/ homeaudio_parsesongs.php - Syncs up the database songs with files on the HD. homeaudio_updateall.sh - Run all three of the above scripts. Useful when you add new songs. Make sure the SCRIPTPATH in this file is correct.

Migration script: Intended to be run once. THIS WILL REMOVE USER QUEUES!

migrateuserqueues.php - This script will attempt to convert user queues from the old DB to the new DB. Edit first! Use with caution.