Skip to content

Commit

Permalink
Actually unpause when stating media (closes #1)
Browse files Browse the repository at this point in the history
That was embarrassing.
  • Loading branch information
oxan committed Dec 31, 2023
1 parent e8ee276 commit 7635bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/mpv/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@ async def async_play_media(self, media_type, media_id, **kwargs):
else:
url = media_id
await self._mpv.command('loadfile', url)
await self._mpv.set_property(MPVProperty.PAUSED, True)
await self._mpv.set_property(MPVProperty.PAUSED, False)

1 comment on commit 7635bcb

@majuss
Copy link

@majuss majuss commented on 7635bcb Jan 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was indeed quite the bug :D

Please sign in to comment.