Skip to content

[Feature]: Create dummy epg from parsing channel name #293

@mwongj

Description

@mwongj

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:
    1. Name - Unique identifier for the advanced EPG
    2. Source Type - Add "Stream Title"
    3. Title Regex - Regex to extract the program title
    4. Time Regex - Regex to extract the program time
    5. Source Time Format - Time format for parsing
    6. Output Time Format - Time format for displaying
    7. Source Timezone - Source timezone
    8. Output Timezone - Output timezone (if different)
    9. Date Regex - Regex to extract the program air date
    10. Date Format - Date format for parsing
    11. 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
    1. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: EPGElectronic Program GuideAvailable In DevThis is fixed/available in the dev branch and will be included in the next release.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions