mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Allow Kodi live streams to be recognized as paused (#14623)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user