A web-based jukebox powered by PHP and Berkeley DB XML.
PHP JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fonts
getid3
scripts
styles
README.md
config.php
index.php
playlist.php
update.php

README.md

Requirements

  • Apache 1.3.41
  • PHP 5.2.8
  • Berkely DB XML 2.4.16
  • getID3 2.0.0-b4
  • xsltproc

Installation

  1. Set up Apache, PHP, and BDBXML to work nicely together. This can be difficult and changes depending on your system, so I won't cover it.

  2. Create a web-accessible directory for everything: mkdir /usr/local/apache/htdocs/music.

  3. Extract getID3 into that directory: unzip getid3-1.7.9.zip.

  4. Create a symbolic link to your music directory: ln -s /path/to/music/files library.

  5. Make sure all your files are readable by Apache and PHP: chmod -R o+r library.

  6. Make update.php executeable: chmod u+x update.php.

  7. Create a directory for the database environment: mkdir db.

  8. Create a group to access the database: groupadd music.

  9. Add the web server and the updater (typically you) to the group: usermod -a music www-data && usermod -a music updater.

  10. Set permissions on the database environment's directory: chgrp music db && chmod 2775 db.