toastify
toastify copied to clipboard
Toasts stop working properly after a while
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
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.