updated docu

This commit is contained in:
2026-04-03 15:14:49 +02:00
parent 2572928195
commit b2e8d5fc1b
4 changed files with 97 additions and 41 deletions
+2 -3
View File
@@ -109,9 +109,8 @@ impl MprisDaemon {
info!("Connected to D-Bus for MPRIS monitoring");
// Simple poll loop for MPRIS since players can come and go, and tracking dynamically
// with pure signals across multiple dynamically spawned DBus names is complex.
// A robust hybrid approach: poll every 2s for active players, and update state.
// Periodically poll for the active player and update the MPRIS state.
// This avoids complex dynamic signal tracking across ephemeral player instances.
let dbus_proxy = DBusProxy::new(&connection).await?;