'Save the current queue to disk'

def save(self):

    try:
        with open(VIDEO_DOWNLOAD_QUEUE_FILE, 'w') as f:
            json.dump(self.queue, f)
    except IOError:
        logging.warn('Failed    to    save    video    queue    file.')
