fixed mistype in song_length formatter

This commit is contained in:
Andrey Astafyev 2017-02-04 08:23:16 +03:00 committed by enkore
parent 883ff41e60
commit b7324eed6a

View File

@ -160,7 +160,7 @@ https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html
"title": currentsong.get("xesam:title", ""),
"album": currentsong.get("xesam:album", ""),
"artist": ", ".join(currentsong.get("xesam:artist", "")),
"oong_length": TimeWrapper((currentsong.get("mpris:length") or
"song_length": TimeWrapper((currentsong.get("mpris:length") or
0) / 1000 ** 2),
"song_elapsed": TimeWrapper((get_prop("Position") or 0) /
1000 ** 2),