def dequeue(self, even_tight=False): """ Clears the queued music. If the first item in the queue has not been started, then it is left in the queue unless all is given. """ self.queue = self.queue[:self.keep_queue] self.loop = [ ] if not pcm_ok: return if self.keep_queue == 0: pss.dequeue(self.number, even_tight)
def dequeue(self, even_tight=False): """ Clears the queued music. If the first item in the queue has not been started, then it is left in the queue unless all is given. """ self.queue = self.queue[:self.keep_queue] self.loop = [] if not pcm_ok: return if self.keep_queue == 0: pss.dequeue(self.number, even_tight)