From 60decb4499beb5322a47d51b91fae5a9714f6926 Mon Sep 17 00:00:00 2001 From: cwj3rcb Date: Mon, 16 Feb 2026 17:15:03 -0600 Subject: [PATCH] added download emoji for music --- src/main.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 265fe84..abe4565 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2799,13 +2799,14 @@ fn is_in_progress_fast(it: &core::jellyfin::JfItem) -> bool { } fn emoji_prefix_for(app: &App, it: &core::jellyfin::JfItem) -> String { - // Keep your existing behavior: no emojis for music items (optional). - // If you DO want 💾 for music too, remove this early return. + // Music: show only the local-download indicator (💾) and never show played/in-progress. + // Everything else keeps the existing behavior (💾 + ✅/🟠). + let downloaded = is_downloaded(app, it); + if is_music_item(it) { - return String::new(); + return if downloaded { "💾 ".to_string() } else { String::new() }; } - let downloaded = is_downloaded(app, it); let played = is_played(it); let inprog = is_in_progress_fast(it);