Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download
Resource icon

Offline Streams Checker Script MPD Panel v2/v3 v1

Register & Get access to index

Attention important note:

Each Resource Author is responsible for the completeness and functionality for its content.
Duplicate existing content will be deleted.
If a link to a resource no longer works, the author will firstly advised to update the link. If after a certain time the link is not updated, the resource will be deleted and the author will be banned for a certain time!

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.
This resource has been reported as working in 0 time(s), and as not-working 0 time(s) this month.
(3 time(s) working and 0 time(s) not-working in total)
Author
Moutamared
Price
100 Credit
Downloads
19
Views
1,078
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest reviews

Excellent tool. Finally
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock