]> git.r.bdr.sh - rbdr/lyricli.rb/blobdiff - lib/lyricli/sources/rdio.rb
Fixes stuff for ruby 1.8 support
[rbdr/lyricli.rb] / lib / lyricli / sources / rdio.rb
index d34795f512876d04b9c92641a7228f7278cb4c70..76d0ed1fa60eef15b4150ce1fa0837c38e7670a4 100644 (file)
@@ -40,7 +40,7 @@ module Lyricli
         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