mirror of
https://github.com/powerline/powerline.git
synced 2025-07-24 14:25:21 +02:00
Use proper dictionary for getting “elapsed” value in mpd bindings
Fixes #1550
This commit is contained in:
parent
a44c9a8ec9
commit
dc14421fdb
@ -208,7 +208,7 @@ class MpdPlayerSegment(PlayerSegment):
|
||||
'album': now_playing.get('album'),
|
||||
'artist': now_playing.get('artist'),
|
||||
'title': now_playing.get('title'),
|
||||
'elapsed': _convert_seconds(now_playing.get('elapsed', 0)),
|
||||
'elapsed': _convert_seconds(status.get('elapsed', 0)),
|
||||
'total': _convert_seconds(now_playing.get('time', 0)),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user