bjarneo / Pytify

A CLI application for controlling Spotify
MIT License
743 stars 40 forks source link

Getting 'bool' object is not subscriptable after entering query #55

Closed GijsTimmers closed 7 years ago

GijsTimmers commented 7 years ago

Might be related to #54 .

Running Spotify 1.0.49.125.g72ee7853 on Ubuntu 17.04 with pytify, latest git version:

$ git log --pretty=format:'%H' -n 1 
77cf8b767029a00b94764747eadf3db25855aa54

Searching for anything gives an error: 'bool' object is not subscriptable. Other commands work fine.

$ pytify
pytify 3.3.2 [https://github.com/bjarneo/Pytify]
user@laptop - Search:
> ensiferum
Search went wrong? Please try again.
'bool' object is not subscriptable
user@laptop - Search:
> /pp
user@laptop - Search:
> /current
Ensiferum - Axe of Judgement [One Man Army]
user@laptop - Search:
> /pp
GijsTimmers commented 7 years ago

I'm pretty sure it has to do something with the new authorization documentation changes:

https://github.com/plamere/spotipy/issues/194

The proposed answer, http://spotipy.readthedocs.io/en/latest/#client-credentials-flow, should probably be incorporated into pytify.