-
-
Notifications
You must be signed in to change notification settings - Fork 204
[Feature]: Create dummy epg from parsing channel name #293
Description
Is your feature request related to a problem?
As a user when I look at the tv guide for a channel having epg data in the stream title then I want the guide to accurately display the program within defined start/end times
Current implementation
Currently, when setting a channel to use a dummy epg the tv guide displays the channel title in 4hr program segments for an extended period of time. This may have several drawbacks affecting automated recording and a poor user experience understanding when a program is airing.
Examples
- Channel Number 1 : Women's Swimming Press Conference (2025-08-11 11:30:00)
- Channel Number 2 : Bananas @ Apples @ 01:00 PM ET
- Channel Number03: Gladiator - Premiere League : Marcus Attilius vs Spiculus @ 01:15pm
- Channel Number : Mon, 8/11 - Drag Racing (2025-08-11 17:30:00)
Describe the solution you'd like
There are likely many solutions to this particular problem so I will describe one possible MVP:
M3U & EPG Manager
Add an advanced EPG form that enables a user to configure regex for various epg fields that can extract information for a field.
- Add "+ Add Advanced EPG" button
- Create form containing fields for:
- Name - Unique identifier for the advanced EPG
- Source Type - Add "Stream Title"
- Title Regex - Regex to extract the program title
- Time Regex - Regex to extract the program time
- Source Time Format - Time format for parsing
- Output Time Format - Time format for displaying
- Source Timezone - Source timezone
- Output Timezone - Output timezone (if different)
- Date Regex - Regex to extract the program air date
- Date Format - Date format for parsing
- Event Duration - Dropdown: 30 Min, 1 hour, 2 hours, 3 hours, 4 hours, 5 hours, 6 hours
Channels
Add the ability to select an advanced dummy epg to use for a specific channel.
- Update channel edit form
- Similar to selecting a source for EPG, Use Dummy will allow a user to select from "Default" or one of the advanced epg sources added by the user
Additional context
Potential future iterations could improve the user experience such as:
- A button in the channel edit dialogue a user can click to test the regex by rendering the results of the stream title parsing mapped into the corresponding fields
- (Toggle) Remove channel when a regex match is true. Building off the existing feature of automatically removing channels this would behave similarly. For example, when no event is occurring some stream titles will contain the prefix, but no additional information. In that case we can remove the channel.
- Add field to set the Category - String field. User could input (Sports, Movies, Kids, Family, Basketball, etc)