summaryrefslogtreecommitdiff
path: root/lua/browser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/browser.lua')
-rw-r--r--lua/browser.lua4
1 files changed, 3 insertions, 1 deletions
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