-
Notifications
You must be signed in to change notification settings - Fork 17
/
KODI_Example_Structure.php
60 lines (53 loc) · 2.78 KB
/
KODI_Example_Structure.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
48
49
50
51
52
53
54
55
56
57
58
59
60
<?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 │ 11 August 2020 │
│ Modified │ 19 August 2020 │
└─────────────────────────────────────────────────────────────┘
*/
// HOSTED VERSION APIS https://paidcodes.albdroid.al/ZEE5_Dot_Com_Apis/
/*
NOTE: TO PLAY THE STRUCTURE REQUIRED LIVESTRAMSPRO ADDON
DOWNLOAD FROM REPO AND NOT FROM LOCAL DISK
ADDON HOST: https://addons.kodi.al/
FILENAME: LiveStreamsPro.zip
*/
error_reporting(0);
date_default_timezone_set("Europe/Tirane");
define('sxt',TRUE);
$API_HOST = "https://paidcodes.albdroid.al/ZEE5_Dot_Com_Apis/";
$API_PATH = "APIS/";
$Kodi_API = "Kodi_API.php";
// CHANGE ONLY M3U URL FROM HERE
$HLS_URL = "https://z5ams.akamaized.net/andflix/index.m3u8";
$KODI_GET_M3U = $API_HOST. $API_PATH . $Kodi_API . "?url=" . $HLS_URL;
?>
<?php
// DON'T CHANGE HEADERS
header("Access-Control-Allow-Origin: *");
header("Content-type: application/json");
?>
<item>
<title>ENTER CHANNEL NAME HERE</title>
<link>$doregex[play_stream]|User-Agent=Albdroid</link>
<regex>
<name>play_stream</name>
<expres>([^']+)</expres>
<page><?php echo $KODI_GET_M3U; ?></page>
</regex>
</item>