def __do_ytdl_file(self, ctx):
    return ((ctx['live'] is not True) and (ctx['tmpfilename'] != '-') and (not self.params.get('_no_ytdl_file')))
def __do_ytdl_file(self, ctx):
    return ((ctx['live'] is not True) and (ctx['tmpfilename'] != '-') and (not self.params.get('_no_ytdl_file')))