Skip to content

default avatar img added and device id got pulled#19

Open
devLeopar wants to merge 1 commit intoCleverProgrammers:masterfrom
devLeopar:spotified
Open

default avatar img added and device id got pulled#19
devLeopar wants to merge 1 commit intoCleverProgrammers:masterfrom
devLeopar:spotified

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