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

Change M3U file code, is this possible?

sc0tsman

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
655
Reaction score
826
Points
104
Location
spain
I am hoping to migrate from iptvpanel.net to XC-UI but for a seamless transition is it possible to change XC-UI to the same file name as iptvpanel.net format to save my clients all the hassle?


XC-UI CODE
http://SERVER:pORT/get.php?username=USER&password=PASS&type=m3u&output=mpegts

Is it possible to change the file name to my existing panels code

http://SERVER:pORT/playlist.m3u?type=m3u&deviceUser=USER&devicePass=PASS

Thank you in advance.
 

Gh0stSnipu

Extended Member
Ext. Member
Joined
Mar 30, 2020
Messages
39
Reaction score
39
Points
29
Location
Finland
I think you need to ask that current provider to add somekinda parser/modifier which just flips those around. If cant, then i think there is only manually make it.
 

sc0tsman

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
655
Reaction score
826
Points
104
Location
spain
Thank you. It is my panel but my old code (from iptvpanel.net) is not compatible with xc-ui
 
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

Gh0stSnipu

Extended Member
Ext. Member
Joined
Mar 30, 2020
Messages
39
Reaction score
39
Points
29
Location
Finland
Thank you. It is my panel but my old code (from iptvpanel.net) is not compatible with xc-ui
yes i see that :) few other dear fellow has been this same problem and atm no solution, unless someone wanna make basic text fixer/parser/modifier with bulkoption. So you add
http://SERVER:pORT/get.php?username=USER&password=PASS&type=m3u&output=mpegts
and then
http://SERVER:pORT/playlist.m3u?type=m3u&deviceUser=USER&devicePass=PASS

and app would change what is necesarry to do with lines. But hard to tell what i mean extacly, i hope you got the idea tho.
 

sc0tsman

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
655
Reaction score
826
Points
104
Location
spain
yes i see that :) few other dear fellow has been this same problem and atm no solution, unless someone wanna make basic text fixer/parser/modifier with bulkoption. So you add
http://SERVER:pORT/get.php?username=USER&password=PASS&type=m3u&output=mpegts
and then
http://SERVER:pORT/playlist.m3u?type=m3u&deviceUser=USER&devicePass=PASS

and app would change what is necesarry to do with lines. But hard to tell what i mean extacly, i hope you got the idea tho.

Thank you, hopefully one of the brighter kids in here can find a solution (no offense)
 
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

evoactivity

Extended Member
Ext. Member
Joined
Jan 18, 2020
Messages
72
Reaction score
712
Points
94
Location
Liverpool
Just add a rewrite to your sever. Any requests for get.php rewrite it to playlist.php and change the query string.
I worry for all you "iptv admins" when y'all can't do simple server work.

Search for nginx rewrite (assuming you use nginx)
 

sc0tsman

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
655
Reaction score
826
Points
104
Location
spain
Just add a rewrite to your sever. Any requests for get.php rewrite it to playlist.php and change the query string.
I worry for all you "iptv admins" when y'all can't do simple server work.

Search for nginx rewrite (assuming you use nginx)
Many thanks. Apologies for my inferior knowledge.
 
Last edited:

sc0tsman

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
655
Reaction score
826
Points
104
Location
spain
Just add a rewrite to your sever. Any requests for get.php rewrite it to playlist.php and change the query string.
I worry for all you "iptv admins" when y'all can't do simple server work.

Search for nginx rewrite (assuming you use nginx)

I am still none the wiser after searching sorry

Could you provide a helpful command for...


PHP:
Xtream-UI CODE

http://SERVER:PORT/get.php?username=USER&password=PASS&type=m3u&output=mpegts



Is it possible to change the file name to my existing panels code



http://SERVER:PORT/playlist.m3u?type=m3u&deviceUser=USER&devicePass=PASS

Thank you in advance.
 
Last edited by a moderator:
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

evoactivity

Extended Member
Ext. Member
Joined
Jan 18, 2020
Messages
72
Reaction score
712
Points
94
Location
Liverpool
I am still none the wiser after searching sorry

Could you provide a helpful command for...

PHP:
Xtream-UI CODE
http://SERVER:PORT/get.php?username=USER&password=PASS&type=m3u&output=mpegts

Is it possible to change the file name to my existing panels code
http://SERVER:PORT/playlist.m3u?type=m3u&deviceUser=USER&devicePass=PASS

Thank you in advance.

Edit your nginx conf and add the following rewrite

rewrite ^get\.php\?username=(\w+)\&password=(\w+)\&type=(\w+)&output=(\w+)$ playlist.m3u?type=$3&deviceUser=$1&devicePass=$2 last;

Then any request to your server for http://SERVER:PORT/get.php?username=USER&password=PASS&type=m3u&output=mpegts will send the contents of http://SERVER:PORT/playlist.m3u?type=m3u&deviceUser=USER&devicePass=PASS

This should keep the change transparent for your users, if you find this doesn't work, then you can modify the regex yourself. I've given you a start, challenge yourself ;)
 

sc0tsman

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
655
Reaction score
826
Points
104
Location
spain
I tried the following to no avail...
Edit your nginx conf and add the following rewrite

rewrite ^get\.php\?username=(\w+)\&password=(\w+)\&type=(\w+)&output=(\w+)$ playlist.m3u?type=$3&deviceUser=$1&devicePass=$2 last;

Then any request to your server for http://SERVER:PORT/get.php?username=USER&password=PASS&type=m3u&output=mpegts will send the contents of http://SERVER:PORT/playlist.m3u?type=m3u&deviceUser=USER&devicePass=PASS

This should keep the change transparent for your users, if you find this doesn't work, then you can modify the regex yourself. I've given you a start, challenge yourself ;)


Many, many thanks unfortunately it didn't work.
 
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

sc0tsman

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
655
Reaction score
826
Points
104
Location
spain
Show me your nginx config

PHP:
root@vps785812:~# sudo nano /etc/nginx/nginx.conf
  GNU nano 2.9.3                /etc/nginx/nginx.conf

#       # pop3_capabilities "TOP" "USER";
#       # imap_capabilities "IMAP4rev1" "UIDPLUS";
#
#       server {
#               listen     localhost:110;
#               protocol   pop3;
#               proxy      on;
#       }
#
#       server {
#               listen     localhost:143;
#               protocol   imap;
#               proxy      on;
#       }
#}
rewrite ^get\.php\?username=(\w+)\&password=(\w+)\&type=(\w+)&output=(\w+)$ playlist.m3u?type=$3&deviceUser=$1&devicePass=$2 last;
 
Last edited:
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

Euro-iptv

Extended Member
Ext. Member
Joined
Sep 27, 2019
Messages
71
Reaction score
180
Points
44
Location
12345678
Edit your nginx conf and add the following rewrite

rewrite ^get\.php\?username=(\w+)\&password=(\w+)\&type=(\w+)&output=(\w+)$ playlist.m3u?type=$3&deviceUser=$1&devicePass=$2 last;

Then any request to your server for http://SERVER:PORT/get.php?username=USER&password=PASS&type=m3u&output=mpegts will send the contents of http://SERVER:PORT/playlist.m3u?type=m3u&deviceUser=USER&devicePass=PASS

This should keep the change transparent for your users, if you find this doesn't work, then you can modify the regex yourself. I've given you a start, challenge yourself ;)
Brother your Help is very nice n perfect, but I think he moved his clients from fulliptv panel or from iptvpanel.net. to xtream UI
all his clients have account with playlist.m3u... he need that if someone open old panel link its move to Xutram-UI account m3u..
mean he need playlist.m3u to get.php your this code not work with him because its for get.php to playlist.m3u
 
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

Znuff

Extended Member
Ext. Member
Joined
Mar 7, 2020
Messages
11
Reaction score
21
Points
14
Location
Romania
Not with you. Sorry.

well, excuse me for trying to help you out -- are you putting the rewrite rule in the wrong section of the config file

but hey, good luck figuring it out by yourself if it's not "with me".
 

sc0tsman

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
655
Reaction score
826
Points
104
Location
spain
well, excuse me for trying to help you out -- are you putting the rewrite rule in the wrong section of the config file

but hey, good luck figuring it out by yourself if it's not "with me".
Sorry I think my reply perhaps got lost in translation. "not with you" means I don't understand exactly what you meant.

I truly appreciate everyone's superior knowledge on here and meant no disrespect in my comments.
 
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