toastify icon indicating copy to clipboard operation
toastify copied to clipboard

Toasts stop working properly after a while

Open Waliactico opened this issue 6 years ago • 1 comments

EXPECTED BEHAVIOUR

Toasts should work as intended for the entire session.

ACTUAL BEHAVIOUR

After a while (around 30 minutes), toasts no longer show the updated track information. They also won't show when next song reproduces. It seems to have something to do with the authorization access token, as log shows the access token is expired, and on restart, Toastify asks again for permissions.

STEPS TO REPRODUCE THE BEHAVIOUR

Use it normally with toasts enabled, and eventually it breaks (for me, after 10 or so songs).

LOG FILE

Toastify.log

Waliactico avatar May 08 '19 13:05 Waliactico

Try running Toastify as an administrator. There seems to be a write permission problem which prevents Toastify to create (or write to) the spotify-token.sec file in %LocalAppData%\Toastify. This solved the issue for me.

EDIT: Nevermin, token still expires ... All this seem to accomplish is allowing the Spotify WebAPI to work for a limited time. It seems the token needs to be updated every hour which isn't happening.

fragande avatar Sep 06 '19 19:09 fragande