Code Monkey home page Code Monkey logo

docker-spotify-pulseaudio's People

Contributors

k32 avatar kahowell avatar lhw avatar pablocastellano avatar terlar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-spotify-pulseaudio's Issues

docker inspect in version 1.12.1

I wasn't getting this error in docker 1.7.0

$ docker inspect -f "{{ .Name }}" spotify | grep -q '/spotify'
Template parsing error: template: :1:3: executing "" at <.Name>: map has no entry for key "Name"

ENV semantic changed

Dockerfile build error: "Error: ENV must have two arguments"

The Dockerfile as of this writing doesn't build with Docker 1.3, I think the ENV semantic changed. The current Dockerfile uses an '=' to separate the variable and value on the ENV statement ... omitting the '=' fixes it.

I updated the Dockerfile as follows:

ENV PULSE_SERVER /run/pulse/native

... and re-ran the build command, and the Docker successfully built.

cannot open display

(spotify:29): Gtk-WARNING **: cannot open display: unix:0

Getting that error when running scripts/spotify. Can you actually reference the host DISPLAY inside a docker container?

hotkey control

I am using your containers since years, works pretty good, also the latest update ๐Ÿ‘

Is it possible to map the hardware hotkeys (like stop, start, pause, skip, ...) to the container somehow?

Unable to complete build

Tried building the container and received this error during build:
WARNING: The following packages cannot be authenticated!
spotify-client
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
The command '/bin/sh -c apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90 && echo deb http://repository.spotify.com stable non-free > /etc/apt/sources.list.d/spotify.list && apt-get update && apt-get install -y spotify-client xdg-utils libxss1 pulseaudio fonts-noto && apt-get clean && echo enable-shm=no >> /etc/pulse/client.conf' returned a non-zero code: 100

Here is the entire build for reference:

