Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • src/music_track_listener.py
    ... ... @@ -198,7 +198,7 @@ class MusicTrackListener(GObject.GObject):
    198 198
             info.title = props.get('title', None)
    
    199 199
             info.album = props.get('album', None)
    
    200 200
             info.artist = props.get('artist', None)
    
    201
    -        info.duration = int(props.get('~#length', 0))
    
    201
    +        info.duration = float(props.get('~#length', 0))
    
    202 202
             return info
    
    203 203
     
    
    204 204
         def get_playing_track(self):