'Returns a transcript dictionary for the video.'

def get_transcripts_info(self, is_bumper=False):

    if is_bumper:
        transcripts = copy.deepcopy(get_bumper_settings(self).get('transcripts', {}))
        sub = transcripts.pop('en', '')
    else:
        transcripts = (self.transcripts if self.transcripts else {})
        sub = self.sub
    transcripts = {language_code: transcript_file for (language_code, transcript_file) in transcripts.items() if (transcript_file != '')}
    return {'sub': sub, 'transcripts': transcripts}
