summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvalosoitin/Valosoitin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/valosoitin/Valosoitin.py b/valosoitin/Valosoitin.py
index 6a6bde4..d1f9360 100755
--- a/valosoitin/Valosoitin.py
+++ b/valosoitin/Valosoitin.py
@@ -616,7 +616,8 @@ class Valosoitin(object):
616 "mpris:trackid": dbus.String(f), 616 "mpris:trackid": dbus.String(f),
617 "xesam:title": dbus.String(titles), 617 "xesam:title": dbus.String(titles),
618 "xesam:artist": dbus.Array(artists, signature="s"), 618 "xesam:artist": dbus.Array(artists, signature="s"),
619 "xesam:album": dbus.String(albums) 619 "xesam:album": dbus.String(albums),
620 "mpris:length": player.play_length * 1000000,
620 }, signature="sv") 621 }, signature="sv")
621 622
622 self.dbo.playerprops["Metadata"] = metadata 623 self.dbo.playerprops["Metadata"] = metadata