Closed sdetweil closed 1 year ago
Actually, it does. If you are on the same system it opens a browser and waits until you finished the auth flow and close the browser. After that it works with waitForFileTimeout = 0
.
If you are using a remote URL for the auth flow, it will set a timeout of 5 mins: https://github.com/skuethe/MMM-Spotify/blob/c18a57d60b31e39f9adc600fbe15345feeca31d6/Spotify.js#L313-L315
So changing the default timeout to one minute will just create unnecessary waiting time after you already finished the auth flow on a local system.
If you still run into problems, please enable debugging and provide more insights via log outputs.
ok, this is on local system, browser does not open, will get debug
Closing due to inactivity. Feel free to re-open if something else is unclear.
timeout for web response set to 0, so first_auth.js(actually Spotify.js) doesn't wait for user
Spotify.js change line 250 from
to