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

Import (convert) Xtream Codes v1.0.60 DB in to Xtream Codes v2.9.3 (Xtream-UI) DB

redhat

Administrator
Staff member
Administrator
Chief Moderator
Moderator
Joined
Jun 19, 2019
Messages
3,074
Reaction score
14,825
Points
134
Location
root[@]woi
Dear Members,

if you are planing to change from Xtream Codes v1.0.60 to Xtream Codes v2.9.3 (Xtream-UI) so you need also import your Database.
So here is solution how can do it. But please note that maybe there some missed Tables.


The changes will do in following tables:
- bouquets
- mag_devices
- packages
- reg_users
- streams
- stream_categories
- users

How to use it:
  1. On your Main Server where is Xtream Codes v2.9.3 (Xtream-UI) is already install phpmyadmin
  2. Very IMPORTANT: Take Backup of your current Xtream Codes v2.9.3 (Xtream-UI) Database
  3. Create a new Database from phpmyadmin, name it for example "xtream_iptvpro_v16"
  4. Import your Xtream Codes v1.0.60 Database-Backup in to the new created Database "xtream_iptvpro_v16"
  5. Run following SQL queries:
Bash:
DELETE FROM xtream_iptvpro.`bouquets`;
DELETE FROM xtream_iptvpro.`mag_devices`;
DELETE FROM xtream_iptvpro.`packages`;
DELETE FROM xtream_iptvpro.`reg_users`;
DELETE FROM xtream_iptvpro.`streams`;
DELETE FROM xtream_iptvpro.`stream_categories`;
DELETE FROM xtream_iptvpro.`users`;

INSERT INTO xtream_iptvpro.`bouquets` (id, bouquet_name, bouquet_channels, bouquet_series)
SELECT id, bouquet_name, bouquet_channels, '[]'  FROM xtream_iptvpro_v16.`bouquets`;

INSERT INTO xtream_iptvpro.`mag_devices`
SELECT *, '', 'fit', 0, 'metric', '', 0 FROM xtream_iptvpro_v16.`mag_devices`;

INSERT INTO xtream_iptvpro.`packages`
SELECT *, 1, 0, 0, 0, 0, '', 0 FROM xtream_iptvpro_v16.`packages`;

INSERT INTO xtream_iptvpro.`reg_users`
SELECT *, '', 0, NULL, ''  FROM xtream_iptvpro_v16.`reg_users`;

INSERT INTO xtream_iptvpro.`streams`
SELECT
`id`,`type`,`category_id`,`stream_display_name`,`stream_source`,`stream_icon`,`notes`,`created_channel_location`,`enable_transcode`,`transcode_attributes`,`custom_ffmpeg`,`movie_propeties`,`movie_subtitles`,`read_native`,`target_container_id`,`stream_all`,`remove_subtitles`,`custom_sid`,`epg_id`,`channel_id`,`epg_lang`,`order`,`auto_restart`,`transcode_profile_id`,`pids_create_channel`,'',1,`added`,
0,0,0,0,0,0,0,0,0,0,128000,'','',0
FROM xtream_iptvpro_v16.`streams`;

INSERT INTO xtream_iptvpro.`stream_categories`
SELECT *, 0, 0 FROM xtream_iptvpro_v16.`stream_categories`;

INSERT INTO xtream_iptvpro.`users`
SELECT
`id`,`member_id`,`username`,`password`,`exp_date`,`admin_enabled`,`enabled`,`admin_notes`,`reseller_notes`,`bouquet`,`max_connections`,`is_restreamer`,`allowed_ips`,`allowed_ua`,`is_trial`,`created_at`,`created_by`,`pair_id`,`is_mag`,0,`force_server_id`,`is_isplock`,`as_number`,`isp_desc`,`forced_country`,`is_stalker`,0,''
FROM xtream_iptvpro_v16.`users`;

Login to you Panel and check for and issues, You have assign your streams to your Servers (Loadbalancers) manually.

It would be fine, if you try it out and left your comments.
 
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 @changglobize
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 @changglobize
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 @changglobize
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

kami4u

Extended Member
Ext. Member
Joined
Oct 20, 2019
Messages
26
Reaction score
15
Points
19
Location
uk
Dear Members,

if you are planing to change from Xtream Codes v1.0.60 to Xtream Codes v2.9.3 (Xtream-UI) so you need also import your Database.
So here is solution how can do it. But please note that maybe there some missed Tables.


The changes will do in following tables:
- bouquets
- mag_devices
- packages
- reg_users
- streams
- stream_categories
- users

How to use it:
  1. On your Main Server where is Xtream Codes v2.9.3 (Xtream-UI) is already install phpmyadmin
  2. Very IMPORTANT: Take Backup of your current Xtream Codes v2.9.3 (Xtream-UI) Database
  3. Create a new Database from phpmyadmin, name it for example "xtream_iptvpro_v16"
  4. Import your Xtream Codes v1.0.60 Database-Backup in to the new created Database "xtream_iptvpro_v16"
  5. Run following SQL queries:
Bash:
DELETE FROM xtream_iptvpro.`bouquets`;
DELETE FROM xtream_iptvpro.`mag_devices`;
DELETE FROM xtream_iptvpro.`packages`;
DELETE FROM xtream_iptvpro.`reg_users`;
DELETE FROM xtream_iptvpro.`streams`;
DELETE FROM xtream_iptvpro.`stream_categories`;
DELETE FROM xtream_iptvpro.`users`;

INSERT INTO xtream_iptvpro.`bouquets` (id, bouquet_name, bouquet_channels, bouquet_series)
SELECT id, bouquet_name, bouquet_channels, '[]'  FROM xtream_iptvpro_v16.`bouquets`;

INSERT INTO xtream_iptvpro.`mag_devices`
SELECT *, '', 'fit', 0, 'metric', '', 0 FROM xtream_iptvpro_v16.`mag_devices`;

INSERT INTO xtream_iptvpro.`packages`
SELECT *, 1, 0, 0, 0, 0, '', 0 FROM xtream_iptvpro_v16.`packages`;

INSERT INTO xtream_iptvpro.`reg_users`
SELECT *, '', 0, NULL, ''  FROM xtream_iptvpro_v16.`reg_users`;

INSERT INTO xtream_iptvpro.`streams`
SELECT
`id`,`type`,`category_id`,`stream_display_name`,`stream_source`,`stream_icon`,`notes`,`created_channel_location`,`enable_transcode`,`transcode_attributes`,`custom_ffmpeg`,`movie_propeties`,`movie_subtitles`,`read_native`,`target_container_id`,`stream_all`,`remove_subtitles`,`custom_sid`,`epg_id`,`channel_id`,`epg_lang`,`order`,`auto_restart`,`transcode_profile_id`,`pids_create_channel`,'',1,`added`,
0,0,0,0,0,0,0,0,0,0,128000,'','',0
FROM xtream_iptvpro_v16.`streams`;

INSERT INTO xtream_iptvpro.`stream_categories`
SELECT *, 0, 0 FROM xtream_iptvpro_v16.`stream_categories`;

INSERT INTO xtream_iptvpro.`users`
SELECT
`id`,`member_id`,`username`,`password`,`exp_date`,`admin_enabled`,`enabled`,`admin_notes`,`reseller_notes`,`bouquet`,`max_connections`,`is_restreamer`,`allowed_ips`,`allowed_ua`,`is_trial`,`created_at`,`created_by`,`pair_id`,`is_mag`,0,`force_server_id`,`is_isplock`,`as_number`,`isp_desc`,`forced_country`,`is_stalker`,0,''
FROM xtream_iptvpro_v16.`users`;

Login to you Panel and check for and issues, You have assign your streams to your Servers (Loadbalancers) manually.

It would be fine, if you try it out and left your comments.

Thanks for helpful informaion about xtream code thanks admin
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

naskimother

Extended Member
Ext. Member
Joined
Oct 29, 2019
Messages
1
Reaction score
2
Points
11
Location
nMpwqX7XbHTyvH5
Hi,
Everything else was working fine but not a movie database, instead of gating .mp4 on playlist I'm gating .1 The only way is to recreate the movie than fix the extension to .mp4.
Please check if you have any solution for that.

Thank You
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

stefki

Extended Member
Ext. Member
Joined
Nov 26, 2019
Messages
6
Reaction score
15
Points
14
Location
MKD
@redhat can you please check the reg_users table with latest Xtrem UI 22B , I can't import this table
it says error

ERROR 1136 (21S01): Column count doesn't match value count at row 1


INSERT INTO xtream_iptvpro.`reg_users`
SELECT *, '', 0, NULL, '' FROM xtream_iptvpro_v16.`reg_users`;

All other tables are nicely imported :)


tnx
 
Last edited:

hazeki34

Banned
Banned
Ext. Member
Joined
Feb 3, 2020
Messages
8
Reaction score
2
Points
14
Location
turkey
Hello friends,

can you help me from xtream-codes 1.0.44 to xtream-ui import db ?

thank you
 
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