summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/playing.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/lua/playing.lua b/lua/playing.lua
index e986273c..a5503c6a 100644
--- a/lua/playing.lua
+++ b/lua/playing.lua
@@ -267,11 +267,15 @@ return screen:new {
scrubber:set { value = pos / track.duration * 100 }
end
end),
+ queue.ready:bind(function(ready)
+ if not ready then
+ title:set { text = "Loading..." }
+ album:set{text=""}
+ artist:set{text=""}
+ end
+ end),
playback.track:bind(function(track)
if not track then
- if queue.loading:get() then
- title:set { text = "Loading..." }
- end
return
end
if track.duration then