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!

M3U Playlist Tiny URL Generator

maundy

Extended Member
Ext. Member
Joined
Sep 22, 2019
Messages
5
Reaction score
42
Points
21
Location
uk
M3U Playlist TINY URL generator

Enter your service DNS (line 34)
Enter http Port (line 35)
Enter Tiny API Key (line 38)

Create web accessible file with .php extension containing the following code
In browser open http://your_created_file.php
Enter M3U Username and Password and hit create

After submitting the form you will be presented with 2 unique short urls
1st is the tiny playlist url
2nd is the tiny epg xml url

I hope you find this useful and saves you time with things like siptv app

Create a free api key at tinyurl


<!DOCTYPE html>
<html lang="en">
<head>
<title>TINY GENERATOR</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<style>
body {
background: url(https://cdn.cnn.com/cnnnext/dam/ass...ile-background-stock---no-photo-super-169.jpg) no-repeat center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-size: 100% 100%;
font-family: Orbitron, sans-serif;
}
</style>
</ Head>
<BODY>
</ Br> </ br> </ br>
<Center>
<div class = "container-fluid"> </br> </br>
<h2> <em> M3U PLAYLIST TINY GENERATOR '13em> </h2> </br>
<div class = "row">
<div class = "col-md-8 offset-2">
<div class = "alert alert-dark">
<? php if (! empty ($ _ POST)):

/////////////////////////////////
$ url = "SERVER DNS"; // Enter your server URL
$ port = "SERVER PORT"; // Enter your server PORT
$ username = $ _POST ['username'];
$ password = $ _POST ['password'];
$ tinyapi = "TINY-API-KEY"; // Enter Your TINY API CODE
//////////////////////////////


// TINY URL CREATOR - PLAYLIST //
$ playlist = "http: // $ url: $ port / get.php? username = $ username & password = $ password & type = m3u_plus & output = ts";

$ playlistcurl = curl_init ();
$ playlistpost_data = array ('format' => 'text',
'apikey' => "$ tinyapi",
'provider' => 'tinyurl_com',
'url' => $ playlist);
$ playlistapi_url = 'http://tiny-url.info/api/v1/create';
curl_setopt ($ playlistcurl, CURLOPT_URL, $ playlistapi_url);
curl_setopt ($ playlistcurl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ playlistcurl, CURLOPT_POST, 1);
curl_setopt ($ playlistcurl, CURLOPT_POSTFIELDS, $ playlistpost_data);
$ playlistresult = curl_exec ($ playlistcurl);
curl_close ($ playlistcurl);
// END TINY URL CREATOR - PLAYLIST //

// TINY URL CREATOR - EPG //
$ epgxml = "http: // $ url: $ port / xmltv.php? username = $ username & password = $ password";

$ epgcurl = curl_init ();
$ epgpost_data = array ('format' => 'text',
'apikey' => "$ tinyapi",
'provider' => 'tinyurl_com',
'url' => $ epgxml);
$ epgapi_url = 'http://tiny-url.info/api/v1/create';
curl_setopt ($ epgcurl, CURLOPT_URL, $ epgapi_url);
curl_setopt ($ epgcurl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ epgcurl, CURLOPT_POST, 1);
curl_setopt ($ epgcurl, CURLOPT_POSTFIELDS, $ epgpost_data);
$ epgresult = curl_exec ($ epgcurl);
curl_close ($ epgcurl);

// END TINY URL CREATION SCRIPTS //

?>
<p> PLAYLIST URL: </br>
<input type = "text" value = "<? php print" $ playlistresult ";>> id =" playlist "style =" width: 300px; "> & nbsp; & nbsp; -sm "onclick =" myFunction1 () "> COPY </button>
</ Br> </ br>
EPG XML URL: </br>
<input type = "text" value = "<? php print" $ epgresult ";?>" id = "epg" style = "width: 300px;"> & nbsp; & nbsp; -sm "onclick =" myFunction2 () "> COPY </button> </p>

<a href="/" class="btn btn-primary btn-sm" role="button"> BACK </a>
<? php else:?>

<form action = <? php echo htmlspecialchars ($ _ SERVER ["PHP_SELF"])); ?> method = "post">

<div class = "row">
<div class = "col-md-4 offset-1">
<div class = "form-group">
<p> <strong> M3U USERNAME: </strong> </p>
<input type = "text" class = "form-control" id = "username" placeholder = "Username" name = "username">
</ Div>
</ Div>
<div class = "col-md-4">
<div class = "form-group">
<p> <strong> M3U PASSWORD: </strong> </p>
<input type = "text" class = "form-control" id = "password" placeholder = "password" name = "password">
</ Div>
</ Div>
<div class = "col-md-2">

<div class = "form-group">
<p> <strong> MAKE TINY: </strong> </p>
<button type = "submit" class = "btn btn-primary btn-block"> CREATEl </button>
</ Div>
</ Div>
</ Div>
</ Form>
<? php endif; ?>
<Script>
function myFunction1 () {
var copyText = document.getElementById ("playlist");
copytext.select ();
copyText.setSelectionRange (0, 99999)
document.execcommand ( "copy");
alert ("COPIED THE TINY PLAYLIST URL: \ n" + copyText.value);
}
function myFunction2 () {
var copyText = document.getElementById ("epg");
copytext.select ();
copyText.setSelectionRange (0, 99999)
document.execcommand ( "copy");
alert ("COPIED THE TINY EPG XML URL: \ n" + copyText.value);
}
</ Script>

</ Body>
</ Html>
 
very nice and usefull
 
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
How to create a free API key in tinyurl?
I've tried and not
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top