All Projects → Tob1asDocker → rpi-mpd

Tob1asDocker / rpi-mpd

Licence: Apache-2.0 License
MPD (Music Player Daemon) on Raspberry Pi / ARM

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to rpi-mpd

So Nice
Small Web interface to control iTunes, Spotify, Rdio, MPD, Rhythmbox, Amarok and XMMS2. ♫
Stars: ✭ 141 (+781.25%)
Mutual labels:  music-player, mpd
Rompr
Web client for Mopidy and MPD
Stars: ✭ 115 (+618.75%)
Mutual labels:  music-player, mpd
mpdclient
MPD client library in nim
Stars: ✭ 21 (+31.25%)
Mutual labels:  mpd
localMusicPlayer
Audio player that play local audio files and show audio spectrum.
Stars: ✭ 50 (+212.5%)
Mutual labels:  music-player
SwiftAudioPlayer
[WIP] Simple music player for macOS written in Swift
Stars: ✭ 33 (+106.25%)
Mutual labels:  music-player
Callsmusic-Plus
Powerful Telegram Voice Chat Player Bot Based On CallsMusic With More Advanced Features!
Stars: ✭ 55 (+243.75%)
Mutual labels:  music-player
Refresh-Music-Player
A beautifully designed music player app for android.
Stars: ✭ 22 (+37.5%)
Mutual labels:  music-player
StarlightMusic
小而精致的跨平台音乐播放器,使用Qt / Qml + FFmpeg
Stars: ✭ 35 (+118.75%)
Mutual labels:  music-player
PicoAudio.js
A JavaScript library for playing MIDI (Standard MIDI File) on Web.
Stars: ✭ 28 (+75%)
Mutual labels:  music-player
spotube
A lightweight free Spotify 🎧 desktop-client 🖥 which handles playback manually, streams music using Youtube & no Spotify premium account is needed 😱
Stars: ✭ 361 (+2156.25%)
Mutual labels:  music-player
LifecycleMusicPlayer
Sample music player app with lifecycle component to play/pause music when certain lifecycle events are triggered in Activity
Stars: ✭ 20 (+25%)
Mutual labels:  music-player
MailTape.github.io
MailTape - Feed your inspiration with music, every Sunday morning.
Stars: ✭ 23 (+43.75%)
Mutual labels:  music-player
Shinobu
iOS remote application written in Swift to control a MPD server.
Stars: ✭ 31 (+93.75%)
Mutual labels:  mpd
react-music
基础react 开发的一个音乐播放器,欢迎指正。作者QQ:704251611
Stars: ✭ 13 (-18.75%)
Mutual labels:  music-player
embed-client
🎼 Sheet Music & Tabs Embed JavaScript Client
Stars: ✭ 43 (+168.75%)
Mutual labels:  music-player
ytqck.github.io
YouTube quick ⚡ Search and Download Music for Free.
Stars: ✭ 18 (+12.5%)
Mutual labels:  music-player
dotfiles
rice repo
Stars: ✭ 71 (+343.75%)
Mutual labels:  mpd
Groovy
Groovy is a social music application for Android.
Stars: ✭ 20 (+25%)
Mutual labels:  music-player
play
A Google Play Music desktop player built with Electron, styled for the minimalist
Stars: ✭ 47 (+193.75%)
Mutual labels:  music-player
anyaudio-android-app
One Stop Music Application
Stars: ✭ 78 (+387.5%)
Mutual labels:  music-player

MPD (Music Player Daemon) on Raspberry Pi / ARM

Supported tags

What is MPD?

Music Player Daemon (MPD) is a free and open music player server. It plays audio files, organizes playlists and maintains a music database. In order to interact with it, a client program is needed. The MPD distribution includes mpc, a simple command line client.

wikipedia.org/wiki/Music_Player_Daemon

About these images:

How to use this image

docker run --name mpd -p 6600:6600 -p 8000:8000 --device=/dev/snd:/dev/snd --cap-add=sys_nice -v $(pwd)/music:/var/lib/mpd/music:rw -v $(pwd)/playlists:/var/lib/mpd/playlists:rw -v $(pwd)/playlists:/var/lib/mpd/playlists:rw -v $(pwd)/data:/var/lib/mpd/data:rw -d tobi312/rpi-mpd:debian

optional (own config):

  1. download mpd.conf and edit
  2. add to docker run command: -v $(pwd)/mpd.conf:/etc/mpd.conf

http://localhost:8000 for Stream | Host: Host/IP , Port: 6600 for MPD Client.
Example Client: MPDroid(Android), more see https://www.musicpd.org/clients/

Docker-Compose

version: '2.4'
services:
  mpd:
    image: tobi312/rpi-mpd:latest
    #image: tobi312/rpi-mpd:alpine
    #image: tobi312/rpi-mpd:alpine-nocap
    container_name: mpd
    ports:
      - 6600:6600
      - 8000:8000
    volumes:
      - ./music:/var/lib/mpd/music:rw
      - ./playlists:/var/lib/mpd/playlists:rw
      - ./data:/var/lib/mpd/data:rw
      #- ./mpd.conf:/etc/mpd.conf:rw
    devices:
      - "/dev/snd:/dev/snd"
    cap_add:
      - SYS_NICE
    restart: unless-stopped

Troubleshooting

If your container fails to start with Images that based on Alpine 3.13 or newer Debian/Ubuntu on ARM devices...

... with Raspbian/Debian 10 Buster (32 bit) then update libseccomp2* to >=2.4.4 and restart the container. (Source: 1, 2, 3)

Example (wrong date):

$ docker run --rm --name testing -it alpine:3.13 date
Sun Jan  0 00:100:4174038  1900

Solution:

 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
 echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list.d/buster-backports.list
 sudo apt update
 sudo apt install -t buster-backports libseccomp2

"Permission denied" in logs

Solution:

mkdir {music,playlists,data} && chmod 777 {music,playlists,data}

This Image on

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].