New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@svrooij/sonos

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svrooij/sonos - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

lib/helpers/async-helper.d.ts

5

package.json
{
"name": "@svrooij/sonos",
"version": "1.0.0",
"version": "1.0.1",
"description": "A node library to control your sonos devices, written in typescript",

@@ -16,3 +16,4 @@ "main": "lib/index.js",

"postinstall": "echo \"Check out the documentation in https://github.com/svrooij/node-sonos-ts or give me a shoutout on twitter @svrooij\"",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"prepack": "npm run build"
},

@@ -19,0 +20,0 @@ "repository": {

22

README.md

@@ -31,13 +31,13 @@ # Node Sonos (the typescript version)

- **.AddUriToQueue('spotify:track:0GiWi4EkPduFWHQyhiKpRB')** - Add a track to be next track in the queue, metadata is guessed.
- **.AlarmList()** - List all your alarms
- **.AlarmPatch({ ID: 1, ... })** - Update some properties of one of your alarms.
- **.JoinGroup('Office')** - Join an other device by it's name. Will lookup the correct coordinator.
- **.PlayNotification({})** - Play a single url and revert back to previous music source (playlist/radiostream). See [play-notification.js](./examples/play-notification.js)
- **.PlayTTS({})** - Generate mp3 based on text, play and revert back to previous music source. See [Text-to-Speech](#text-to-speech)
- **.SetAVTransportURI('spotify:track:0GiWi4EkPduFWHQyhiKpRB')** - Set playback to this url, metadata is guessed. This doens't start playback all the time!
- **.SwitchToLineIn()** - Some devices have a line-in. Use this command to switch to it.
- **.AddUriToQueue('spotify:track:0GiWi4EkPduFWHQyhiKpRB')** - Add a track to be next track in the queue, metadata is guessed :musical_note:.
- **.AlarmList()** - List all your alarms :alarm_clock:
- **.AlarmPatch({ ID: 1, ... })** - Update some properties of one of your alarms :clock330:.
- **.JoinGroup('Office')** - Join an other device by it's name. Will lookup the correct coordinator :speaker:.
- **.PlayNotification({})** - Play a single url and revert back to previous music source (playlist/radiostream) :bell:. See [play-notification.js](./examples/play-notification.js)
- **.PlayTTS({})** - Generate mp3 based on text, play and revert back to previous music source :mega:. See [Text-to-Speech](#text-to-speech)
- **.SetAVTransportURI('spotify:track:0GiWi4EkPduFWHQyhiKpRB')** - Set playback to this url, metadata is guessed :musical_note:. This doens't start playback all the time!
- **.SwitchToLineIn()** - Some devices have a line-in. Use this command to switch to it :microphone:.
- **.SwitchToQueue()** - Switch to queue (after power-on or when playing a radiostream).
- **.SwitchToTV()** - On your playbar you can use this to switch to TV input.
- **.TogglePlayback()** - If playing or transitioning your playback is paused. If stopped or paused your playback is resumed.
- **.SwitchToTV()** - On your playbar you can use this to switch to TV input :tv:.
- **.TogglePlayback()** - If playing or transitioning your playback is paused :arrow_forward:. If stopped or paused your playback is resumed.

@@ -303,3 +303,3 @@ ### Shortcuts

[link_issues]: https://github.com/svrooij/node-sonos-ts/issues
[link_npm]: https://www.npmjs.com/package/@svrooij/sonos-ts
[link_npm]: https://www.npmjs.com/package/@svrooij/sonos
[link_travis]: https://travis-ci.org/svrooij/node-sonos-ts
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc