mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +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:
|
if not self._players:
|
||||||
return STATE_IDLE
|
return STATE_IDLE
|
||||||
|
|
||||||
if self._properties['speed'] == 0 and not self._properties['live']:
|
if self._properties['speed'] == 0:
|
||||||
return STATE_PAUSED
|
return STATE_PAUSED
|
||||||
|
|
||||||
return STATE_PLAYING
|
return STATE_PLAYING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user