diff --git a/devine/core/tracks/chapters.py b/devine/core/tracks/chapters.py index 9b2a32a..5a2aeb0 100644 --- a/devine/core/tracks/chapters.py +++ b/devine/core/tracks/chapters.py @@ -10,8 +10,8 @@ from sortedcontainers import SortedKeyList from devine.core.tracks import Chapter -OGM_SIMPLE_LINE_1_FORMAT = re.compile(r"^CHAPTER(?P\d+)=(?P[\d\\.]+)$") -OGM_SIMPLE_LINE_2_FORMAT = re.compile(r"^CHAPTER(?P\d+)NAME=(?P[\d\\.]+)$") +OGM_SIMPLE_LINE_1_FORMAT = re.compile(r"^CHAPTER(?P\d+)=(?P\d{2,}:\d{2}:\d{2}\.\d{3})$") +OGM_SIMPLE_LINE_2_FORMAT = re.compile(r"^CHAPTER(?P\d+)NAME=(?P.*)$") class Chapters(SortedKeyList, ABC):