fixed mistype in song_length formatter
This commit is contained in:
parent
883ff41e60
commit
b7324eed6a
@ -160,7 +160,7 @@ https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html
|
|||||||
"title": currentsong.get("xesam:title", ""),
|
"title": currentsong.get("xesam:title", ""),
|
||||||
"album": currentsong.get("xesam:album", ""),
|
"album": currentsong.get("xesam:album", ""),
|
||||||
"artist": ", ".join(currentsong.get("xesam:artist", "")),
|
"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),
|
0) / 1000 ** 2),
|
||||||
"song_elapsed": TimeWrapper((get_prop("Position") or 0) /
|
"song_elapsed": TimeWrapper((get_prop("Position") or 0) /
|
||||||
1000 ** 2),
|
1000 ** 2),
|
||||||
|
Loading…
Reference in New Issue
Block a user