CloudBotIRC / CloudBot

CloudBot - The simple, fast, expandable, open-source Python IRC Bot!
GNU General Public License v3.0
273 stars 250 forks source link

Spotify.py is using depreciated api #221

Open ghost opened 8 years ago

ghost commented 8 years ago

See https://developer.spotify.com/technologies/metadata-api/

Red-M commented 8 years ago

I've got a drop in replacement but I'm on mobile atm.

ghost commented 8 years ago

I'd love if you were able to link it here once you have access to it :+1:

Red-M commented 8 years ago

It requires spotipy and the code is here: https://bitbucket.org/Red_M/poison-frog/src/19a4c8c1b69f3c2d4497133f5b335484e3d992ee/plugins/spotify.py?at=master&fileviewer=file-view-default

Just a note that this is not the best code, just the code I have made a while ago using cloudbot's spotify.py plugin, so it might have useless code or weird conventions in it.

ghost commented 8 years ago

Appears that the code you linked Red only has support for the regex-URLs and not the actual commands. Would it be possible to add commands as well? (searching for track, album, artist)

Techman commented 7 years ago

Bumping this issue because this hasn't been addressed since January of this year. Spotify functionality is broken until the plugin is updated to use the new API :(

indexcosmos commented 7 years ago

Techman++

ghost commented 7 years ago

@Techman-, @indexcosmos: fixed, see https://github.com/CloudBotIRC/CloudBot/pull/252