async def resume(self):
        """Resumes playback if paused"""

        self.logger.debug("resume command")

        if not self.state == 'ready':
            return

        if self.streamer is None:
            return

        try:
            if not self.streamer.is_playing():
                play_state = "Streaming" if self.is_live else "Playing"
                self.statuslog.info(play_state)
                self.streamer.resume()

                if self.pause_time is not None:
                    self.vclient_starttime += (self.vclient.loop.time() - self.pause_time)
                self.pause_time = None
        except Exception as e:
            logger.error(e)
            pass
async def resume ( self ) : self . logger . debug ( "resume command" ) if not self . state == 'ready' : return if self . streamer is None : return try : if not self . streamer . is_playing ( ) : play_state = "Streaming" if self . is_live else "Playing" self . statuslog . info ( play_state ) self . streamer . resume ( ) if self . pause_time is not None : self . vclient_starttime += ( self . vclient . loop . time ( ) - self . pause_time ) self . pause_time = None except Exception as e : logger . error ( e ) pass
Resumes playback if paused