elcuervo / airplay

Airplay bindings to Ruby
MIT License
1.07k stars 69 forks source link

CLI not working with Apple TV 6.0, 6.0.1 #55

Closed bobbyduhbrain closed 10 years ago

bobbyduhbrain commented 10 years ago

Michaels-MacBook-Pro-2:cube_karaoke Mike$ air list

Then I do the following:

air play "public/Videos/output.mp4" Playing public/Videos/output.mp4

"An error occurred loading this content." -- Apple TV

CLI continues attempting to play the video meanwhile nothing happens for some amount of time until I press ctrl+c and get:

^C WARN persistent: Terminating task: type=:call, meta={:method_name=>:wait}, status=:sleeping WARN persistent: Terminating task: type=:call, meta={:method_name=>:wait}, status=:sleeping WARN persistent: Terminating task: type=:timer, meta=nil, status=:sleeping WARN persistent: Terminating task: type=:timer, meta=nil, status=:sleeping /Users/Mike/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:76:in delete': Interrupt from /Users/Mike/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:76:inblock (2 levels) in wait' from /Users/Mike/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:75:in synchronize' from /Users/Mike/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:75:inblock in wait' from /Users/Mike/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:66:in handle_interrupt' from /Users/Mike/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:66:inwait' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/celluloid-0.15.2/lib/celluloid/mailbox.rb:69:in receive' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/celluloid-0.15.2/lib/celluloid/calls.rb:97:inblock in wait' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/celluloid-0.15.2/lib/celluloid/calls.rb:96:in loop' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/celluloid-0.15.2/lib/celluloid/calls.rb:96:inwait' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/celluloid-0.15.2/lib/celluloid.rb:99:in suspend' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:invalue' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in method_missing' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/airplay-1.0.0.beta1/lib/airplay/cli.rb:31:inplay' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/airplay-1.0.0.beta1/bin/air:15:in block in <top (required)>' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/clap-1.0.0/lib/clap.rb:35:incall' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/clap-1.0.0/lib/clap.rb:35:in run' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/clap-1.0.0/lib/clap.rb:6:inrun' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/gems/airplay-1.0.0.beta1/bin/air:6:in <top (required)>' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/bin/air:23:inload' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/bin/air:23:in <main>' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:ineval' from /Users/Mike/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `

'

I will fiddle around with this more but I haven't been able to send a video with iOS >=6.0

bobbyduhbrain commented 10 years ago

You can close this. I made a n00b mistake :) I did not have airplay-cli in my bundle and needed to run gem install airplay-cli.