I have been working on a M3U/EPG checker that is Channels DVR specific. I could use some help testing and to determine which features need tweaking and which ones need to be added to improve it before I release it. I'll post in here again when I have it ready for testing. Thanks. Here is a rough overview that is based on my understanding of the Channels DVR documentation:
This script is a Dockerized M3U/EPG File Checker designed to help users validate and troubleshoot their M3U playlists and XMLTV EPG (Electronic Program Guide) files, especially for use with Channels DVR.
What it does:
- File Uploads & URL Fetching: Users can either upload their M3U and EPG files directly or provide public URLs for the script to fetch the content.
-
M3U Playlist Analysis: It parses your M3U file to identify issues like:
- Malformed channel entries (e.g., missing stream URLs).
- Missing or duplicate
tvg-id,tvg-name, orgroup-titleattributes. - Potentially non-optimal stream URL formats (not HLS or MPEG-TS, which Channels DVR prefers).
- Excessive channel count that might impact Channels DVR performance.
-
EPG XMLTV Analysis: It checks your EPG file for errors such as:
- Invalid XML structure.
- Missing
channel idor duplicate IDs. - Missing
display-namefor channels. - Incorrect time formats or overlapping program times.
- Missing crucial program details like
title,description,series-id, andepisode-num, which are vital for Channels DVR's DVR features.
-
M3U/EPG Compatibility & Channels DVR Advice: This is a key feature. It cross-references your M3U and EPG data to ensure:
-
tvg-idin M3U accurately matchesidin EPG, which is critical for Channels DVR to link streams to guide data. - It highlights EPG data that has no corresponding M3U channel, and vice-versa.
- It provides general advice and best practices tailored to Channels DVR's requirements and common setup pitfalls, including a note that an external EPG file isn't strictly necessary if your M3U utilizes Gracenote IDs.
-
- User-Friendly Interface: All results are displayed in a clear, categorized format, distinguishing between errors, warnings, and suggestions. Detailed analyses of individual files are collapsible to keep the most important compatibility advice at the forefront.
In short, it acts as a pre-flight checker for your Channels DVR setup, helping you identify and fix common M3U and EPG issues before they cause problems in your DVR.
