
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
airplay-protocol
Advanced tools
A low level protocol wrapper on top of the AirPlay HTTP API.
npm install airplay-protocol --save
new AirPlay(host[, port])Initiate a connection to a specific AirPlay server given a host or IP address and a port. If no port is given, the default port 7000 is used.
Returns an instance of the AirPlay object.
var AirPlay = require('airplay-protocol')
var airplay = new AirPlay('192.168.0.42', 7000)
statefunction (state) {}
Emitted by the AirPlay server every time the state of the playback changes.
Possible states: loading, playing, paused or stopped.
airplay.serverInfo(callback)Get the AirPlay server info.
Calls the callback with the plist result as the second argument or optionally an error object as the first argument.
airplay.play(url[, position][, callback])Start video playback.
Arguments:
url - The URL to playposition - Optional start position. A floating point number between
0 and 1 where 0 represents the begining of the video and 1 the
end. Defaults to 0callback - Optional callback. Will be called when the play request
have been processed by the AirPlay server. An error object may be
given as the first argumentairplay.scrub(callback)Retrieve the current playback position.
Arguments:
callback - Will be called with the current playback position as the
second argument. An error object may be given as the first argumentairplay.scrub(position[, callback])Seek to an arbitrary location in the video.
Arguments:
position - A float value representing the location in secondscallback - Optional callback. Will be called when the scrub request
have been processed by the AirPlay server. An error object may be
given as the first argumentairplay.rate(speed[, callback])Change the playback rate.
Arguments:
speed - A float value representing the playback rate: 0 is paused, 1
is playing at the normal speedcallback - Optional callback. Will be called when the scrub request
have been processed by the AirPlay server. An error object may be
given as the first argumentairplay.stop([callback])Stop playback.
Arguments:
callback - Optional callback. Will be called when the stop request
have been processed by the AirPlay server. An error object may be
given as the first argumentairplay.playbackInfo(callback)Retrieve playback informations such as position, duration, rate, buffering status and more.
Arguments:
callback - Will be called with a playback-info object as the second
argument. An error object may be given as the first argumentairplay.property(name, callback)Get playback property.
Arguments:
name - The name of the property to getcallback - Will be called with the property value as the second
argument. An error object may be given as the first argumentairplay.property(name, value[, callback])Set playback property.
Arguments:
name - The name of the property to setvalue - The plist object to setcallback - Optional callback. Will be called when the set-property
request have been processed by the AirPlay server. An error object may
be given as the first argumentMIT
FAQs
A low level protocol wrapper on top of the AirPlay HTTP API
The npm package airplay-protocol receives a total of 225 weekly downloads. As such, airplay-protocol popularity was classified as not popular.
We found that airplay-protocol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.