-
Notifications
You must be signed in to change notification settings - Fork 401
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 playlists not playing #1011
Comments
Are you sure the URI is correct? Because you have the following error: Edit I have no experience with Spotify, but the second occurrence of |
|
Did you try the shorter version of the URI, if Spotify is also satisfied with that format? |
Yes, I tried every URI format which I could come up with. Whenever it referred to a Spotify playlist, then Mopidy complains, that it can not find the playlist. |
@kingosticks, sorry to bother you again, but maybe you have some info, what mopidy requires here? |
That form is old and Spotify are supposed to be moving towards the 'spotify:playlist:blahblahblah' format so I'm a bit surprised they are still giving out the old format. That being said, the old format should still work and the code still handles it. The (updated?) error log in the original post shows the first error is the web API authorization failed. You must fix that first. |
Thanks everybody for the help, in particular kingosticks. In hindsight it seems obvious, but the issue indeed was the wep API authorization error. I simply used the wrong config file (I used ~/.config/mopidy/mopidy.conf, see https://docs.mopidy.com/en/latest/running/service/#configuration). The reason why I felt safe to ignore this error is, that both albums and tracks played correctly and hence I assumed, this is just wrong startup behavior. I still do not understand, what in this respect is the difference to playlists. |
EDIT: Replaced the mopidy log by a more concise but still meaningful one, which I obtained after a fresh restart.
Bug
While an RFID card registered to play stream URL
spotify:track:##################
orspotify:album:##############
works like a charm,spotify:user:<username>:###############
does not work. Even the sample url in the doc SPOTIFY-INTEGRATION.md#how-to-use-spotify does not work. This could be connected to Mopidy-spotiffy issue 182.What I did
I installed via
Then I swept an RFID card and registered it by giving the stream URL multiple playlist stream urls for testing. One of them
spotify:user:spotify:playlist:37i9dQZF1DX6J5NfMJS675
, which as far as I can tell is a valid spotify url. For each URL which I tried, I selected type Spotify, created a new folder and I swept the RFID card after registering.What happened
Nothing.
I expected this to happen
I expect the first track of the spotify playlist to play, after I sweep the card.
Further information that might help
Software
Base image and version
pi@raspberrypi:~/phoniebox_logs $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Branch / Release
master
Installscript
Hardware
RaspberryPi version
Raspberry Pi 3 Model B Rev 1.2
RFID Reader
KKMoon HID 413d:2107
--> had to follow #551
Soundcard
idVendor 0x0d8c C-Media Electronics, Inc.
idProduct 0x013c CM108 Audio Controller
Other notable hardware
OLED display, installed SW therefore is:
The text was updated successfully, but these errors were encountered: