fluidd-core / fluidd

Fluidd, the klipper UI.
https://docs.fluidd.xyz
GNU General Public License v3.0
1.37k stars 421 forks source link

fix: reset camera on change #1159

Closed pedrolamas closed 1 year ago

pedrolamas commented 1 year ago

When changing between two cameras of the same type, the control is reused and as such, playback is never reset (so it keeps using the previous camera URLs)

This PR fixes it by monitoring the camera property and ensuring that playback is reset when it changes.

Fixes #1158