This Python script helps manage IPTV streams by checking their status in an M3U playlist file. It uses ffprobe
to verify whether each stream is online or offline. As it processes the streams, the script provides real-time feedback, displaying offline streams immediately. At the end of the check, a summary of all offline streams is displayed.
Additionally, the script offers the functionality to disable offline streams by commenting them out in the M3U file for future reference. It also automatically skips streams with specific channel names (e.g., "✦●✦"
). This tool is ideal for users who want to efficiently monitor and maintain their IPTV playlists, ensuring that only active streams are available.
To run the script, you'll need the following dependencies: