code: def clear_queue(self, stop=False):
          
  
          directive = {}
          directive['type'] = 'AudioPlayer.ClearQueue'
          if stop:
              directive['clearBehavior'] = 'CLEAR_ALL'
          else:
              directive['clearBehavior'] = 'CLEAR_ENQUEUED'
  
          self._response['directives'].append(directive)
          return self
docs: Clears queued streams and optionally stops current stream.
  
          Keyword Arguments:
              stop {bool}  set True to stop current current stream and clear queued streams.
                  set False to clear queued streams and allow current stream to finish
                  default: {False}