You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/var/lib/gems/1.9.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send': undefined method `seek' for #<Airplay::Player:0x000000033af720> (NoMethodError)
from /var/lib/gems/1.9.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
from /var/lib/gems/1.9.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
from /var/lib/gems/1.9.1/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
from /var/lib/gems/1.9.1/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
from /var/lib/gems/1.9.1/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
from /var/lib/gems/1.9.1/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
from (celluloid):0:in `remote procedure call'
from /var/lib/gems/1.9.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:in `value'
from /var/lib/gems/1.9.1/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
from playair.rb:8:in `<main>'
The short-and-sweet example code I'm playing with:
require "airplay"
atv = Airplay.devices.first
player = atv.play("http://server.local/Media/my-video.m4v")
sleep 1 while not player.playing?
player.seek(10)
player.wait
The movie plays fine, but when I try to use seek the whole thing comes down with that odd error about not seeing the method (while other methods on Player appear to be callable).
Attempts to use player.seek fail horribly for me.
The short-and-sweet example code I'm playing with:
The movie plays fine, but when I try to use seek the whole thing comes down with that odd error about not seeing the method (while other methods on Player appear to be callable).
The text was updated successfully, but these errors were encountered: