diff --git a/Dockerfile b/Dockerfile index e538a62..2e74777 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,12 @@ RUN set -ex \ && pip install \ Mopidy-Moped \ Mopidy-GMusic \ + Mopidy-Pandora \ Mopidy-YouTube \ - pyasn1==0.3.2 \ + requests[security] \ + cryptography \ + pyopenssl \ + pyasn1 \ # Clean-up && apt-get purge --auto-remove -y \ curl \ diff --git a/README.md b/README.md index 9ed3925..84d81cd 100644 --- a/README.md +++ b/README.md @@ -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-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-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)** * 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). diff --git a/entrypoint.sh b/entrypoint.sh index 9bc55fe..9c5d629 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [[ "$PULSE_COOKIE_DATA" != "" ]] +if [ -z "$PULSE_COOKIE_DATA" ] then echo -ne $(echo $PULSE_COOKIE_DATA | sed -e 's/../\\x&/g') >$HOME/pulse.cookie export PULSE_COOKIE=$HOME/pulse.cookie