AppFeed/templates/knex666sRepository/unraid xml/my-mopidy.xml
Squidly271 b3878cd225 Redo
2020-12-03 07:42:32 -05:00

103 lines
5.2 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.&#13;
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.&#13;
&#13;
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.&#13;
&#13;
- set up the docker&#13;
- set up the network to br0 with an ip&#13;
- set up volume mount to /mnt/user/appdata/mopidy/mopidy.conf &amp;gt;&amp;gt; /mopidy.conf&#13;
- set up volume mount for tmp/snapfifo if you use snapcast /mnt/user/appdata/mopidy/tmp/ &amp;gt;&amp;gt; /tmp &#13;
- set up volume mount for your local media &#13;
&#13;
generate the mopidy.conf file&#13;
Doc here https://docs.mopidy.com/en/latest/config/&#13;
example here https://github.com/wernight/docker-mopidy/blob/master/README.md&#13;
authentication for soundcloud and spotify https://www.mopidy.com/authenticate/&#13;
&#13;
use my docker icecast or snapcast for music streaming:&#13;
&#13;
for audio you need a special config&#13;
for snapcast you have to generate the audio output in a pipe file /tmp/snapfifo this is mounted in both docker container&#13;
&#13;
[audio]&#13;
output = audioresample ! audio/x-raw,rate=48000,channels=2,format=S16LE ! audioconvert ! wavenc ! filesink location=/tmp/snapfifo&#13;
&#13;
icecast&#13;
&#13;
[audio]&#13;
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://raw.githubusercontent.com/maschhoff/docker/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>
<Category>Other: MediaApp:Music MediaServer:Music</Category>
<Description>Mopidy is an extensible music server written in Python.&#13;
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.&#13;
&#13;
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.&#13;
&#13;
- set up the docker&#13;
- set up the network to br0 with an ip&#13;
- set up volume mount to /mnt/user/appdata/mopidy/mopidy.conf &gt;&gt; /mopidy.conf&#13;
- set up volume mount for tmp/snapfifo if you use snapcast /mnt/user/appdata/mopidy/tmp/ &gt;&gt; /tmp &#13;
- set up volume mount for your local media &#13;
&#13;
generate the mopidy.conf file&#13;
Doc here https://docs.mopidy.com/en/latest/config/&#13;
example here https://github.com/wernight/docker-mopidy/blob/master/README.md&#13;
authentication for soundcloud and spotify https://www.mopidy.com/authenticate/&#13;
&#13;
use my docker icecast or snapcast for music streaming:&#13;
&#13;
for audio you need a special config&#13;
for snapcast you have to generate the audio output in a pipe file /tmp/snapfifo this is mounted in both docker container&#13;
&#13;
&#13;
output = audioresample ! audio/x-raw,rate=48000,channels=2,format=S16LE ! audioconvert ! wavenc ! filesink location=/tmp/snapfifo&#13;
&#13;
icecast&#13;
&#13;
&#13;
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>