in gym_recording/playback.py [0:0]
def get_recorded_episodes(self, batch):
batch_fn = os.path.join(self.directory, batch['fn'])
batch_f = open(batch_fn, 'r')
batch_d = json.load(batch_f, object_hook=self.json_decode)
batch_f.close()
return batch_d['episodes']