platypush/plugins/music/mpd/__init__.py
def play_if_paused_or_stopped(self):
        """ Play only if it's paused or stopped """

        status = self.status().output['state']
        if status == 'pause' or status == 'stop':
            return self._exec('play')
 Play only if it's paused or stopped 
Play only if it's paused or stopped
Play only if it ' s paused or stopped
def play_if_paused_or_stopped(self):
        status = self.status().output['state']
        if status == 'pause' or status == 'stop':
            return self._exec('play')
def play_if_paused_or_stopped ( self ) : status = self . status ( ) . output [ 'state' ] if status == 'pause' or status == 'stop' : return self . _exec ( 'play' )
Play only if it's paused or stopped
Play only if it ' s paused or stopped
""" Play only if it's paused or stopped """
self