sudo docker build -t spotify .
Sending build context to Docker daemon 81.41kB
Step 1/11 : FROM ubuntu:16.04
---> dfeff22e96ae
Step 2/11 : MAINTAINER Terje Larsen
---> Using cache
---> 607230fde54d
Step 3/11 : WORKDIR /usr/src
---> Using cache
---> e9867ee6bfe2
Step 4/11 : RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90 && echo deb http://repository.spotify.com stable non-free > /etc/apt/sources.list.d/spotify.list && apt-get update && apt-get install -y spotify-client xdg-utils libxss1 pulseaudio fonts-noto && apt-get clean && echo enable-shm=no >> /etc/pulse/client.conf
---> Running in a6e91f240814
Executing: /tmp/tmp.u8VgjaJsmI/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv-keys
931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
gpg: requesting key 48BF1C90 from hkp server keyserver.ubuntu.com
gpg: key 48BF1C90: public key "Spotify Public Repository Signing Key [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
Get:1 http://repository.spotify.com stable InRelease [3316 B]
Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Ign:1 http://repository.spotify.com stable InRelease
Get:4 http://repository.spotify.com stable/non-free amd64 Packages [1650 B]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [1949 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [15.9 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [984 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [8820 B]
Get:14 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [2457 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [16.4 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [1539 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [26.2 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [10.9 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [12.6 kB]
Fetched 19.2 MB in 4s (4066 kB/s)
Reading package lists...
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
W: The repository 'http://repository.spotify.com stable InRelease' is not signed.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
at-spi2-core ca-certificates cpp cpp-5 dbus dconf-gsettings-backend
dconf-service fontconfig fontconfig-config fonts-dejavu-core fonts-noto-cjk
fonts-noto-hinted fonts-noto-mono fonts-noto-unhinted gconf-service
gconf-service-backend gconf2-common glib-networking glib-networking-common
glib-networking-services gsettings-desktop-schemas hicolor-icon-theme
i965-va-driver ifupdown iproute2 isc-dhcp-client isc-dhcp-common
krb5-locales libaacs0 libasn1-8-heimdal libasound2 libasound2-data
libasound2-plugins libasyncns0 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data
libatm1 libatomic1 libatspi2.0-0 libauthen-sasl-perl libavahi-client3
libavahi-common-data libavahi-common3 libavcodec-ffmpeg56
libavformat-ffmpeg56 libavutil-ffmpeg54 libbdplus0 libbluray1 libbsd0
libcairo2 libcap-ng0 libcrystalhd3 libcups2 libcurl3-gnutls libdatrie1
libdbus-1-3 libdbus-glib-1-2 libdconf1 libdns-export162 libdrm-amdgpu1
libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libedit2
libelf1 libencode-locale-perl libexpat1 libffi6 libfftw3-single3
libfile-basedir-perl libfile-desktopentry-perl libfile-listing-perl
libfile-mimeinfo-perl libflac8 libfont-afm-perl libfontconfig1 libfontenc1
libfreetype6 libgbm1 libgconf-2-4 libgdbm3 libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa
libglib2.0-0 libglib2.0-data libgme0 libgmp10 libgnutls30 libgomp1
libgraphite2-3 libgsm1 libgssapi-krb5-2 libgssapi3-heimdal libgtk2.0-0
libgtk2.0-bin libgtk2.0-common libharfbuzz0b libhcrypto4-heimdal
libheimbase1-heimdal libheimntlm0-heimdal libhogweed4 libhtml-form-perl
libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl
libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
libhttp-message-perl libhttp-negotiate-perl libhx509-5-heimdal libice6
libicu55 libidn11 libio-html-perl libio-socket-ssl-perl
libipc-system-simple-perl libisc-export160 libisl15 libjack-jackd2-0
libjbig0 libjpeg-turbo8 libjpeg8 libjson-glib-1.0-0 libjson-glib-1.0-common
libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0
libldap-2.4-2 libllvm6.0 libltdl7 liblwp-mediatypes-perl
liblwp-protocol-https-perl libmailtools-perl libmnl0 libmodplug1 libmp3lame0
libmpc3 libmpfr4 libnet-dbus-perl libnet-http-perl libnet-smtp-ssl-perl
libnet-ssleay-perl libnettle6 libnspr4 libnss3 libnss3-nssdb libnuma1
libogg0 libopenjpeg5 libopus0 liborc-0.4-0 libp11-kit0 libpam-systemd
libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0
libperl5.22 libpixman-1-0 libpng12-0 libpolkit-agent-1-0
libpolkit-backend-1-0 libpolkit-gobject-1-0 libproxy1v5 libpulse0
libpulsedsp libroken18-heimdal librtmp1 libsamplerate0 libsasl2-2
libsasl2-modules libsasl2-modules-db libschroedinger-1.0-0 libsensors4
libshine3 libsm6 libsnapd-glib1 libsnappy1v5 libsndfile1 libsoup2.4-1
libsoxr0 libspeex1 libspeexdsp1 libsqlite3-0 libssh-gcrypt-4 libssl1.0.0
libswresample-ffmpeg1 libtasn1-6 libtdb1 libtext-iconv-perl libthai-data
libthai0 libtheora0 libtie-ixhash-perl libtiff5 libtimedate-perl libtwolame0
libtxc-dxtn-s2tc0 liburi-perl libva1 libvorbis0a libvorbisenc2 libvpx3
libwavpack1 libwayland-server0 libwebp5 libwebrtc-audio-processing-0
libwind0-heimdal libwrap0 libwww-perl libwww-robotrules-perl libx11-6
libx11-data libx11-protocol-perl libx11-xcb1 libx264-148 libx265-79 libxau6
libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1
libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2
libxi6 libxinerama1 libxml-parser-perl libxml-twig-perl
libxml-xpathengine-perl libxml2 libxmu6 libxmuu1 libxpm4 libxrandr2
libxrender1 libxshmfence1 libxt6 libxtables11 libxtst6 libxv1 libxvidcore4
libxxf86dga1 libxxf86vm1 libzvbi-common libzvbi0 mesa-va-drivers netbase
openssl perl perl-base perl-modules-5.22 policykit-1 pulseaudio-module-x11
pulseaudio-utils rename rtkit sgml-base shared-mime-info tcpd ucf udev
va-driver-all x11-common x11-utils x11-xserver-utils xdg-user-dirs xml-core
Suggested packages:
cpp-doc gcc-5-locales dbus-user-session | dbus-x11 ppp rdnssd iproute2-doc
resolvconf avahi-autoipd isc-dhcp-client-ddns apparmor alsa-utils
libdigest-hmac-perl libgssapi-perl libbluray-bdj firmware-crystalhd
cups-common libfftw3-bin libfftw3-dev gnutls-bin krb5-doc krb5-user
librsvg2-common gvfs libdata-dump-perl jackd2 libcrypt-ssleay-perl
opus-tools pciutils libsasl2-modules-otp libsasl2-modules-ldap
libsasl2-modules-sql libsasl2-modules-gssapi-mit
| libsasl2-modules-gssapi-heimdal lm-sensors snapd speex libauthen-ntlm-perl
libunicode-map8-perl libunicode-string-perl xml-twig-tools perl-doc
libterm-readline-gnu-perl | libterm-readline-perl-perl make pavumeter
pavucontrol paman paprefs avahi-daemon sgml-base-doc libnotify4
libfglrx-amdxvba1 mesa-utils nickle cairo-5c xorg-docs-core gvfs-bin
debhelper
The following NEW packages will be installed:
at-spi2-core ca-certificates cpp cpp-5 dbus dconf-gsettings-backend
dconf-service fontconfig fontconfig-config fonts-dejavu-core fonts-noto
fonts-noto-cjk fonts-noto-hinted fonts-noto-mono fonts-noto-unhinted
gconf-service gconf-service-backend gconf2-common glib-networking
glib-networking-common glib-networking-services gsettings-desktop-schemas
hicolor-icon-theme i965-va-driver ifupdown iproute2 isc-dhcp-client
isc-dhcp-common krb5-locales libaacs0 libasn1-8-heimdal libasound2
libasound2-data libasound2-plugins libasyncns0 libatk-bridge2.0-0
libatk1.0-0 libatk1.0-data libatm1 libatomic1 libatspi2.0-0
libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3
libavcodec-ffmpeg56 libavformat-ffmpeg56 libavutil-ffmpeg54 libbdplus0
libbluray1 libbsd0 libcairo2 libcap-ng0 libcrystalhd3 libcups2
libcurl3-gnutls libdatrie1 libdbus-1-3 libdbus-glib-1-2 libdconf1
libdns-export162 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2
libdrm-radeon1 libdrm2 libedit2 libelf1 libencode-locale-perl libexpat1
libffi6 libfftw3-single3 libfile-basedir-perl libfile-desktopentry-perl
libfile-listing-perl libfile-mimeinfo-perl libflac8 libfont-afm-perl
libfontconfig1 libfontenc1 libfreetype6 libgbm1 libgconf-2-4 libgdbm3
libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx
libglapi-mesa libglib2.0-0 libglib2.0-data libgme0 libgmp10 libgnutls30
libgomp1 libgraphite2-3 libgsm1 libgssapi-krb5-2 libgssapi3-heimdal
libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libharfbuzz0b libhcrypto4-heimdal
libheimbase1-heimdal libheimntlm0-heimdal libhogweed4 libhtml-form-perl
libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl
libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
libhttp-message-perl libhttp-negotiate-perl libhx509-5-heimdal libice6
libicu55 libidn11 libio-html-perl libio-socket-ssl-perl
libipc-system-simple-perl libisc-export160 libisl15 libjack-jackd2-0
libjbig0 libjpeg-turbo8 libjpeg8 libjson-glib-1.0-0 libjson-glib-1.0-common
libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0
libldap-2.4-2 libllvm6.0 libltdl7 liblwp-mediatypes-perl
liblwp-protocol-https-perl libmailtools-perl libmnl0 libmodplug1 libmp3lame0
libmpc3 libmpfr4 libnet-dbus-perl libnet-http-perl libnet-smtp-ssl-perl
libnet-ssleay-perl libnettle6 libnspr4 libnss3 libnss3-nssdb libnuma1
libogg0 libopenjpeg5 libopus0 liborc-0.4-0 libp11-kit0 libpam-systemd
libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0
libperl5.22 libpixman-1-0 libpng12-0 libpolkit-agent-1-0
libpolkit-backend-1-0 libpolkit-gobject-1-0 libproxy1v5 libpulse0
libpulsedsp libroken18-heimdal librtmp1 libsamplerate0 libsasl2-2
libsasl2-modules libsasl2-modules-db libschroedinger-1.0-0 libsensors4
libshine3 libsm6 libsnapd-glib1 libsnappy1v5 libsndfile1 libsoup2.4-1
libsoxr0 libspeex1 libspeexdsp1 libsqlite3-0 libssh-gcrypt-4 libssl1.0.0
libswresample-ffmpeg1 libtasn1-6 libtdb1 libtext-iconv-perl libthai-data
libthai0 libtheora0 libtie-ixhash-perl libtiff5 libtimedate-perl libtwolame0
libtxc-dxtn-s2tc0 liburi-perl libva1 libvorbis0a libvorbisenc2 libvpx3
libwavpack1 libwayland-server0 libwebp5 libwebrtc-audio-processing-0
libwind0-heimdal libwrap0 libwww-perl libwww-robotrules-perl libx11-6
libx11-data libx11-protocol-perl libx11-xcb1 libx264-148 libx265-79 libxau6
libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1
libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2
libxi6 libxinerama1 libxml-parser-perl libxml-twig-perl
libxml-xpathengine-perl libxml2 libxmu6 libxmuu1 libxpm4 libxrandr2
libxrender1 libxshmfence1 libxss1 libxt6 libxtables11 libxtst6 libxv1
libxvidcore4 libxxf86dga1 libxxf86vm1 libzvbi-common libzvbi0
mesa-va-drivers netbase openssl perl perl-modules-5.22 policykit-1
pulseaudio pulseaudio-module-x11 pulseaudio-utils rename rtkit sgml-base
shared-mime-info spotify-client tcpd ucf udev va-driver-all x11-common
x11-utils x11-xserver-utils xdg-user-dirs xdg-utils xml-core
The following packages will be upgraded:
perl-base
1 upgraded, 293 newly installed, 0 to remove and 3 not upgraded.
Need to get 294 MB of archives.
After this operation, 899 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
spotify-client
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
The command '/bin/sh -c apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90 && echo deb http://repository.spotify.com stable non-free > /etc/apt/sources.list.d/spotify.list && apt-get update && apt-get install -y spotify-client xdg-utils libxss1 pulseaudio fonts-noto && apt-get clean && echo enable-shm=no >> /etc/pulse/client.conf' returned a non-zero code: 100

This is what happens when I try to run the script:
scripts/spotify
localuser: being added to access control list
Unable to find image 'spotify:latest' locally
docker: Error response from daemon: pull access denied for spotify, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

Here is the summary of my system from hardinfo:

Computer


Summary

-Computer-
Processor : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
Memory : 16153MB (7764MB used)
Machine Type : Notebook
Operating System : Ubuntu 20.10
User Name :
Date/Time : Sat 13 Mar 2021 11:47:34 AM PST

Please let me know if you need anything else. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.