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
{{ message }}
Repository navigation
All remote instances share one module-level event emitter #43
area: coreTouches core library / runtime source codepriority: highNeeds attention soon — not blocking, but don't let it sitstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: bugSomething is broken or not behaving as expected
src/lib/android-tv-remote.mjs creates its event emitter once, at module scope. Every remote returned by createRemote() therefore shares it. With two TVs, listeners on one remote get the other remote's events (connect, disconnect, key and error events), and removing listeners on one affects the other.
Create one emitter per remote instance, inside createRemote(), and route all emit/on/off through it. Add a test that creates two remotes, emits on one, and asserts the other's listener doesn't fire. Instances must be independent without opening real connections.
area: coreTouches core library / runtime source codepriority: highNeeds attention soon — not blocking, but don't let it sitstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: bugSomething is broken or not behaving as expected
Activity
cldmv-bot commentedon Oct 4, 2026
Marked
status: implemented— resolved by #46, merged intonext. This issue closes automatically when that work ships to the default branch.release: v2.1.8 - restore npm run setup-device on the v2 remote API
release: v2.1.8 - restore npm run setup-device on the v2 remote API