- def self.current_track
- u = @rdio.call('currentUser', {'extras' => 'lastSongPlayed'})
- artist = u["result"]["lastSongPlayed"]["artist"]
- song = u["result"]["lastSongPlayed"]["name"]
+ def current_track
+ response = @rdio.call('currentUser', {'extras' => 'lastSongPlayed'})
+ artist = response["result"]["lastSongPlayed"]["artist"]
+ song = response["result"]["lastSongPlayed"]["name"]