mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Add delay to playback reporting
This commit is contained in:
parent
84f111843c
commit
0ee8a1bd70
1 changed files with 2 additions and 0 deletions
|
@ -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':
|
||||||
|
|
Loading…
Reference in a new issue