linuxserver / docker-daapd

GNU General Public License v3.0
103 stars 37 forks source link

libspotify credentials #49

Closed georgejung closed 3 years ago

georgejung commented 3 years ago

linuxserver.io


Expected Behavior

I would like the libspotify credentials to be stored once I enter them

Current Behavior

Right now they reset on every restart, though the web api access seems to be retained.

Steps to Reproduce

Restart

Environment

OS: Ubutnu 20.04 CPU architecture: x86_64 How docker service was installed: ansible nas role - geerlingguy.docker

Command used to create docker container (run/create/compose/screenshot)

i created a container from within portainer using your repo.

Thanks

github-actions[bot] commented 3 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

georgejung commented 3 years ago

figured it out. I had to modify the config file in the spotify section as follows:

# Spotify settings (only have effect if Spotify enabled - see README/INSTALL)
spotify {
    # Directory where user settings should be stored (credentials)
settings_dir = "/config/libspotify"

    # Cache directory
    cache_dir = "/tmp"

I also created the libspotify in my config folder, though this likely would have been done auotmatically. And it took at least two restarts and logins of libspotify for it to work.