forked from platypush/platypush
Position is expressed in milliseconds on mopidy websocket, convert to seconds
This commit is contained in:
parent
27e4ea5b5b
commit
7c817ba0c6
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class MusicMopidyBackend(Backend):
|
|||
self.bus.post(MuteChangeEvent(mute=status['mute'],
|
||||
status=status, track=track))
|
||||
elif event == 'seeked':
|
||||
status['position'] = msg.get('time_position')
|
||||
status['position'] = msg.get('time_position')/1000
|
||||
self.bus.post(SeekChangeEvent(position=status['position'],
|
||||
status=status, track=track))
|
||||
elif event == 'tracklist_changed':
|
||||
|
|
Loading…
Reference in a new issue