||2 years ago|
|Screenshots||2 years ago|
|LICENSE||2 years ago|
|README.md||2 years ago|
|favicon.png||2 years ago|
|music-style.css||2 years ago|
|music.php||2 years ago|
Web-Based Music Player For MPD
Warning: This is very insecure. It runs system commands a lot, and is recommended to be ran on a local server without internet access.
Note: This was originally made specifically for my PC, but I plan on editing this to work for anyone. Keep this in mind when using this.
For the lyrics to work currently, you have to have the lyrics in a folder called "lyrics" in the root folder of the server. Then the lyrics for the song have to be in a txt document labelled "artist - title.txt". Basically, if you use ncmpcpp as you music player, you can copy "$HOME/.lyrics" to your root folder and rename it to "lyrics".
Also, sorry for my terrible looking script. Just started out with PHP in this project for the first time.
By the way, if anyone has suggestions for this little project, please feel free to suggest away. I will most likely implement it.
- A functioning web server with PHP support.
- A functioning
mpc- A command line client for mpd.
ncmpcpp- Another command line client for mpd. Working on removing this requirement so that this won't be needed in the future.
Copy "favicon.png", "music-style.css", and "music.php" to the root folder of your server.
To access, go to "http(s)://server.address/music.php".
Overview Play Artist Play Album Play Playlist List Artists List Albums List Playlists Play Music From Server - Artists Play From Server - Albums From Artist Play From Server - Songs from Album from Artist