'Fetch a new spotify instance.'

def refresh_spotify_instance(self):

    import spotipy
    token_refreshed = False
    need_token = ((self._token_info is None) or self._oauth.is_token_expired(self._token_info))
    if need_token:
        new_token = self._oauth.refresh_access_token(self._token_info['refresh_token'])
        self._token_info = new_token
        token_refreshed = True
    if ((self._player is None) or token_refreshed):
        self._player = spotipy.Spotify(auth=self._token_info.get('access_token'))
        self._user = self._player.me()
