Refactored spotify_player