dnpwwo / Domoticz-Google-Plugin

MIT License
40 stars 10 forks source link

Chromecast Groups broken in last version #6

Closed sledgemhammer closed 5 years ago

sledgemhammer commented 5 years ago

Just updated to 1.13.1 : It seems in my case now the groups are not connected ... After 6 minutes suddenly connected to the groups. This is al during streaming, during pause and during idle (tested all) After random time the groups get disconnected again and minutes later it resolves again. There is no connection problem when connecting the group from google home when reported disconnected, also tunein and spotify can start streaming to the group when reported disconnected. (Never seen this with the previous versions.)

Platform win10
Version: 4.10548 Build Hash: 3f713ad4 Compile Date: 2019-03-14 12:11:35 dzVents Version: 2.4.15 Python Version: 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 15:51:26) [MSC v.1900 32 bit (Intel)]

Log file : 2019-04-01 19:55:01.970 Status: (CC) Boven is now: CONNECTING 2019-04-01 19:55:03.001 Status: (CC) Alles is now: FAILED 2019-04-01 19:55:03.001 Status: (CC) Boven is now: FAILED 2019-04-01 19:55:08.016 Status: (CC) Alles is now: CONNECTING 2019-04-01 19:55:08.032 Status: (CC) Boven is now: CONNECTING 2019-04-01 19:55:09.048 Status: (CC) Alles is now: FAILED 2019-04-01 19:55:09.063 Status: (CC) Boven is now: FAILED 2019-04-01 19:55:14.063 Status: (CC) Alles is now: CONNECTING 2019-04-01 19:55:14.079 Status: (CC) Boven is now: CONNECTING 2019-04-01 19:55:15.094 Status: (CC) Alles is now: FAILED 2019-04-01 19:55:15.110 Status: (CC) Boven is now: FAILED .... 2019-04-01 20:06:04.736 Status: (CC) Boven is now: CONNECTING 2019-04-01 20:06:04.783 Status: (CC) Boven is now: CONNECTED 2019-04-01 20:00:28.642 Status: (CC) Alles is now: CONNECTING 2019-04-01 20:00:28.689 Status: (CC) Alles is now: CONNECTED

dnpwwo commented 5 years ago

I think I have found out what is causing this.

It appears that sometimes the group 'elected leader' changes and the library does not handle that too well. There is a new discovery message sent though so I should be able to fix it pretty quickly now I know what the problem is.

dnpwwo commented 5 years ago

Version 1.16.13 resolves this issue