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

default avatar img added and device id got pulled #19

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

Conversation

devLeopar
Copy link

In the case of any spotify user that does not have an avatar image, the code was unable to get it and displayed an error. I added a default avatar image.

Also, if you didn't play any music from your devices that already have Spotify opened, the code wouldn't recognize the device ID which should be passed as options to spotify.play() method to get the first device from the user's devices object.

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.

1 participant