Fixed HLS segment URI regex to match full Owncast shortid character set.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 14s
CI / Tests (Python 3.13) (push) Successful in 14s
CI / Tests (Python 3.14) (push) Successful in 11s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 7s

This commit is contained in:
2026-04-13 13:18:01 -04:00
parent d3e3460ce8
commit b68c717845
+1 -1
View File
@@ -38,7 +38,7 @@ if TYPE_CHECKING:
import logging
from collections.abc import AsyncIterator
_SEGMENT_URI_RE = re.compile(r"stream-([A-Za-z0-9]+)-(\d+)\.(ts|m4s)$")
_SEGMENT_URI_RE = re.compile(r"stream-([A-Za-z0-9_-]+)-(\d+)\.(ts|m4s)$")
_MAX_RETRIES = 10
_RETRY_DELAY = 3.0