def saveEDL(self): assert self.edlFileName assert self.edl is not None self.edl.normalize(timedelta(milliseconds=self.ui.player.totalTime())) pyedl.dump(self.edl, open(self.edlFileName, "w")) self.edlChanged(dirty=False)
def on_save(self, button): self.edl.normalize(timedelta(seconds=self.duration / Gst.SECOND)) pyedl.dump(self.edl, open(self.edlfile, "w"))