def update_entry(self, entry: TimeshiftPlayerStream): entry.timeshift_delay = self.timeshift_delay.data entry.timeshift_dir = self.timeshift_dir.data return super(TimeshiftPlayerStreamForm, self).update_entry(entry)
def make_timeshift_player_stream(self) -> TimeshiftPlayerStream: return TimeshiftPlayerStream.make_stream(self._settings)
def make_entry(self): return self.update_entry(TimeshiftPlayerStream())