Commit Graph

7 Commits

Author SHA1 Message Date
David Todd
bc52b1021e update to the new location of SpotifyException 2018-04-24 23:32:21 -05:00
David Todd
b15da78df1 Use the util.authorize_api method 2018-04-24 19:55:20 -05:00
David Todd
6801160694 client.currently_playing() works now that I'm no longer on an outdated version from pip 2018-04-24 19:00:51 -05:00
David Todd
b57347b606 authorize via an internal server instead of copy-paste 2018-04-24 16:32:08 -05:00
David Todd (c0de)
eaca92b313 Remove Rate Limit stuff
This appears to be handled internally to the library instead:
https://github.com/plamere/spotipy/blob/master/spotipy/client.py#L153
2018-01-30 15:45:54 -06:00
David Todd (c0de)
b75cf268e8 Wait 10s and Add Error Handling
This can determine the difference between playing/not playing,
if the user token expired, and if we've been rate-limited.
This can be easily expanded in the future for various other exceptions.
2018-01-30 14:27:29 -06:00
David Todd (c0de)
7757235dbb Initial experiments complete
Here I learned how to authenticate my app over env, as well
as trigger an oauth login for the username specified

I created a small script that will write the now playing track info to a file
This is useful for keeping track of the song that is playing at all times
2018-01-27 22:01:42 -06:00