Add delay to playback reporting

This commit is contained in:
Matt 2020-06-09 20:12:37 -04:00
parent 84f111843c
commit 0ee8a1bd70

View file

@ -389,6 +389,8 @@ class Monitor(xbmc.Monitor):
elif command == 'SetSubtitleStreamIndex': elif command == 'SetSubtitleStreamIndex':
self.player.set_audio_subs(None, args['Index']) self.player.set_audio_subs(None, args['Index'])
# Kodi needs a bit of time to update it's current status
xbmc.sleep(500)
self.player.report_playback() self.player.report_playback()
elif command == 'DisplayMessage': elif command == 'DisplayMessage':