We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969de0f commit a5bc124Copy full SHA for a5bc124
iiify/resolver.py
@@ -881,8 +881,8 @@ def create_vtt_stream(identifier):
881
if "-->" in line:
882
splitline = line.split("-->")
883
starttime = timeToDelta(splitline[0].strip()) + timedelta(seconds=start)
884
- endtime = timeToDelta(splitline[0].strip()) + timedelta(seconds=start)
885
- line = f"{formatTimeVTT(starttime)} -> {formatTimeVTT(endtime)}"
+ endtime = timeToDelta(splitline[1].strip()) + timedelta(seconds=start)
+ line = f"{formatTimeVTT(starttime)} --> {formatTimeVTT(endtime)}"
886
887
vtt_content.append(line)
888
0 commit comments