@_check_player_is_active<EOL><INDENT>def play_pause(self):<DEDENT>
self._player_interface.PlayPause()<EOL>self._is_playing = not self._is_playing<EOL>if self._is_playing:<EOL><INDENT>self.playEvent(self)<EOL><DEDENT>else:<EOL><INDENT>self.pauseEvent(self)<EOL><DEDENT>
Pause playback if currently playing, otherwise start playing if currently paused.