]> git.r.bdr.sh - rbdr/lyricli.rb/blobdiff - lib/lyricli/sources/rdio.rb
Merge pull request #2 from orlando/master
[rbdr/lyricli.rb] / lib / lyricli / sources / rdio.rb
index d34795f512876d04b9c92641a7228f7278cb4c70..0be89f390a7b04ec8b224ef7eea44bb01f9bbae3 100644 (file)
@@ -40,7 +40,7 @@ module Lyricli
         response = @rdio.call('currentUser', {'extras' => 'lastSongPlayed'})
         artist = response["result"]["lastSongPlayed"]["artist"]
         song = response["result"]["lastSongPlayed"]["name"]
         response = @rdio.call('currentUser', {'extras' => 'lastSongPlayed'})
         artist = response["result"]["lastSongPlayed"]["artist"]
         song = response["result"]["lastSongPlayed"]["name"]
-        {artist: artist, song: song}
+        {:artist => artist, :song => song}
       end
 
       # The reset method resets any configurations it may have
       end
 
       # The reset method resets any configurations it may have
@@ -68,7 +68,6 @@ module Lyricli
         @config["rdio_auth_token"] = token
         token
       end
         @config["rdio_auth_token"] = token
         token
       end
-
     end
   end
 end
     end
   end
 end