Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scrypted/chromecast

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scrypted/chromecast - npm Package Compare versions

Comparing version 0.1.55 to 0.1.56

2

package.json
{
"name": "@scrypted/chromecast",
"version": "0.1.55",
"version": "0.1.56",
"description": "Send video, audio, and text to speech notifications to Chromecast and Google Home devices",

@@ -5,0 +5,0 @@ "author": "Scrypted",

@@ -91,3 +91,6 @@ import util from 'util';

client.removeAllListeners();
client.close();
try {
client.close();
} catch (e) {
}
}

@@ -153,2 +156,10 @@ client.client.on('close', cleanup);

async load(media: string | MediaObject, options: MediaPlayerOptions) {
if (this.mediaPlayerPromise) {
try {
(await this.mediaPlayerPromise).close();
} catch (e) {
}
this.mediaPlayerPromise = undefined;
this.mediaPlayerStatus = undefined;
}
let url: string;

@@ -346,11 +357,3 @@ let urlMimeType: string;

player.getStatus((err, status) => {
if (err) {
reject(err);
return;
}
this.mediaPlayerStatus = status;
this.updateState();
resolve(player);
})
resolve(player);
});

@@ -357,0 +360,0 @@ });

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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