Mopidy3
Docker 应用程序 from knex666's Repository
概述
Mopidy is an extensible music server written in Python.
Mopidy plays music from local disk, Spotify, SoundCloud, Google Play Music, and more. You edit the playlist from any phone, tablet, or computer using a range of MPD and web clients.
This is Mopidy3 for Unraid with support for snapcast and icecast.
- set up the docker
- set up the network to br0 with an ip
- set up volume mount to /mnt/user/appdata/mopidy/ >> /config/
- set up volume mount for tmp/snapfifo if you use snapcast /mnt/user/appdata/mopidy/tmp/ >> /tmp
- set up volume mount for your local media
generate the mopidy.conf file *Doc here https://docs.mopidy.com/en/latest/config/ *example here https://github.com/maschhoff/docker/blob/master/mopidy/mopidy.conf
authentication for soundcloud and spotify https://www.mopidy.com/authenticate/ *authenticate spotify https://developer.spotify.com/documentation/web-api/quick-start/
use my docker icecast or snapcast for music streaming:
for audio you need a special config
for snapcast you have to generate the audio output in a pipe file /tmp/snapfifo this is mounted in both docker container
[audio]
output = audioresample ! audio/x-raw,rate=48000,channels=2,format=S16LE ! audioconvert ! wavenc ! filesink location=/tmp/snapfifo
icecast
[audio]
output = lamemp3enc ! shout2send async=false mount=mopidy ip=X.X.X.X port=8000 password=XXXXX
运行时参数
- 网络用户界面
http://[IP]:[PORT:6680]/- 网络
br0- 外壳
sh- 特权
- false
- 额外参数
-p 6600:6600 -p 6680:6680 -p 5555:5555/udp
模板配置
Container Path: /config/mopidy.conf
- 目标
- /config
- 价值
- /mnt/user/appdata/mopidy/
Container Path: /tmp/snapfifo
- 目标
- /tmp/
- 价值
- /mnt/user/appdata/mopidy/tmp/
Container Path: /media
- 目标
- /media
- 价值
- /mnt/user/Media/Musik/
下载统计数据
长期下载总量
详细信息
knex666/mopidy:3-experimental在Unraid 上运行 Mopidy3 。
Mopidy3 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。