Due to Xtream Codes going down, I'd imagine a lot of people wanting to migrate to the cracked Xtream Codes 1.6 panel. Doing this will remove the player_api.php functionality as it was not implemented until 2.x, so I've written a quick and dirty wrapper to replicate the functionality. It's a start, with more to be implemented later. Currently the WHMCS Web TV Player works as well as the GSE IPTV android app. Many more android apps want to work too, but some reason why I'm trying to figure that out.
In addition to this, if people decide to stay on 2x, I've written a quick wrapper to allow continuation of service during the Xtream Codes downtime by giving panel admins the ability to restart their broken streams with new sources, or create new streams and run them. You still have to have some database knowledge as it requires going into the database and amending the `stream_source`, or creating a new stream in the `streams` table. The PHP files' only purpose at the moment is to force Xtream Codes to analyse the new source, and restart the stream accordingly. Or start the new stream if it can't find it in the database.
I've tested it with my panel that I installed today, as it turns out the license server is completely down so it's possible to install it without a license check. I then added users manually, as well as bouquet's etc, then added a stream and played around with the database until I got XC to start the stream finally. Then I wrote this wrapper to automate that part of the process.
From here I'm going to write an admin panel that will list all current streams, bouquets etc, and allow editing from a user interface. Thought I'd throw this out here now though so people can continue service until the admin interface is complete or someone else brings something to the table.
XTREAM CODES 2.x
Current Functionality
URL: gtaman92/XtreamCodes2API
XTREAM CODES 1.6x
Replacing panel_api.php is optional, it's just slightly different in 2.0x. Nginx config replacement is necessary to allow CORS on web player.
FEATURES
Files available at: gtaman92 / XtreamCodesExtendAPI
Source: gtaman92 / https://www.digital-eliteboard.com/...tart-streams-on-2x-player-api-on-1-6x.481061/
In addition to this, if people decide to stay on 2x, I've written a quick wrapper to allow continuation of service during the Xtream Codes downtime by giving panel admins the ability to restart their broken streams with new sources, or create new streams and run them. You still have to have some database knowledge as it requires going into the database and amending the `stream_source`, or creating a new stream in the `streams` table. The PHP files' only purpose at the moment is to force Xtream Codes to analyse the new source, and restart the stream accordingly. Or start the new stream if it can't find it in the database.
I've tested it with my panel that I installed today, as it turns out the license server is completely down so it's possible to install it without a license check. I then added users manually, as well as bouquet's etc, then added a stream and played around with the database until I got XC to start the stream finally. Then I wrote this wrapper to automate that part of the process.
From here I'm going to write an admin panel that will list all current streams, bouquets etc, and allow editing from a user interface. Thought I'd throw this out here now though so people can continue service until the admin interface is complete or someone else brings something to the table.
XTREAM CODES 2.x
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
ORT/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.
URL: gtaman92/XtreamCodes2API
XTREAM CODES 1.6x
Replacing panel_api.php is optional, it's just slightly different in 2.0x. Nginx config replacement is necessary to allow CORS on web player.
FEATURES
- Decoded Xtream Codes 2x API backported to 1.6x
- Live TV, EPG and VOD functionality reimplemented
- CORS implementation in NGINX
- No TV Series support in 1.6x
- No catchup support in 1.6x
- Implement TV Series support manually
- Just extract the files to / home / xtreamcodes / iptv_xtream_codes and overwrite. Backup your old files!
Files available at: gtaman92 / XtreamCodesExtendAPI
Source: gtaman92 / https://www.digital-eliteboard.com/...tart-streams-on-2x-player-api-on-1-6x.481061/