Web Music Player is a simple way to play your own music on any device connected to the web (pc, smartphone, tablet, ...). It can work as a standalone application or in your smartphone browser.
You can manage your music with the MusicBrainz API integration.
Live demo here.
Following example is based on Linux distribution with Apache :
- Download the latest version here
- Untar the archive :
tar -xvzf web-music-player-master.tar.gz
- Move the files into you web server directory
mv web-music-player-master /var/www/wmp
- Fix file permissions
chown www-data:www-data /var/www/wmp -R
- Create database stuff using with the database setup page
- Update Admin user (edit password obviously)
- Remove unnecessary files (/docs, /configuration/setup.php, ...)
- Set your library folder
- Enjoy 🎵
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Nioc - Initial work
See also the list of contributors who participated in this project.
Our aim is to provide an easy to use web player able to handle a local catalog. Some awesome projects already exists but often with a complicated code.
Please see API description.
The project is open and any contribution is welcome!
To keep the code clean, we use php-cs-fixer, before commit launch this on each edited files:
php /usr/local/bin/php-cs-fixer fix /path/to/editedFile.php -v --fixers=-psr0
You can handle all edited files with this single line:
cd /var/www/wmp; for file in $(git diff-index --name-only HEAD); do php /usr/local/bin/php-cs-fixer fix "$file" -v --fixers=-psr0; done
A little how-to for github:
- Fork it
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes (with a detailled message):
git commit -am 'Add an awesome feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details
This project includes the following: