ActivityWatch/aw-watcher-spotify

Not finding username, client_id or client_secret properly?

PAK90 opened this issue · 5 comments

PAK90 commented

I filled out the config aw-watcher-spotify.toml file but when I do python aw_watcher_spotify/main.py it says one of those fields isn't specified in the config file. I copied the id and secret right from spotify's dev dashboard. I put a meaningless username in because I'm not sure where to get that from, is there a 'proper' username I should be using?

Your Spotify account has a username, use that.

ekdz commented

For me, it doesn't work either. I use the username from my Spotify account settings and secrets from my dashboard.

vonPB commented

I've had not trouble setting it up.

C:\Users<user>\AppData\Local\activitywatch\activitywatch\aw-watcher-spotify

[aw-watcher-spotify]
username = "<my_useranme>" # from https://www.spotify.com/us/account/overview/
client_id = "<my_client_id>" #https://developer.spotify.com/dashboard/ create an app
client_secret = "<my_client_secret>" # ^^

image
image

ekdz commented

Ok. I did not uncomment lines from the TOML file. Thank you for your quick response!

vonPB commented

@ekdz glad I could help