integrated local series into playlist

This commit is contained in:
euzu
2025-12-19 16:00:02 +01:00
parent aa4463b632
commit a2effbeb3f
10 changed files with 24 additions and 22 deletions
+1 -1
View File
@@ -1146,7 +1146,7 @@ pub async fn local_stream_response(
fn is_path_within_allowed_directories(sub_path: &Path, root_paths: &[String]) -> bool {
for root_path in root_paths {
if sub_path.starts_with(&PathBuf::from(root_path)) {
if sub_path.starts_with(PathBuf::from(root_path)) {
return true;
}
}