|
|
@ -271,7 +271,12 @@ return screen:new { |
|
|
|
end_time:set { text = format_time(playback.position:get()) } |
|
|
|
end_time:set { text = format_time(playback.position:get()) } |
|
|
|
end |
|
|
|
end |
|
|
|
title:set { text = track.title } |
|
|
|
title:set { text = track.title } |
|
|
|
|
|
|
|
if track.album then |
|
|
|
album:set { text = string.sub(track.album, 1, 58) } |
|
|
|
album:set { text = string.sub(track.album, 1, 58) } |
|
|
|
|
|
|
|
album:clear_flag(lvgl.FLAG.HIDDEN) |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
album:add_flag(lvgl.FLAG.HIDDEN) |
|
|
|
|
|
|
|
end |
|
|
|
artist:set { text = track.artist } |
|
|
|
artist:set { text = track.artist } |
|
|
|
end), |
|
|
|
end), |
|
|
|
queue.position:bind(function(pos) |
|
|
|
queue.position:bind(function(pos) |
|
|
|