mirror of
https://github.com/Viren070/MediaFusion.git
synced 2025-12-01 23:21:11 +01:00
DLHD: Fix sport category detection
This commit is contained in:
@@ -430,6 +430,8 @@ class DLHDScheduleService:
|
||||
self._category_max_times = {}
|
||||
|
||||
for sport, events in sports.items():
|
||||
# cleanup sport name
|
||||
sport = sport.replace("</span>", "")
|
||||
mapped_category = self.category_map.get(sport, "Other Sports")
|
||||
for event in events:
|
||||
metadata = self.create_event_metadata(
|
||||
|
||||
Reference in New Issue
Block a user