mirror of
https://github.com/Squidly271/AppFeed.git
synced 2024-09-21 20:18:20 +00:00
102 lines
5.1 KiB
XML
102 lines
5.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Container version="2">
|
|
<Name>Mopidy</Name>
|
|
<Repository>knex666/mopidy</Repository>
|
|
<Registry>https://hub.docker.com/r/knex666/mopidy</Registry>
|
|
<Network>br0</Network>
|
|
<Shell>sh</Shell>
|
|
<Privileged>false</Privileged>
|
|
<Support>https://forums.unraid.net/topic/78479-support-knex666-mopidy/</Support>
|
|
<Project>https://github.com/maschhoff/docker/tree/master/mopidy</Project>
|
|
<Overview>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 &gt;&gt; /mopidy.conf
|
|
- set up volume mount for tmp/snapfifo if you use snapcast /mnt/user/appdata/mopidy/tmp/ &gt;&gt; /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</Overview>
|
|
<WebUI>http://[IP]:[PORT:6680]/iris/</WebUI>
|
|
<TemplateURL>https://raw.githubusercontent.com/maschhoff/docker/master/unraid%20xml/my-mopidy.xml</TemplateURL>
|
|
<Icon>https://github.com/maschhoff/docker/raw/master/mopidy/mopidy.png</Icon>
|
|
<PostArgs></PostArgs>
|
|
<CPUset></CPUset>
|
|
<DonateText>Please buy me a Pizza</DonateText>
|
|
<DonateLink>https://www.buymeacoffee.com/maschhoff</DonateLink>
|
|
<Networking>
|
|
<Mode>br0</Mode>
|
|
<Publish></Publish>
|
|
</Networking>
|
|
<Data>
|
|
<Volume>
|
|
<HostDir>/mnt/user/appdata/mopidy/mopidy.conf</HostDir>
|
|
<ContainerDir>/etc/mopidy.conf</ContainerDir>
|
|
<Mode>rw</Mode>
|
|
</Volume>
|
|
<Volume>
|
|
<HostDir>/mnt/user/appdata/mopidy/tmp/</HostDir>
|
|
<ContainerDir>/tmp/</ContainerDir>
|
|
<Mode>rw</Mode>
|
|
</Volume>
|
|
<Volume>
|
|
<HostDir>/mnt/user/Media/Musik/</HostDir>
|
|
<ContainerDir>/media</ContainerDir>
|
|
<Mode>rw</Mode>
|
|
</Volume>
|
|
</Data>
|
|
<Environment></Environment>
|
|
<Config Name="config" Target="/etc/mopidy.conf" Default="" Mode="rw" Description="Container Path: /mopidy.conf" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/mopidy/mopidy.conf</Config>
|
|
<Config Name="Host Path 2" Target="/tmp/" Default="" Mode="rw" Description="Container Path: /tmp/snapfifo" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/mopidy/tmp/</Config>
|
|
<Config Name="Host Path 3" Target="/media" Default="" Mode="rw" Description="Container Path: /media" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/Media/Musik/</Config>
|
|
<Date>1551336760</Date>
|
|
<Description>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
|
|
|
|
|
|
output = audioresample ! audio/x-raw,rate=48000,channels=2,format=S16LE ! audioconvert ! wavenc ! filesink location=/tmp/snapfifo
|
|
|
|
icecast
|
|
|
|
|
|
output = lamemp3enc ! shout2send async=false mount=mopidy ip=X.X.X.X port=8000 password=XXXXX</Description>
|
|
<templatePath>/tmp/GitHub/AppFeed/templates/knex666sRepository/unraid xml/my-mopidy.xml</templatePath>
|
|
</Container>
|