[improve] Remove the trak title from the default notification body
This commit is contained in:
parent
76370de8b1
commit
80b047f007
1 changed files with 2 additions and 3 deletions
|
@ -5,13 +5,12 @@ use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
const NOTIFICATION_TIMEOUT: u8 = 5;
|
const NOTIFICATION_TIMEOUT: u8 = 5;
|
||||||
const NOTIFICATION_BODY: &str =
|
const NOTIFICATION_BODY: &str =
|
||||||
"<b>Playing:</b> {title} \n <b>album:</b> {album} \n <b>Artist:</b> {artist} - {date}";
|
"<b>album:</b> {album} \n <b>Artist:</b> {artist} - {date}";
|
||||||
const NOTIFICATION_SUMMARY: &str = "{title}";
|
const NOTIFICATION_SUMMARY: &str = "{title}";
|
||||||
const NOTIFICATION_APP_NAME: &str = "C* Music Player";
|
const NOTIFICATION_APP_NAME: &str = "C* Music Player";
|
||||||
const DEFAULT_REMOTE_COMMAND: &str = "cmus-remote";
|
const DEFAULT_REMOTE_COMMAND: &str = "cmus-remote";
|
||||||
const DEFAULT_MAX_DEPTH: u8 = 3;
|
const DEFAULT_MAX_DEPTH: u8 = 3;
|
||||||
const DEFAULT_INTERVAL_TIME: u64 = 1000;
|
const DEFAULT_INTERVAL_TIME: u64 = 1000; // 1000 ms
|
||||||
// 1000 ms
|
|
||||||
const DEFAULT_STATUS_CHANGE_NOTIFICATION_BODY: &str = "<b>{status}</b>";
|
const DEFAULT_STATUS_CHANGE_NOTIFICATION_BODY: &str = "<b>{status}</b>";
|
||||||
const DEFAULT_STATUS_CHANGE_NOTIFICATION_SUMMARY: &str = "{title}";
|
const DEFAULT_STATUS_CHANGE_NOTIFICATION_SUMMARY: &str = "{title}";
|
||||||
const DEFAULT_STATUS_CHANGE_NOTIFICATION_TIMEOUT: u8 = 1;
|
const DEFAULT_STATUS_CHANGE_NOTIFICATION_TIMEOUT: u8 = 1;
|
||||||
|
|
Loading…
Reference in a new issue