You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix: Update watcher with api fixes
There are two primary things that this does:
1. This fixes the redirect url problem. It changed from having localhost
be acceptable to needing it to be a loopback url. See
https://developer.spotify.com/documentation/web-api/concepts/redirect_uri
2. The `audio_features` api is discontinued by spotify for new webapps.
Having the method call be unwrapped with a try except block killed
the watcher. This change just wraps the audio_features in a try except
block so that people who have old apps that currently have access to
the API route can still use it. See below for info about changes to
the Spotify Web API:
https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api
* Fix: use pure oath for auth
* Fix: change to AW based logging
Errors were not logged with the original type of logging. This
makes the errors or other logs go to the default AW logging places.
* Fix: Correct redirect uri
* Fix: Move args into main
---------
Co-authored-by: Erik Bjäreholt <erik@bjareho.lt>
"username, client_id or client_secret not specified in config file (in folder {}). Get your client_id and client_secret here: https://developer.spotify.com/my-applications/".format(
113
115
config_dir
114
116
)
@@ -129,23 +131,23 @@ def main():
129
131
track=get_current_track(sp)
130
132
# from pprint import pprint
131
133
# pprint(track)
132
-
exceptspotipy.client.SpotifyExceptionase:
134
+
exceptSpotifyExceptionase:
133
135
print_statusline("\nToken expired, trying to refresh\n")
0 commit comments