def addToQueue(screen): string = queue.convertToVideoString(screen) if string is not None: result = screen.queue.addItem(string) if not result: #TODO: Properly handle error. print("Error adding to queue. Non-unique description") screen.queue.listJobs()
def extractFramesFromVideo(screen): jobdict = queue.convertToVideoString(screen) screen.ffmpeg.extractFrames(jobdict)