mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-12-01 12:31:45 +00:00
Work around VTT files using single-digit hours (#7915)
This commit is contained in:
@ -19,7 +19,7 @@ import de.danoeh.antennapod.model.feed.TranscriptSegment;
|
||||
|
||||
public class VttTranscriptParser {
|
||||
private static final Pattern TIMESTAMP_PATTERN =
|
||||
Pattern.compile("^(?:([0-9]{2}):)?([0-9]{2}):([0-9]{2})\\.([0-9]{3})$");
|
||||
Pattern.compile("^(?:([0-9]{1,2}):)?([0-9]{2}):([0-9]{2})\\.([0-9]{3})$");
|
||||
|
||||
private static final Pattern VOICE_SPAN =
|
||||
Pattern.compile("<v(?:\\.[^\\t\\n\\r &<>.]+)*[ \\t]([^\\n\\r&>]+)>");
|
||||
|
||||
Reference in New Issue
Block a user