- Get a running instance of mpd working.
- A sample mpd conf file is stored in utils/ to be ran as a local user (Setup:
mkdir -p ~/.config/mpd/playlists
. Run it withmpd utils/mpd.conf
. Note: You may need to stop other instances of mpd withsudo systemctl stop mpd mpd.socket
.)
- A sample mpd conf file is stored in utils/ to be ran as a local user (Setup:
git clone https://github.com/jplsek/MPCParty && cd MPCParty
cp mpcparty.cfg.example mpcparty.cfg
- Change the config
[mpd] url
to be the ip of your system running mpd, notlocalhost
!
(I noticed that the docker-compose setup can sometimes not work, if so, try the plain docker solution below.)
Make sure to change docker-compose.yml
pointing the music directory to where your music is actually stored.
docker-compose up
docker build -t mpcparty .
docker run -it -p 8081:8081 -e MPD_URL=$YOUR_MPD_URL -v $YOUR_MUSIC_DIRECTORY:/music mpcparty
Make sure to update [mpd] url
as mentioned above!
docker run -it -p 8081:8081 -v $(pwd)/mpcparty.cfg:/app/mpcparty.cfg -v $YOUR_MUSIC_DIRECTORY:/music mpcparty
sudo apt update && sudo apt install git mpd nodejs npm ffmpeg && sudo npm install -g yarn
sudo pacman -Sy git mpd nodejs npm ffmpeg yarn
Set up RPM Fusion
sudo yum install epel-release
sudo yum install git mpd nodejs npm ffmpeg && sudo npm install -g yarn
sudo zypper install git mpd nodejs npm ffmpeg && sudo npm install -g yarn
Install nodejs
Install mpd
Install ffmpeg
You will need nodejs to be in your path.
You can either get the release version or the development version. The main difference is that the release version doesn't require installing the node libraries nor git to be installed. However, I recommend using the development version since it should have the latest features and bug fixes.
git clone https://github.com/jplsek/MPCParty && cd mpcparty
cp mpcparty.cfg.example mpcparty.cfg
yarn install
Download the latest release from the GitHub releases page.
If the artifacts have not exipired, you can also download the lastest "release" version here.
Start MPCParty with ./run.sh
from this directory (or yarn start
)
- Users: install forever then start
./run.sh
again. - Server admins: copy the reference systemd service file in utils/ and set it up to your needs