If we have spotifyd, we should refresh the spotify access token when Almond starts, so the spotifyd sees the good token immediately. This avoids spotifyd crashing in a loop until the user issues a command (which wastes CPU and pollutes the logs) and allows the user to play music on Home Assistant from the Spotify app.
If we have spotifyd, we should refresh the spotify access token when Almond starts, so the spotifyd sees the good token immediately. This avoids spotifyd crashing in a loop until the user issues a command (which wastes CPU and pollutes the logs) and allows the user to play music on Home Assistant from the Spotify app.