Giter Club home page Giter Club logo

wbmpfmpd's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.