1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00
dockerfiles/mpd
2016-08-17 13:42:32 +08:00
..
arm add mpd 2016-08-17 13:02:24 +08:00
docker-compose.yml add mpd 2016-08-17 13:02:24 +08:00
Dockerfile add mpd 2016-08-17 13:02:24 +08:00
mpd.conf add mpd 2016-08-17 13:02:24 +08:00
README.md update mpd 2016-08-17 13:42:32 +08:00

Music Player Daemon

Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol.

docker-compose.yml

mpd:
  image: vimagick/mpd
  ports:
    - "6600:6600"
  volumes:
    - ./music:/var/lib/mpd/music
    - ./playlists:/var/lib/mpd/playlists
  devices:
    - /dev/snd
  restart: always

Server Setup

$ mkdir -p music playlists
$ wget https://upload.wikimedia.org/wikipedia/commons/d/d5/Pop_Goes_the_Weasel.ogg -O music/song.ogg
$ wget http://yp.shoutcast.com/sbin/tunein-station.m3u?id=760782 -O playlists/760782.m3u
$ docker-compose up -d

Client Setup

Read More