summaryrefslogtreecommitdiff
path: root/mpd.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-24 08:44:08 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-24 14:54:17 +0200
commit791c000791726a396cc6bd7e4b033e3678b57193 (patch)
treecb0759e051e322ff9ed302b84aab3d724a617128 /mpd.c
parentc0119027b1f3b8caeab8db6f90edfc096725333f (diff)
downloadnncmpp-791c000791726a396cc6bd7e4b033e3678b57193.tar.gz
nncmpp-791c000791726a396cc6bd7e4b033e3678b57193.tar.xz
nncmpp-791c000791726a396cc6bd7e4b033e3678b57193.zip
Use '-' instead of '?' for unknown duration
It is less distracting. Also use mpd_read_time() and load "duration" as well. This value isn't rounded to whole seconds, so we load it before "time" as a fail-safe measure.
Diffstat (limited to 'mpd.c')
0 files changed, 0 insertions, 0 deletions