Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get offset properly even when it's only 1 or 2 digit #135

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

fireattack
Copy link
Contributor

The old way cannot properly process the following m3u8 (which I encountered):

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:5
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-START:TIME-OFFSET=0.0
#STREAM-DURATION:4440.021
#CURRENT-POSITION:0.042
#DMC-STREAM-DURATION:4440.021
#DMC-CURRENT-POSITION:0.042
#EXTINF:5.0,
42.ts?start=0.0&start_time=-572297465604&ht2_nicolive=4346020.0w4ty0ecip_sk25ag_7iacp11ig15q
#EXTINF:5.0,
5042.ts?start=0.0&start_time=-572297465604&ht2_nicolive=4346020.0w4ty0ecip_sk25ag_7iacp11ig15q
#EXTINF:5.0,
10042.ts?start=0.0&start_time=-572297465604&ht2_nicolive=4346020.0w4ty0ecip_sk25ag_7iacp11ig15q
#EXTINF:5.0,
15042.ts?start=0.0&start_time=-572297465604&ht2_nicolive=4346020.0w4ty0ecip_sk25ag_7iacp11ig15q
#EXTINF:5.0,
20042.ts?start=0.0&start_time=-572297465604&ht2_nicolive=4346020.0w4ty0ecip_sk25ag_7iacp11ig15q
#EXTINF:5.0,
25042.ts?start=0.0&start_time=-572297465604&ht2_nicolive=4346020.0w4ty0ecip_sk25ag_7iacp11ig15q

@Last-Order
Copy link
Owner

Thanks.

@Last-Order Last-Order merged commit 4748920 into Last-Order:master Sep 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants