mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Allow Kodi live streams to be recognized as paused (#14623)
This commit is contained in:
parent
39843a73de
commit
1d23f7f900
@ -393,7 +393,7 @@ class KodiDevice(MediaPlayerDevice):
|
||||
if not self._players:
|
||||
return STATE_IDLE
|
||||
|
||||
if self._properties['speed'] == 0 and not self._properties['live']:
|
||||
if self._properties['speed'] == 0:
|
||||
return STATE_PAUSED
|
||||
|
||||
return STATE_PLAYING
|
||||
|
Loading…
x
Reference in New Issue
Block a user