-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCL_Live_Stream.php
More file actions
53 lines (43 loc) Β· 2.66 KB
/
CL_Live_Stream.php
File metadata and controls
53 lines (43 loc) Β· 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/*
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| For More Modules Or Updates Stay Connected to Kodi dot AL |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββ
β Product β Youtube HLS Stream Extractor β
β Version β v2.2.2-DEV Multi β
β Provider β https://www.youtube.com β
β Support β M3U8/VLC/KODI/SMART TV/XTream Codes/Web Players β
β Licence β MIT β
β Author β Olsion Bakiaj β
β Email β TRC4@USA.COM β
β Author β Endrit Pano β
β Email β INFO@ALBDROID.AL β
β Website β https://kodi.al β
β Facebook β /albdroid.official/ β
β Github β github.com/SxtBox/ β
β Created β 25 December 2020 β
β Modified β 00:0000:0000 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
*/
// NOTE THIS IS MY OLD YT CODE BUT IS REFACTORED WITH NEW FUNCTIONS
// HOSTED APIS https://paidcodes.albdroid.al/Youtube_APIS/Live_Stream/
// RULES AL: Ky API Eshte Vetem Per Demostrim, Nese Ju e Keqperdorni Do Te Humbisni Komunikimin Me Serverat Tane
// RULES EN: This API is For Demonstration Only, If You Misuse It You Will Lose Communication With Our Servers
error_reporting(0);
set_time_limit(0);
date_default_timezone_set("Europe/Tirane");
/*
Generator @ Kodi dot AL Dev Tools
Code For PHP 5/7
*/
$API_HOST = "https://paidcodes.albdroid.al/Youtube_APIS/Live_Stream/";
$API_PATH = "";
$PHP_FILE = ""; // OR index.php
$API_CALL = $API_HOST. $API_PATH . $PHP_FILE;
$DATA = file_get_contents($API_CALL);
$GET_URL = file_get_contents($API_CALL.$_SERVER['QUERY_STRING']);
header('Access-Control-Allow-Origin: *');
header('Content-type: application/json');
echo $DATA;
?>