A client for AirPlay Server.
- Emacs 24 or higher
You can install from MELPA with package.el
M-x package-install RET airplay
(require 'airplay)
(airplay/image:view "appletv.jpg")
(airplay/video:play "https://dl.dropbox.com/u/2532139/IMG_0381XXX.m4v")
Select picture file (at local machine).
(airplay/image:view "appletv.jpg")
(airplay:stop)
(airplay/image:view "appletv.jpg" :none) ;; same no args.
(airplay/image:view "appletv.jpg" :slide_left)
(airplay/image:view "appletv.jpg" :slide_right)
(airplay/image:view "appletv.jpg" :dissolve)
Play movie (via HTTP)
(airplay/video:play "https://dl.dropbox.com/u/2532139/IMG_0381XXX.m4v")
(airplay/video:scrub (lambda (position duration)
(message "%s / %s" position duration)))
;; => "38.0 / 90.0"
(airplay/video:info)
;; => (message "Playing now!!")
(airplay:stop)
(airplay/video:info)
;; => (message "Not playing...")
Play local movie file.
(airplay/video:play "~/Dropbox/Public/IMG_0381XXX.m4v")
(airplay/video:pause)
(airplay/video:resume)
(airplay/video:seek 20) ;; => seek to 20 seconds in playing video.
(airplay/device:browse) ;; => ("192.168.0.10" . 7000)
;; if cannot find , (nil . nil)
If want to specify, following code.
(setq airplay->host "192.168.0.10")
(setq airplay->port 7000)
MIT License. see airplay.el