Web-Based Music Player For MPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Phate6660 4357fcd595
Updated README.md
3 years ago
Screenshots Updated and added more screenshots. Various tweaks were done to layout of player. 3 years ago
LICENSE Initial commit 3 years ago
README.md Updated README.md 3 years ago
favicon.png Add Files 3 years ago
music-style.css Updated and added more screenshots. Various tweaks were done to layout of player. 3 years ago
music.php Updated and added more screenshots. Various tweaks were done to layout of player. 3 years ago

README.md

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.

Requirements

  1. A functioning web server with PHP support.
  2. A functioning mpd server.
  3. mpc - A command line client for mpd.
  4. ncmpcpp - Another command line client for mpd. Working on removing this requirement so that this won't be needed in the future.

Install

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".

Screenshots

Overview Overview Play Artist Play Artist Play Album Play Album Play Playlist Play Playlist List Artists List Artists List Albums List Albums List Playlists List Playlists Play Music From Server - Artists Play Music From Server - Artists Play From Server - Albums From Artist Play From Server - Albums From Artist.png Play From Server - Songs from Album from Artist Play From Server - Songs from Album from Artist