Skip to content

Commit

Permalink
Fix default MPD time format (#841)
Browse files Browse the repository at this point in the history
Change the default value of the `time_format` setting in the mpd module
so that it matches the default value used by `TimeWrapper`.

This fixes a bug where the seconds weren't displaying correctly due to a
typo.

Before: `02:MS`
After:  `2:06`
  • Loading branch information
adralioh authored May 16, 2022
1 parent 9088796 commit 29f78b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i3pystatus/mpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class MPD(IntervalModule):
color_map = {}
max_field_len = 25
max_len = 100
time_format = "%M:MS"
time_format = "%m:%S"
truncate_fields = ("title", "album", "artist", "album_artist")
hide_inactive = False
on_leftclick = "switch_playpause"
Expand Down

0 comments on commit 29f78b3

Please sign in to comment.