Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!
Resource icon

Download Offline Streams Checker Script MPD Panel v2/v3 v1

Register & Get access to index
Simple Python Script that check for offline streams and restart them
basically, the script will loop on every channel by ID, and check the live stream ( support hls for the moment ), and if the streams return invalid code, it will request a restart query for that channel by its ID.

  • FOR Panel V2 : if you don't want some channels to be online, you have to delete them as the script will run them everytime they are offline, or edit the script to bypass the channel by its ID
  • FOR Panel V3: the script will loop on every provider to load all channels inside it, and it scan if an offline stream it will request a Restart command, for better performance, keep only the providers that you load channels inside it.
you have to edit the following PARAMS in the script with the IP and PORT of your panel, and which version you use:
Python:
URL = "127.0.0.1:8989"
MPD_PANEL = "v3"

Give execution permission to the Script :
chmod +x checker.py

you can use crontab to run the script every 1 minute for example ( better to set it for 1 minute or more ) :
*/1 * * * * /usr/bin/python3 /PATH_TO_SCRIPT/checker.py
(if you have huge number of channels on your panel, better to set more than 1 minute in crontab job to run the script, as it will take more time to scan and perform actions on all channels.)

Regards.

Latest reviews

Excellent tool. Finally
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top