Closed patmead closed 10 months ago
@patmead Interesting. I'll need to troubleshoot this one a little bit. The go-chromecast library that I use to communicate with devices sometimes panics when closing connections, which should be fine because CastSponsorSkip has a logic to recover from these. For some reason, it seems like the panic is causing CastSponsorSkip to fail to remove the device from the list of active connections, so it never tries to reconnect. This logic shouldn't ever be skipped, so I'm not sure what's causing the issue yet.
I'll keep you posted on a fix!
Ah I believe I see the issue. When it tries to reconnect, some of the device identifiers get reset, causing it to never be removed.
@patmead Just released v0.6.1 which includes a fix for this! Reconnections are working again on my end. Would you mind verifying?
Looks good on my end too - thanks @gabe565!
CastSponsorSkip works perfectly the first time the TV is turned on, but after the TV is turned off CastSponsorSkip is unable to reconnect again until the systemd service has been restarted,
Config:
Logs: