Commit a68fccd8 authored by Philipp Hörist's avatar Philipp Hörist

Merge branch 'quodlibet' into 'master'

Quodlibet publishes duration information as decimal with fractional part.

See merge request !36
parents 9b5ec09c 3dfdc202
...@@ -198,7 +198,7 @@ class MusicTrackListener(GObject.GObject): ...@@ -198,7 +198,7 @@ class MusicTrackListener(GObject.GObject):
info.title = props.get('title', None) info.title = props.get('title', None)
info.album = props.get('album', None) info.album = props.get('album', None)
info.artist = props.get('artist', None) info.artist = props.get('artist', None)
info.duration = int(props.get('~#length', 0)) info.duration = float(props.get('~#length', 0))
return info return info
def get_playing_track(self): 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