def start_video(self, video): self.queue.put(lambda: thread.start_new_thread(self.background_download, (video,))) video['start_pause'].set('Pauze') if video['status'] == 4: video['status'] = 1