Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian Jessie can't connect to Apple TV #39

Open
martijnboers opened this issue Jun 10, 2015 · 0 comments
Open

Debian Jessie can't connect to Apple TV #39

martijnboers opened this issue Jun 10, 2015 · 0 comments

Comments

@martijnboers
Copy link

Hi,

When I try a command like airplayer play ~/videos/small.mp4'

I get the following error message:

 Source: /home/martijn/videos/small.mp4
  Title: small.mp4
 Device: Apple TV (Resolution: x)
ERROR persistent: Airplay::Connection crashed!                                                                                                                                            | 0% Progress
NoMethodError: undefined method `tr' for nil:NilClass
    /usr/lib/ruby/2.1.0/cgi/util.rb:18:in `unescape'
    /var/lib/gems/2.1.0/gems/net-http-digest_auth-1.2.1/lib/net/http/digest_auth.rb:83:in `auth_header'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection/authentication.rb:32:in `digest_authentication'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection/authentication.rb:27:in `authenticate'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection/authentication.rb:7:in `sign'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection.rb:123:in `send_request'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection.rb:96:in `prepare_request'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection.rb:48:in `post'
    /var/lib/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
    /var/lib/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
    /var/lib/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in `dispatch'
    /var/lib/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
    /var/lib/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
    /var/lib/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
    /var/lib/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
ERROR persistent: Airplay::Connection crashed!
NoMethodError: undefined method `tr' for nil:NilClass
    /usr/lib/ruby/2.1.0/cgi/util.rb:18:in `unescape'
    /var/lib/gems/2.1.0/gems/net-http-digest_auth-1.2.1/lib/net/http/digest_auth.rb:83:in `auth_header'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection/authentication.rb:32:in `digest_authentication'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection/authentication.rb:27:in `authenticate'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection/authentication.rb:7:in `sign'
    /var/lib/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/connection.rb:123:in `send_request'
[....]

And so on. The weird part is that

± % airplayer devices                                                                                                                                                                           
0: Apple TV (Resolution: x, Version: 220.68, IP: 192.168.2.3:7000)

Does work

Debian 7 'Jessie'
ruby 2.1.5p273
Airplayer 1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant