fixed some hls streaming issues,

added 2 more custom video stream reponse resources
This commit is contained in:
euzu
2025-03-16 17:08:00 +01:00
parent 1fc8acb565
commit 8ee354449f
31 changed files with 399 additions and 253 deletions
+1 -3
View File
@@ -170,8 +170,6 @@ mod tests {
use std::collections::HashSet;
use std::io;
use std::path::PathBuf;
use std::rc::Rc;
use crate::model::xmltv::{TVGuide};
#[test]
@@ -181,7 +179,7 @@ mod tests {
let tv_guide = TVGuide { file: PathBuf::from(file_path) };
let channel_ids = vec!["channel.1", "channel.2", "channel.3"];
let channel_ids : HashSet<Arc<String>> = channel_ids.into_iter().map(|s| Arc::new(s.to_string())).collect();
let channel_ids : HashSet<String> = channel_ids.into_iter().map(|s| s.to_string()).collect();
match tv_guide.filter(&channel_ids) {
None => assert!(false, "No epg filtered"),