Merge branch 'quodlibet' into 'master'
Quodlibet publishes duration information as decimal with fractional part. See merge request !36
This commit is contained in:
commit
a68fccd8f3
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue