X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/6f33706c59d73cfae04fc2e799502522de10f1c1..ff4ccc1139a8730a7613c8289ec3df29680865e1:/lib/lyricli/sources/itunes.rb?ds=inline 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