From ba22b3dae99da47ef8234361013091ab42a554e6 Mon Sep 17 00:00:00 2001 From: Amanda Stjerna Date: Sat, 17 May 2025 13:15:53 +0200 Subject: Add an icon for partially played long-form content The icon is the pause icon in a circle. Closes: #376 --- lua/browser.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lua/browser.lua') diff --git a/lua/browser.lua b/lua/browser.lua index 264db0c5..479cb620 100644 --- a/lua/browser.lua +++ b/lua/browser.lua @@ -110,7 +110,9 @@ return screen:new { if not track then return end if (track.play_count > 0) then return img.listened - else + elseif track.saved_position > 0 then + return img.partially_listened + else return img.unlistened end end -- cgit v1.2.3