eventmachine-itunes

An EventMachine extension to watch iTunes play/pause/stop

Synopsis

require 'eventmachine-itunes'

Watch iTunes

module Watcher
  def on_play(info)
    puts 'now playing %s' % [info['Artist'], info['Name']].join(' - ')
  end
end

EM.run {
  EM.watch_itunes(Watcher)
}

Contributing to eventmachine-itunes

Copyright © 2012 youpy. See LICENSE.txt for further details.