Commit Graph

7 Commits

Author SHA1 Message Date
Lorenzo Gaggini f37566b0af [mpd] Add playing progress percentage (#80) 2019-03-16 08:38:52 +07:00
Lorenzo Gaggini 60c57e8a41 [mpd] More math.floor for format progress fix 2019-03-15 21:36:52 +07:00
Juan Carlos Menonita bb74db1835 [mpd] Use math.floor when formatting song progress (#75)
This ensure compatibility with Lua 5.3
2019-03-04 10:23:23 +07:00
Jörg Thalheim d11703d589 move format_progress to mpd module
The function is not used by any other module and is only really useful
for formatting durations as exposed by mpd.
2018-12-15 00:10:38 +07:00
Nguyễn Gia Phong e84be352c5 Make mpd widget type expose more info
By default, format time values in [hh:]mm:ss. Also use printf instead of
echo, which is shell-specific.
2018-12-15 00:10:38 +07:00
Nguyễn Gia Phong 065bd1d009 Remove manual XML entities escape in widgets 2018-10-22 21:42:31 +07:00
mutlusun 5b30e432e6
move mpd widget to match new layout 2017-01-26 10:40:37 +01:00