Hello i had test to thing here in forum but not run
i had test this post
PHP Script to Controll your streams and download m3u File and Start and Stop
Current Functionality
Code:
unzip and upload the folder "XC" to /home/xtreamcodes/iptv_xtream_codes/wwwdir/
chmod all the php files inside 777
edit dbconnect.php and enter your sql password
edit the restartstream.php and change $mainserverip to your broadcast port (127.0.0.1:8000)
edit the stopstream.php and change $mainserverip to your broadcast port (127.0.0.1:8000)
edit submit.php and change the 2 entries YOURDNSORT to your external IP or DNS and port
you can now access the links in your browser;
To Start/Stop stream
http://YOURDNSORT/XC/editstreamnew.php
To download an m3u
http://YOURDNSORT/XC/getm3u.php
and become this info
Red Offline
Green Online
Blue Ondemand
----------------
Notice: Trying to get property of non-object in /home/xtreamcodes/iptv_xtream_codes/wwwdir/XC/editstreamnew.php on line 129
#################################################################################################
And his post i had tested
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
and here i become this warning
Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 22
Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 51
Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 51
Warning: mysqli::query(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 51 Notice: Trying to get property of non-object in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 52
Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 72
Warning: mysqli::query(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 72 Notice: Trying to get property of non-object in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 73 Source doesn't exist.
so pls help me to fix it
;-)
i had test this post
PHP Script to Controll your streams and download m3u File and Start and Stop
Current Functionality
- Start / stop existing stream.
Code:
unzip and upload the folder "XC" to /home/xtreamcodes/iptv_xtream_codes/wwwdir/
chmod all the php files inside 777
edit dbconnect.php and enter your sql password
edit the restartstream.php and change $mainserverip to your broadcast port (127.0.0.1:8000)
edit the stopstream.php and change $mainserverip to your broadcast port (127.0.0.1:8000)
edit submit.php and change the 2 entries YOURDNSORT to your external IP or DNS and port
you can now access the links in your browser;
To Start/Stop stream
http://YOURDNSORT/XC/editstreamnew.php
To download an m3u
http://YOURDNSORT/XC/getm3u.php
and become this info
Red Offline
Green Online
Blue Ondemand
----------------
Notice: Trying to get property of non-object in /home/xtreamcodes/iptv_xtream_codes/wwwdir/XC/editstreamnew.php on line 129
#################################################################################################
And his post i had tested
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.
- 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_SERVERORT/includes/restart_stream.php?auth=PASSWORD&id=STREAM_ID
- 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.
- 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.
- Run the script to restart a stream. No changes to the database required.
- 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.
and here i become this warning
Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 22
Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 51
Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 51
Warning: mysqli::query(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 51 Notice: Trying to get property of non-object in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 52
Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 72
Warning: mysqli::query(): Couldn't fetch mysqli in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 72 Notice: Trying to get property of non-object in /home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/restart_stream.php on line 73 Source doesn't exist.
so pls help me to fix it
;-)