Skip to content

Commit

Permalink
Merge pull request #71 from mathebox/live-content-hide-progress
Browse files Browse the repository at this point in the history
Hide progress bar for live content
  • Loading branch information
B5r1oJ0A9G authored Sep 29, 2024
2 parents a14f08d + ebfcef5 commit c3079d6
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 c3079d6

Please sign in to comment.