@scrypted/chromecast
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@scrypted/chromecast", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Send video, audio, and text to speech notifications to Chromecast and Google Home devices", | ||
@@ -23,9 +23,7 @@ "author": "Scrypted", | ||
"scrypted": { | ||
"name": "Scrypted Visual Studio Code Sample Library", | ||
"type": "Library" | ||
}, | ||
"scrypted": { | ||
"name": "Chromecast Notifier", | ||
"type": "Device", | ||
"interfaces": ["DeviceProvider"] | ||
"interfaces": [ | ||
"DeviceProvider" | ||
] | ||
}, | ||
@@ -32,0 +30,0 @@ "devDependencies": { |
@@ -64,3 +64,3 @@ const fs = require('fs'); | ||
CastDevice.prototype.sendNotificationToHost = function (title, body, media, mimeType) { | ||
if (!media && this.device.type == 'Speaker') { | ||
if (!media || this.device.type == 'Speaker') { | ||
@@ -67,0 +67,0 @@ // the mediaConvert variable is provided by Scrypted and can be used to convert |
Sorry, the diff of this file is too big to display
237188