castv2-player
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -150,15 +150,7 @@ "use strict" | ||
let that = this; | ||
if (that.getStatus()) { | ||
return that._parseVolume(that.getStatus().volume); | ||
} else { | ||
return 0; | ||
} | ||
return that._parseVolume(that._status.volume); | ||
} | ||
getIsMuted(){ | ||
let that = this; | ||
if (that.getStatus()) { | ||
return that.getStatus().volume.muted; | ||
} else { | ||
return false; | ||
} | ||
return that._parseVolume(that._status.volume.muted); | ||
} | ||
@@ -178,2 +170,4 @@ | ||
} catch (e) {log.debug("%s - Error trying to close pending connection (expected) - %s", that._name, e);}; | ||
delete that._connecting_client; | ||
that._connecting_client = undefined; | ||
} | ||
@@ -210,2 +204,3 @@ | ||
delete that._client; | ||
that._client = undefined; | ||
} | ||
@@ -212,0 +207,0 @@ |
{ | ||
"name": "castv2-player", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "A Chromecast client based on the new (CASTV2) protocol", | ||
@@ -5,0 +5,0 @@ "author": "angelnu", |
86314
2293