Skip to content

Commit

Permalink
Allow Kodi live streams to be recognized as paused (#14623)
Browse files Browse the repository at this point in the history
  • Loading branch information
quthla authored and lwis committed Jun 4, 2018
1 parent 39843a7 commit 1d23f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/media_player/kodi.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def state(self):
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
Expand Down

0 comments on commit 1d23f7f

Please sign in to comment.