From c88f056289040533b692fdf0e7cd06d2988e5c92 Mon Sep 17 00:00:00 2001 From: salmonik Date: Fri, 8 May 2026 00:55:52 +0200 Subject: Add desktop notifications for track changes, queue end, and errors Uses notify-rust to send D-Bus desktop notifications from the daemon when tracks change, the queue empties, or audio errors occur. --- AGENTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 6782574..4ec9a5a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,6 +32,7 @@ Run these before completing any task: - Pause/resume uses cpal stream `pause()`/`play()` methods - **Scrobbling changes**: Update Last.fm/ListenBrainz client implementation - **Config/Settings changes**: Update config schema, `rsp settings` subcommands, and scan interval/auto-scan logic +- **Notification changes**: Update `notify-rust` dependency in Cargo.toml if needed; notification functions are in `src/notification.rs`; notification call sites are in `src/daemon.rs` (track events) and `src/audio.rs` (error events) ## Completed Features - [x] Unix socket daemon IPC @@ -49,9 +50,9 @@ Run these before completing any task: - [x] `rsp settings` subcommands (get/set/list/unset) - [x] Shell completions (`rsp completions bash|zsh|fish|powershell|elvish`) - [x] Unit tests for Player, Track, and ShuffleMode +- [x] Desktop notifications for track changes, queue end, and errors ## Remaining Work - Queue state persistence to disk - Album shuffle mode with proper album/folder grouping - Scrobbling (Last.fm/ListenBrainz) -- Systemd service unit \ No newline at end of file -- cgit v1.2.3