Update notification body to include line break between track and album information

This commit is contained in:
Anas Elgarhy 2023-02-18 14:39:15 +02:00
parent aae9580bce
commit 5c7a8fc694
No known key found for this signature in database
GPG key ID: 0501802A1D496528
2 changed files with 3 additions and 3 deletions

View file

@ -160,13 +160,13 @@ pub fn track_cover(
force_use_external_cover: bool,
no_use_external_cover: bool,
) -> TrackCover {
if !force_use_external_cover {
/*if !force_use_external_cover {
#[cfg(feature = "debug")]
info!("Trying to get the embedded cover of \"{track_path}\".");
if let Ok(Some(cover)) = get_embedded_art(track_path) {
return TrackCover::Embedded(cover);
}
}
}*/
if !no_use_external_cover {
#[cfg(feature = "debug")]

View file

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