Mopidy
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 Mopidy for Unraid with support for snapcast and icecast It is based on whhoesj/mopidy with additin of TuneIn and Youtube and Iris Web Interface.
- set up the docker
- set up the network to br0 with an ip
- set up volume mount to /mnt/user/appdata/mopidy/mopidy.conf >> /mopidy.conf
- 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/wernight/docker-mopidy/blob/master/README.md
authentication for soundcloud and spotify https://www.mopidy.com/authenticate/
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]/iris/- 网络
br0- 外壳
sh- 特权
- false
模板配置
Container Path: /mopidy.conf
- 目标
- /etc/mopidy.conf
- 价值
- /mnt/user/appdata/mopidy/mopidy.conf
Container Path: /tmp/snapfifo
- 目标
- /tmp/
- 价值
- /mnt/user/appdata/mopidy/tmp/
Container Path: /media
- 目标
- /media
- 价值
- /mnt/user/Media/Musik/
下载统计数据
长期下载总量
详细信息
在Unraid 上运行 Mopidy 。
Mopidy 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。