Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.
/ mpd-http-ui Public archive

MPD interface in vuejs and go with elasticsearch data backend

Notifications You must be signed in to change notification settings

randomcoww/mpd-http-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPD web UI with Elasticsearch search backend

WIP

Backend setup

docker-compose up --build

Elasticsearch:

MPD (control):

  • tcp: localhost:6600

MPD (stream):

REST API:

ES data remains on the container and won't be rebuilt each run. Remove containers to force rebuild:

docker-compose rm -f

UI setup

cd mpd_ui
npm install
npm run dev

using Docker

docker run -it --rm --net host -p 8080:8080 -v `pwd`/mpd_ui:/src --entrypoint=/bin/sh node:alpine
cd /src
npm install
npm run dev

Environment test

Connect to control using ncmpcpp:

ncmpcpp -h localhost -p 6600

Naviagte client to start playing one of the test audio files. Turn on repeat mode (r) to make sure something is playing.

Open http://localhost:8000/mpd in browser to stream.