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

PHP Script to manage your streams after XC Downtime [XC2 API ]

salvatete

Banned
Banned
Ext. Member
Joined
Sep 25, 2019
Messages
56
Reaction score
127
Points
44
Location
spain
Hello guys
i just found a script allow you to start, stop, restart streams or create new streams
it's not a big deal, but it's much better than nothing

Current Functionality

  • Restart existing stream.
  • Start new stream.
How to Use
  • Place the php file here: /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php
  • Edit the MySQL connection details and authorisation password in the php file. Save it.
  • Run the script: http://IPADDRESS_SERVER:pORT/includes/restart_stream.php?auth=PASSWORD&id=STREAM_ID
Create a Stream
  • Enter the MySQL database.
  • Create a new stream under the streams table.
  • Add the stream_id to the relevant bouquet in the bouquets table.
  • Run the script to analyse the stream and start it.
Change a Stream Source
  • Enter the MySQL database.
  • Find your stream in the streams table.
  • Edit the stream_source column with your new sources. List format, URL encoded. E.g. ["http://website.com/source.m3u8"]
  • Run the script to analyse the stream and restart it with the new sources.
Restart a Stream
  • Run the script to restart a stream. No changes to the database required.
Future Plans
  • Full Admin UI interface. Either written from scratch or ported from Xtream Codes 1.6x.
  • Full stream control (create, restart, stop, delete, ban, unban).
  • Full user control, bouquet management, mag users, enigma, timeshift, settings etc.
File Link with explaination : gtaman92/XtreamCodes2API

Cheers.

Attachments

edit by redhat: Linking to other Forums is Forbidden ! If you don’t want get banned here, read the Rules before !
 
Last edited by a moderator:
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