crabidy/cbd-tui
Test User bbebee0b4f cbd-tui: no empty parentheses in the now-playing notification
`Album.release_date` is an optional proto field and most providers never
set it, so the notification body read "album ()" for nearly every track:
the parentheses were part of the format string rather than of the date.

Move the body into `notification_body`, where the parentheses belong to
the date and an absent one (unset or empty, since prost's accessor
returns "" for both) simply drops them, and cover the three shapes with
tests.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 08:15:17 +02:00
..
src cbd-tui: no empty parentheses in the now-playing notification 2026-07-28 08:15:17 +02:00
tests cbd-tui: speak MPRIS, so the media keys reach the server 2026-07-28 01:27:28 +02:00
Cargo.lock Add cbd-tui 2023-05-17 19:08:48 +02:00
Cargo.toml cbd-tui: speak MPRIS, so the media keys reach the server 2026-07-28 01:27:28 +02:00
build.rs Implement the comprehensive CLI (stage 5) 2026-07-22 12:13:51 +02:00
schema.graphql Add cbd-tui 2023-05-17 19:08:48 +02:00