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!

Tutorial Collection for Xtream Codes Panel Commands

GEO File Problem Fix

Code:
wget https://github.com/azsenca/XtreamUI/raw/master/GeoLite2.mmdb -O /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && chmod 0555 /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
 
hello very interesting me who have trouble with linux and command
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Does anybody know restart special stream (stream id) command for XC 1.6?
For example add restart command in CRONTAB every 12h for special stream?
 
GEO File Problem Fix

Code:
wget https://github.com/azsenca/XtreamUI/raw/master/GeoLite2.mmdb -O /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && chmod 0555 /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb

when is the occasion needed?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
I did not understand give me an example
if you still have official XC v2 you will see after time (when cron try to update geoip file) file GeoLite2.mmdb is 0k because xtream website down so with this command you will update back geoip file and give permission not to overwrite again.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
GEO File Problem Fix

Code:
wget https://github.com/azsenca/XtreamUI/raw/master/GeoLite2.mmdb -O /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && chmod 0555 /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
FOR INFORMATION is good
 
API Start/Stop Streams/vods / View Online/Offline Streams

Code:
apt install curl -y

  • View Server List
    Perform this request, to view all your servers, main & load balancers including their status

    http://your_dns:port/api.php?action=server&sub=list

    Code:
    ex: curl "http://127.0.0.1:80/api.php?action=server&sub=list"
  • View Online Streams
    Perform this request, to view only the online Live Streams

    http://your_dns:port/api.php?action=stream&sub=online
    Code:
    ex: curl "http://127.0.0.1:80/api.php?action=stream&sub=online"
  • View Offline Streams
    Perform this request, to view only the Offline Live Streams

    http://your_dns:port/api.php?action=server&sub=offline
    Code:
    ex: curl "http://127.0.0.1:80/api.php?action=server&sub=offline"
  • Start/Restart A Stream
    Perform this request, to start or restart a Live Stream. The last argument is an array in which you can specify the stream ids. It works with POST method as well.

    http://your_dns:port/api.php?action=stream&sub=start&stream_ids[]=1
  • Code:
    ex: curl "http://127.0.0.1:80/api.php?action=stream&sub=start&stream_ids[]=51"
  • Stop A Stream
    Perform this request, to stop a Live Stream. The last argument is an array in which you can specify the stream ids. It works with POST method as well.

    http://your_dns:port/api.php?action=stream&sub=stop&stream_ids[]=1
    Code:
    ex: curl "http://127.0.0.1:80/pi.php?action=stream&sub=stop&stream_ids[]=557"
  • Start VOD Encoding (Applies for series episodes as well )
  • Perform this request, to start a VOD Encoding process. The last argument is an array in which you can specify the stream ids. It works with POST method as well.

    http://your_dns:port/api.php?action=vod&sub=start&stream_ids[]=1
    Code:
    ex: curl "http://127.0.0.1:80/api.php?action=vod&sub=start&stream_ids[]=554"
  • Stop A VOD Encoding
    Perform this request, to stop a VOD Encoding. The last argument is an array in which you can specify the stream ids. It works with POST method as well.

    http://your_dns:port/api.php?action=vod=stop&stream_ids[]=1
Code:
ex: curl "http://127.0.0.1:80/api.php?action=vod=stop&stream_ids[]=555
tried this on my v1 panel all i get is [i} 24530.... numbers and nothing happens.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
API Start/Stop Streams/vods / View Online/Offline Streams

Code:
apt install curl -y

  • View Server List
    Perform this request, to view all your servers, main & load balancers including their status

    http://your_dns:port/api.php?action=server&sub=list

    Code:
    ex: curl "http://127.0.0.1:80/api.php?action=server&sub=list"
  • View Online Streams
    Perform this request, to view only the online Live Streams

    http://your_dns:port/api.php?action=stream&sub=online
    Code:
    ex: curl "http://127.0.0.1:80/api.php?action=stream&sub=online"
  • View Offline Streams
    Perform this request, to view only the Offline Live Streams

    http://your_dns:port/api.php?action=server&sub=offline
    Code:
    ex: curl "http://127.0.0.1:80/api.php?action=server&sub=offline"
  • Start/Restart A Stream
    Perform this request, to start or restart a Live Stream. The last argument is an array in which you can specify the stream ids. It works with POST method as well.

    http://your_dns:port/api.php?action=stream&sub=start&stream_ids[]=1
  • Code:
    ex: curl "http://127.0.0.1:80/api.php?action=stream&sub=start&stream_ids[]=51"
  • Stop A Stream
    Perform this request, to stop a Live Stream. The last argument is an array in which you can specify the stream ids. It works with POST method as well.

    http://your_dns:port/api.php?action=stream&sub=stop&stream_ids[]=1
    Code:
    ex: curl "http://127.0.0.1:80/pi.php?action=stream&sub=stop&stream_ids[]=557"
  • Start VOD Encoding (Applies for series episodes as well )
  • Perform this request, to start a VOD Encoding process. The last argument is an array in which you can specify the stream ids. It works with POST method as well.

    http://your_dns:port/api.php?action=vod&sub=start&stream_ids[]=1
    Code:
    ex: curl "http://127.0.0.1:80/api.php?action=vod&sub=start&stream_ids[]=554"
  • Stop A VOD Encoding
    Perform this request, to stop a VOD Encoding. The last argument is an array in which you can specify the stream ids. It works with POST method as well.

    http://your_dns:port/api.php?action=vod=stop&stream_ids[]=1
Code:
ex: curl "http://127.0.0.1:80/api.php?action=vod=stop&stream_ids[]=555

i am getting
api.php is currepted , do you know a fix to that ?
 
TODAY I GOT :

{"result":false,"0":"KEY WRONG"}
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top