Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify client not found #24

Open
tdelesio opened this issue Apr 1, 2019 · 1 comment
Open

Spotify client not found #24

tdelesio opened this issue Apr 1, 2019 · 1 comment

Comments

@tdelesio
Copy link

tdelesio commented Apr 1, 2019

I'm trying to get this up and running in docker-compose. My file looks like:

  mopidy:
    container_name: mopidy
    image: wernight/mopidy
    volumes:
    - /mnt/storage/appdata/mopidy/local:/var/lib/mopidy/local
    - /mnt/storage/appdata/mopidy/config:/var/lib/mopidy/.config/
    ports:
    - 6600:6600
    - 6680:6680
#    network_mode: host
    devices:
    - /dev/snd:/dev/snd

After the container starts, I go into the config file and manually add the spotify username/password. When the container starts it look like everything is working great.

mopidy    | INFO     Starting Mopidy mixer: SoftwareMixer
mopidy    | INFO     Starting Mopidy audio
mopidy    | INFO     Starting Mopidy backends: YouTubeBackend, StreamBackend, M3UBackend, FileBackend, SpotifyBackend
mopidy    | INFO     Audio output set to "autoaudiosink"
mopidy    | INFO     Creating dir /var/lib/mopidy/.cache/mopidy/spotify
mopidy    | INFO     Creating dir /var/lib/mopidy/.local/share/mopidy/spotify
mopidy    | INFO     Starting Mopidy core
mopidy    | INFO     Starting Mopidy frontends: MpdFrontend, HttpFrontend
mopidy    | INFO     MPD server running at [::ffff:127.0.0.1]:6600
mopidy    | INFO     HTTP server running at [::ffff:127.0.0.1]:6680
mopidy    | INFO     Starting GLib mainloop
mopidy    | INFO     Logged in to Spotify in online mode

But when I open up spotify on the lan, I do not see the the client in my list. What am I doing wrong? Also is there a way to name the instance manually?

Thanks for the help

@wernight
Copy link
Owner

wernight commented Apr 5, 2019

Could be that it needs to be added to https://github.com/wernight/docker-mopidy/blob/master/Dockerfile#L24-L30. I didn't check how Spotify client gets installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants