+10
-2
@@ -56,4 +56,12 @@ #!/usr/bin/env node | ||
| debug('chromecast status', status) | ||
| if (err) return wait() | ||
| if (files.length && status && status.applications && status.applications.length && status.applications[0].appId === 'E8C28D3C') return play() | ||
| if (err || !files.length || !status || !status.applications || status.applications.length !== 1) return wait() | ||
| if (status.applications[0].appId === 'E8C28D3C') return play() | ||
| if (status.applications[0].displayName === 'Default Media Receiver' || status.applications[0].appId === 'CC1AD845') { | ||
| player.status(function (err, status) { | ||
| if (err) return wait() | ||
| if (!status) return play() | ||
| wait() | ||
| }) | ||
| return | ||
| } | ||
| wait() | ||
@@ -60,0 +68,0 @@ }) |
+1
-1
| { | ||
| "name": "idlecast", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "description": "Chomecast all files in a folder when your chromecast isn't doing anything else", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
5903
5.07%111
7.77%