Skip to content

Commit

Permalink
Hide progress bar for live content
Browse files Browse the repository at this point in the history
  • Loading branch information
mathebox committed Sep 11, 2024
1 parent 786cd54 commit ebfcef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/teufel_raumfeld/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def is_volume_muted(self):
@property
def media_duration(self):
"""Duration of current playing media in seconds."""
return self._media_duration
return self._media_duration if self._media_duration else None

@property
def media_position(self):
Expand Down

0 comments on commit ebfcef5

Please sign in to comment.