iobroker.chromecast
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -5,3 +5,3 @@ { | ||
"title": "Chromecast Adapter", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "authors": ["Vegetto <iobroker@angelnu.com>"], |
@@ -518,9 +518,26 @@ /* | ||
adapter.setState(states.statusText.name, {val: ("statusText" in currentApplicationObject ? currentApplicationObject.statusText: ""), ack: true}); | ||
//set playing state to true | ||
adapter.setState(states.playing.name, {val: true, ack: true}); | ||
if (//(currentApplicationObject.appId != "MultizoneFollower") && | ||
(currentApplicationObject.appId != "MultizoneLeader")) { | ||
if (currentApplicationObject.appId == "MultizoneLeader") { | ||
//We cannot connect to the MultizoneLeader since it does not have namespaces nor transportId | ||
//adapter.log.info(name + ' currentApplicationObject ' + JSON.stringify(status)); | ||
//{'applications':[{'appId':'MultizoneLeader', | ||
// 'displayName':'Default Media Receiver', | ||
// 'isIdleScreen':false, | ||
// 'sessionId':'63533C2D-D0DC-4F9F-BE21-51D09A60F50B', | ||
// 'statusText':'Now Casting: http://192.168.2.3/musica/test.mp3'} | ||
// ], | ||
// 'volume':{'controlType':'attenuation', | ||
// 'level':0.1764705926179886, | ||
// 'muted':false, | ||
// 'stepInterval':0.05000000074505806} | ||
//} | ||
var dummy; | ||
} else { | ||
if (!connectedPlayer && !connectingPlayer) joinPlayer(); | ||
} //else | ||
//adapter.log.info(name + ' currentApplicationObject ' + JSON.stringify(status)); | ||
} | ||
} else { | ||
@@ -560,3 +577,2 @@ currentApplicationObject = undefined; | ||
//set playing state to true | ||
adapter.setState(states.playing.name, {val: true, ack: true}); | ||
connectedPlayer = true; | ||
@@ -984,3 +1000,4 @@ | ||
} else { | ||
adapter.log.error(name + ' - cannot pause: Chromecast not playing'); | ||
adapter.log.error(name + ' - cannot pause: Chromecast not playing'); | ||
adapter.setState(id, false); | ||
} | ||
@@ -987,0 +1004,0 @@ } |
{ | ||
"name": "iobroker.chromecast", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "ioBroker chromecast Adapter", | ||
@@ -47,4 +47,3 @@ "author": { | ||
"grunt-contrib-copy": "^0.8.0", | ||
"grunt-exec": "^0.4.6", | ||
"webkit-devtools-agent": "^0.3.1" | ||
"grunt-exec": "^0.4.6" | ||
}, | ||
@@ -51,0 +50,0 @@ "bugs": { |
@@ -65,2 +65,5 @@ ![Logo](admin/chromecast.png) | ||
--------- | ||
### 1.0.6 | ||
* (Vegetto) Show MultizoneLeader as playing | ||
* (Vegetto) Set pause state to false when modified and device is not playing | ||
@@ -67,0 +70,0 @@ ### 1.0.6 |
/* | ||
ioBroker.chromecast Widget-Set | ||
version: "1.0.6" | ||
version: "1.0.7" | ||
@@ -145,3 +145,3 @@ Copyright 10.2015-2016 Vegetto<iobroker@angelnu.com> | ||
vis.binds.chromecast = { | ||
version: "1.0.6", | ||
version: "1.0.7", | ||
showVersion: function () { | ||
@@ -148,0 +148,0 @@ if (vis.binds.chromecast.version) { |
Sorry, the diff of this file is not supported yet
105169
9
1588
141
16