Update notification summary to display title only

This commit is contained in:
Anas Elgarhy 2023-02-20 23:38:21 +02:00
parent d004461209
commit 2d8fc85ba5
No known key found for this signature in database
GPG key ID: 0501802A1D496528

View file

@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};
const NOTIFICATION_TIMEOUT: u8 = 5;
const NOTIFICATION_BODY: &str =
"<b>Playing:</b> {title} \n <b>album:</b> {album} \n <b>Artist:</b> {artist} - {year}";
const NOTIFICATION_SUMMARY: &str = "{artist} - {title}";
const NOTIFICATION_SUMMARY: &str = "{title}";
const NOTIFICATION_APP_NAME: &str = "C* Music Player";
const DEFAULT_MAX_DEPTH: u8 = 3;
const DEFAULT_INTERVAL_TIME: u64 = 1000; // 1000 ms