Quodlibet publishes duration information as decimal with fractional part.

This commit is contained in:
Tomasz Miąsko 2017-01-23 15:14:28 +01:00
parent ca3b5eee3c
commit 3dfdc20272
1 changed files with 1 additions and 1 deletions

View File

@ -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):