X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/6f33706c59d73cfae04fc2e799502522de10f1c1..a1f64790dc2a69580dc73022686e6806b6bf7349:/lib/lyricli/sources/itunes.rb?ds=sidebyside diff --git a/lib/lyricli/sources/itunes.rb b/lib/lyricli/sources/itunes.rb index 2e647c8..e9a3f49 100644 --- a/lib/lyricli/sources/itunes.rb +++ b/lib/lyricli/sources/itunes.rb @@ -1,5 +1,6 @@ module Lyricli module Sources + # The source for iTunes class Itunes class << self @@ -28,7 +29,7 @@ module Lyricli path = File.join(path_root, @script) current = `osascript #{path}` current = current.split("<-SEP->") - {artist: current[0], song: current[1]} + {:artist => current[0], :song => current[1]} end # The reset method resets any configurations it may have