hls stream generation fix

This commit is contained in:
euzu
2025-10-15 16:05:54 +02:00
parent c491232a4d
commit 90d78b1bb4
6 changed files with 76 additions and 7 deletions
+5
View File
@@ -69,6 +69,11 @@ pub fn rewrite_hls(user: &ProxyUserCredentials, props: &RewriteHlsProps) -> Stri
let password = &user.password;
let mut result = Vec::new();
for line in props.content.lines() {
if line.trim().is_empty() {
continue;
}
// skip comments
if line.starts_with('#') {
let rewritten = rewrite_uri_attrib(line, props);