Refactoriser MusicRenderer pour un comportement stateful complet #57
Reference in New Issue
Block a user
No description provided.
Delete Branch "push-rkkrpwtnxvpx"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cette modification refactorise l'architecture pour que chaque
MusicRenderergère son propre thread de surveillance (watcher), au lieu de déléguer le polling auControlPointcentralisé.watcher.rsavecWatchStrategy,WatchedStateet fonctions helperstart_watching()etstop_watching()dansMusicRendererhas_been_seen_now()/mark_as_offline()control_point.rsregistry.rsavec suppression des appels manuelsstart/stop_watching()refresh_device_presence()pour le traitement offline→onlineL'architecture est maintenant plus robuste avec une meilleure encapsulation, cohérence des événements et une gestion automatique du watcher.