mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
Merge pull request #1559 from ZyX-I/fix-1550
Use proper dictionary for getting “elapsed” value in mpd bindings
This commit is contained in:
commit
38ce0e73c8
@ -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