forked from SxtBox/zee5_Dot_Com_Streaming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VLC_M3U_Builder.php
47 lines (39 loc) · 2.4 KB
/
VLC_M3U_Builder.php
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
<?php
/*
┌─────────────────────────────────────────────────────────────┐
| For More Modules Or Updates Stay Connected to Kodi dot AL |
└─────────────────────────────────────────────────────────────┘
┌───────────┬─────────────────────────────────────────────────┐
│ Product │ zee5.com Stream Extractor By HLS Url │
│ Version │ v1.4-DEV │
│ Provider │ https://www.zee5.com │
│ Support │ M3U8/VLC/KODI/SMART TV/XTream Codes/Web Players │
│ Licence │ MIT │
│ Author │ Olsion Bakiaj │
│ Email │ [email protected] │
│ Author │ Endrit Pano │
│ Email │ [email protected] │
│ Website │ https://kodi.al │
│ Facebook │ /albdroid.official/ │
│ Github │ github.com/SxtBox/ │
│ Created │ 18 August 2020 │
│ Modified │ 0000:00:00:ss │
└─────────────────────────────────────────────────────────────┘
*/
// HOSTED VERSION https://paidcodes.albdroid.al/ZEE5_Dot_Com_Apis/
error_reporting(0);
date_default_timezone_set("Europe/Tirane");
define('sxt',TRUE);
$API_HOST = "https://paidcodes.albdroid.al/ZEE5_Dot_Com_Apis/";
$API_PATH = "";
$KODI_API = "M3U_Builder.php";
// CHANGE ONLY M3U URL FROM HERE
$HLS_URL = "https://z5ams.akamaized.net/andflix/index.m3u8";
$API_CALL = $API_HOST. $API_PATH . $KODI_API . "?url=" . $HLS_URL;
//echo $API_CALL
// DON'T CHANGE HEADERS
header("Access-Control-Allow-Origin: *");
header("Content-type: application/json");
$M3U_Builder = file_get_contents($API_CALL);
echo $M3U_Builder;
?>