Sha256: 14830811c0a0c96602a1b9ad73566a8bef09769ff90fe6a6f982a9c2e306e55d

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

#!/usr/bin/env macruby

unless ARGV[0]
  puts "Usage: #{File.basename($0)} <media-url>"
  exit(1)
end

puts "Requesting: #{ARGV[0]}"

request = {
  'RequestType' => 'play-media',
  'MediaLocation' => ARGV[0]
}

NSDistributedNotificationCenter.defaultCenter.postNotificationName("com.sadun.airflick", object:nil, userInfo:request, deliverImmediately:true)
		

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flickvimeo-1.0.3 bin/submitairplay
flickvimeo-1.0.2 bin/submitairplay
flickvimeo-1.0.1 bin/submitairplay
flickvimeo-1.0.0 bin/submitairplay