{"id":19952706,"url":"https://github.com/tob1as/docker-mpd","last_synced_at":"2025-05-03T19:30:58.186Z","repository":{"id":39581830,"uuid":"74487646","full_name":"Tob1as/docker-mpd","owner":"Tob1as","description":"MPD - Music Player Daemon - Docker Image for amd64, arm64, arm (Raspberry Pi)","archived":false,"fork":false,"pushed_at":"2025-01-21T19:32:08.000Z","size":85,"stargazers_count":38,"open_issues_count":6,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T20:21:24.127Z","etag":null,"topics":["docker","mpd","music","music-player","music-player-daemon","music-server","music-streaming","music-streaming-server","raspberry-pi"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/tobi312/rpi-mpd/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tob1as.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-22T15:43:08.000Z","updated_at":"2025-01-21T19:32:12.000Z","dependencies_parsed_at":"2023-02-02T20:01:27.123Z","dependency_job_id":null,"html_url":"https://github.com/Tob1as/docker-mpd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tob1as%2Fdocker-mpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tob1as%2Fdocker-mpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tob1as%2Fdocker-mpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tob1as%2Fdocker-mpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tob1as","download_url":"https://codeload.github.com/Tob1as/docker-mpd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252241952,"owners_count":21717075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","mpd","music","music-player","music-player-daemon","music-server","music-streaming","music-streaming-server","raspberry-pi"],"created_at":"2024-11-13T01:14:08.971Z","updated_at":"2025-05-03T19:30:58.180Z","avatar_url":"https://github.com/Tob1as.png","language":"Dockerfile","readme":"# MPD - Music Player Daemon (Docker Image)\n\n### Supported tags\n-\t[`debian` (*Dockerfile*)](https://github.com/Tob1as/docker-mpd/blob/master/debian.Dockerfile)\n-\t[`alpine` (*Dockerfile*)](https://github.com/Tob1as/docker-mpd/blob/master/alpine.Dockerfile) (Recommended, small image)\n\nAlternatively use this MPD Docker image: https://github.com/giof71/mpd-alsa-docker\n\n### What is MPD?\nMusic 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.\n\u003e [wikipedia.org/wiki/Music_Player_Daemon](https://en.wikipedia.org/wiki/Music_Player_Daemon) \n\n### About these images:\n* based on official Images: [debian](https://hub.docker.com/_/debian) and [alpine](https://hub.docker.com/_/alpine)\n* It always uses the latest version contained in the distributions.\n* More infromation about MPD: [musicpd.org](https://www.musicpd.org/) and [github.com/MusicPlayerDaemon/MPD](https://github.com/MusicPlayerDaemon/MPD)\n\n### How to use this image\n```sh\ndocker run --name mpd \\\n-p 6600:6600 -p 8000:8000 \\\n--device=/dev/snd:/dev/snd \\\n--cap-add=sys_nice \\\n-v $(pwd)/music:/var/lib/mpd/music:rw \\\n-v $(pwd)/playlists:/var/lib/mpd/playlists:rw \\\n-v $(pwd)/data:/var/lib/mpd/data:rw \\\n-d tobi312/rpi-mpd:alpine\n```\n\noptional (own config): \n1. download [mpd.conf](https://github.com/Tob1as/docker-mpd/blob/master/mpd.conf) and edit\n2. add to docker run command: ``` -v $(pwd)/mpd.conf:/etc/mpd.conf ```\n\n\nhttp://localhost:8000 for Stream | Host: Host/IP , Port: 6600 for MPD Client.\n\n**Clients**:  \nList of MPD Clients you can find here: https://www.musicpd.org/clients/  \nExamples: [mympd](https://github.com/jcorporation/myMPD) or [ampd](https://github.com/rain0r/ampd), see [docker-compose.yml](https://github.com/Tob1as/docker-mpd/blob/master/docker-compose.yml)-File.\n\n#### Docker-Compose\n\n```yaml\nversion: '2.4'\nservices:\n  mpd:\n    #image: tobi312/rpi-mpd:debian\n    image: tobi312/rpi-mpd:alpine\n    container_name: mpd\n    restart: unless-stopped\n    ports:\n      - 6600:6600  # MPD Client\n      - 8000:8000  # Stream\n    volumes:\n      - ./Music:/var/lib/mpd/music:rw\n      - ./playlists:/var/lib/mpd/playlists:rw\n      - ./data:/var/lib/mpd/data:rw\n      #- ./mpd.conf:/etc/mpd.conf:rw\n    devices:\n      - \"/dev/snd:/dev/snd\"\n```\n\n#### Troubleshooting\n\n\u003cdetails\u003e\n\u003csummary\u003e\"Permission denied\" in logs\u003c/summary\u003e\n\u003cp\u003e\n  \nSolution:\n```sh\nmkdir {Music,playlists,data} \u0026\u0026 chmod 777 {Music,playlists,data}\n```\n\u003c/p\u003e\n\u003c/details\u003e\n\n### This Image on\n* [DockerHub](https://hub.docker.com/r/tobi312/rpi-mpd)\n* [GitHub](https://github.com/Tob1as/docker-mpd)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftob1as%2Fdocker-mpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftob1as%2Fdocker-mpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftob1as%2Fdocker-mpd/lists"}