Commit 3dfdc202 authored by Tomasz Miąsko's avatar Tomasz Miąsko

Quodlibet publishes duration information as decimal with fractional part.

parent ca3b5eee
......@@ -198,7 +198,7 @@ class MusicTrackListener(GObject.GObject):
info.title = props.get('title', None)
info.album = props.get('album', None)
info.artist = props.get('artist', None)
info.duration = int(props.get('~#length', 0))
info.duration = float(props.get('~#length', 0))
return info
def get_playing_track(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment