From 9c7b292949604dd39ef94a2c40c5b816e70d46ad Mon Sep 17 00:00:00 2001 From: euzu Date: Sun, 4 Jan 2026 16:27:59 +0100 Subject: [PATCH] Fixed EPG titles to match renamed / mapped titles --- backend/src/processing/parser/xmltv.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/src/processing/parser/xmltv.rs b/backend/src/processing/parser/xmltv.rs index e9c32eb9c..2e060452c 100644 --- a/backend/src/processing/parser/xmltv.rs +++ b/backend/src/processing/parser/xmltv.rs @@ -392,9 +392,7 @@ where } else if !stack.is_empty() { let tag_arc = Arc::new(tag); if let Some(mut parent) = stack.pop() { - let mut children = parent.children.take().unwrap_or_default(); - children.push(tag_arc); - parent.children = Some(children); + parent.children.get_or_insert_with(Vec::new).push(tag_arc); stack.push(parent); } }