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

Add experimental Spotify install. #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gadgetoid
Copy link
Member

This installs Spotify from Git. Also fixes an issue with the Mopidy config not resetting to default.

@helgibbons helgibbons mentioned this pull request May 18, 2023
@helgibbons
Copy link
Contributor

I'm not having any luck getting Spotify working with this PR - getting this error in Iris:

image

I tried compiling / installing gst-plugins-spotify as described here: https://github.com/mopidy/mopidy-spotify#dependencies but I'm still getting that message.

@Gadgetoid
Copy link
Member Author

Login credentials added into the config file and such?

@helgibbons
Copy link
Contributor

Yep - credentials entered and enabled = true set in /etc/mopidy/mopidy.conf

sudo mopidy config says this:

image

@Gadgetoid
Copy link
Member Author

Weird, I wonder what the particular self check is that prompted this.

Perhaps try some of the steps listed here: https://docs.mopidy.com/en/latest/troubleshooting/

Could be related to? mopidy/mopidy-spotify#202 (comment) I don't know if it's disabled when login fails.

Could be a missing dependency, or

@helgibbons
Copy link
Contributor

aha!

May 19 11:53:26 testpi mopidy[504]: INFO [MainThread] mopidy.ext Disabled extension spotify: Mopidy>=3.4.0 required, but found Mopidy 3.1.1 at /usr/lib/python3/dist-packages

@Gadgetoid
Copy link
Member Author

Ooof, pip install of Mopidy overriding the apt package. This tripped me up too.

@helgibbons
Copy link
Contributor

Working! I needed to

  • fix the apt sources so I could update Mopidy to the latest
  • build gst-plugins-spotify as described here. The build kept falling over on a 3B+, I eventually had to do it from a Pi 4.
  • generate a new ID / secret and update them in /etc/mopidy/mopidy.conf (for some reason)

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

Successfully merging this pull request may close these issues.

2 participants