You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to figure this out for a while and just realized that it's homebridge-zp causing the problem when I tailed the log. With music playing when I select a sleep timer the track pauses and needs to be restarted. Log looks like this:
[ZP] Office Sonos: current track changed from Yellow Submarine to The Curse Of Comfort
[ZP] Office Sonos: power (play/pause) changed from true to undefined
[ZP] Office Sonos: set power (play/pause) from undefined to false
[ZP] Office Sonos: current track changed from The Curse Of Comfort to undefined
[ZP] Office Sonos: power (play/pause) changed from undefined to false
[ZP] Office Sonos: current track changed from undefined to The Curse Of Comfort
This happens every time I select a sleep timer duration or change the duration.
Thanks for looking into this!
The text was updated successfully, but these errors were encountered:
Thanks for noticing this! I found the same behaviour recently, but hadn't linked it to homebridge-zp. I did change the logic regarding power (play/pause), see #12 (comment), maybe introducing this behaviour. I'll definitely have a look.
Setting sleep timer causes an AVTransport event with TransportState nor
CurrentTrackMetaData, so we should initialise on and track to current
settings.
I've been trying to figure this out for a while and just realized that it's homebridge-zp causing the problem when I tailed the log. With music playing when I select a sleep timer the track pauses and needs to be restarted. Log looks like this:
[ZP] Office Sonos: current track changed from Yellow Submarine to The Curse Of Comfort
[ZP] Office Sonos: power (play/pause) changed from true to undefined
[ZP] Office Sonos: set power (play/pause) from undefined to false
[ZP] Office Sonos: current track changed from The Curse Of Comfort to undefined
[ZP] Office Sonos: power (play/pause) changed from undefined to false
[ZP] Office Sonos: current track changed from undefined to The Curse Of Comfort
This happens every time I select a sleep timer duration or change the duration.
Thanks for looking into this!
The text was updated successfully, but these errors were encountered: