Skip to content

Commit

Permalink
[improve] Remove the trak title from the default notification body
Browse files Browse the repository at this point in the history
  • Loading branch information
0x61nas committed Apr 19, 2023
1 parent 76370de commit 80b047f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ 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} - {date}";
"<b>album:</b> {album} \n <b>Artist:</b> {artist} - {date}";
const NOTIFICATION_SUMMARY: &str = "{title}";
const NOTIFICATION_APP_NAME: &str = "C* Music Player";
const DEFAULT_REMOTE_COMMAND: &str = "cmus-remote";
const DEFAULT_MAX_DEPTH: u8 = 3;
const DEFAULT_INTERVAL_TIME: u64 = 1000;
// 1000 ms
const DEFAULT_INTERVAL_TIME: u64 = 1000; // 1000 ms
const DEFAULT_STATUS_CHANGE_NOTIFICATION_BODY: &str = "<b>{status}</b>";
const DEFAULT_STATUS_CHANGE_NOTIFICATION_SUMMARY: &str = "{title}";
const DEFAULT_STATUS_CHANGE_NOTIFICATION_TIMEOUT: u8 = 1;
Expand Down

0 comments on commit 80b047f

Please sign in to comment.