aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 48f7970..863a7e5 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -83,6 +83,10 @@ changing that component. The ones that generalise:
- **`PwObjectTracker` is not optional.** Node properties only stay current
while something binds the node; without it the volume reads once and goes
stale.
+- **`PwNode.isSink` reads true for a playback stream.** Firefox playing
+ audio is `isStream` and `isSink`, so `isStream && !isSink` finds no apps.
+ Match `type === PwNodeType.AudioOutStream`. A node's `properties` are empty
+ until it is bound, so read `application.name` only under a tracker.
- **playerctld publishes a duplicate of every MPRIS player** under its own bus
name. Filter by `dbusName`, not by identity.
- **Key events reach a focused item, not a window.** Setting