Adds Mopidy-Pandora support.

This commit is contained in:
Werner Beroux
2018-07-24 16:59:07 +02:00
parent 13ca60e50e
commit 055bb494ec
3 changed files with 7 additions and 2 deletions

View File

@@ -24,8 +24,12 @@ RUN set -ex \
&& pip install \ && pip install \
Mopidy-Moped \ Mopidy-Moped \
Mopidy-GMusic \ Mopidy-GMusic \
Mopidy-Pandora \
Mopidy-YouTube \ Mopidy-YouTube \
pyasn1==0.3.2 \ requests[security] \
cryptography \
pyopenssl \
pyasn1 \
# Clean-up # Clean-up
&& apt-get purge --auto-remove -y \ && apt-get purge --auto-remove -y \
curl \ curl \

View File

@@ -13,6 +13,7 @@ Features of this image
* [Mopidy-Spotify](https://docs.mopidy.com/en/latest/ext/backends/#mopidy-spotify) for **[Spotify](https://www.spotify.com/us/)** (Premium) * [Mopidy-Spotify](https://docs.mopidy.com/en/latest/ext/backends/#mopidy-spotify) for **[Spotify](https://www.spotify.com/us/)** (Premium)
* [Mopidy-GMusic](https://docs.mopidy.com/en/latest/ext/backends/#mopidy-gmusic) for **[Google Play Music](https://play.google.com/music/listen)** * [Mopidy-GMusic](https://docs.mopidy.com/en/latest/ext/backends/#mopidy-gmusic) for **[Google Play Music](https://play.google.com/music/listen)**
* [Mopidy-SoundClound](https://docs.mopidy.com/en/latest/ext/backends/#mopidy-soundcloud) for **[SoundCloud](https://soundcloud.com/stream)** * [Mopidy-SoundClound](https://docs.mopidy.com/en/latest/ext/backends/#mopidy-soundcloud) for **[SoundCloud](https://soundcloud.com/stream)**
* [Mopidy-Pandora](https://github.com/rectalogic/mopidy-pandora) for **[Pandora](https://www.pandora.com/)**
* [Mopidy-YouTube](https://docs.mopidy.com/en/latest/ext/backends/#mopidy-youtube) for **[YouTube](https://www.youtube.com)** * [Mopidy-YouTube](https://docs.mopidy.com/en/latest/ext/backends/#mopidy-youtube) for **[YouTube](https://www.youtube.com)**
* With [Mopidy-Moped](https://docs.mopidy.com/en/latest/ext/web/#mopidy-moped) web extension. * With [Mopidy-Moped](https://docs.mopidy.com/en/latest/ext/web/#mopidy-moped) web extension.
* Can run as any user and runs as UID/GID `84044` user inside the container by default (for security reasons). * Can run as any user and runs as UID/GID `84044` user inside the container by default (for security reasons).

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
if [[ "$PULSE_COOKIE_DATA" != "" ]] if [ -z "$PULSE_COOKIE_DATA" ]
then then
echo -ne $(echo $PULSE_COOKIE_DATA | sed -e 's/../\\x&/g') >$HOME/pulse.cookie echo -ne $(echo $PULSE_COOKIE_DATA | sed -e 's/../\\x&/g') >$HOME/pulse.cookie
export PULSE_COOKIE=$HOME/pulse.cookie export PULSE_COOKIE=$HOME/pulse.cookie