MCPcopy
hub / github.com/csev/py4e / shift

Method shift

lectures/srt-split/pysrt/commands.py:153–155  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

151 return encoding_name
152
153 def shift(self):
154 self.input_file.shift(milliseconds=self.arguments.time_offset)
155 self.input_file.write_into(self.output_file)
156
157 def rate(self):
158 ratio = self.arguments.final / self.arguments.initial

Callers 2

rateMethod · 0.45
splitMethod · 0.45

Calls 1

write_intoMethod · 0.80

Tested by

no test coverage detected