Skip to content

Commit 818e5ce

Browse files
author
Inside4ndroid
committed
v1.9.0 Plenty of fixes see release changelogs.
1 parent 246c809 commit 818e5ce

13 files changed

Lines changed: 175 additions & 63 deletions

.dockerignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
node_modules
2+
npm-debug.log
3+
Dockerfile
4+
docker-compose.yml
5+
.git
6+
.gitignore
7+
README.md
8+
reddit_post.md
9+
*.env
10+
.env
11+
vercel.json
12+
serverless.js
13+
configure.html
14+
# Ignore local environment and editor files
15+
.vscode
16+
*.swp
17+
*.log
18+
19+
# Keep public assets and source code; don't exclude src/ or public/
20+
# .well-known is kept (not ignored) for any verification needs

addon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ class M3UEPGAddon {
587587
async function createAddon(config) {
588588
const manifest = {
589589
id: ADDON_ID,
590-
version: "1.8.0",
590+
version: "1.9.0",
591591
name: ADDON_NAME,
592592
description: "IPTV addon (M3U / EPG / Xtream) with encrypted configs, caching & series support (Xtream + Direct)",
593593
resources: ["catalog", "stream", "meta"],

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stremio-m3u-epg-addon",
3-
"version": "1.8.0",
3+
"version": "1.9.0",
44
"description": "Stremio addon for M3U playlists and EPG data with Xtream API support (encrypted configs, LRU/Redis cache)",
55
"main": "server.js",
66
"scripts": {

reddit_post.md

Whitespace-only changes.

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const INTERFACE_TTL_MS = parseInt(process.env.CACHE_TTL_MS || (6 * 3600 * 1000).
3434
const interfaceCache = new LRUCache({ max: parseInt(process.env.MAX_CACHE_ENTRIES || '100', 10), ttl: INTERFACE_TTL_MS });
3535
const CACHE_ENABLED = (process.env.CACHE_ENABLED || 'true').toLowerCase() !== 'false';
3636

37-
const PREFETCH_MAX_BYTES = parseInt(process.env.PREFETCH_MAX_BYTES || '5000000', 10); // default 5MB
37+
const PREFETCH_MAX_BYTES = parseInt(process.env.PREFETCH_MAX_BYTES || '150000000', 10);
3838
const PREFETCH_ENABLED = (process.env.PREFETCH_ENABLED || 'true').toLowerCase() !== 'false';
3939

4040
const app = express();

src/css/styles.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,16 +367,25 @@ select:focus {
367367
}
368368

369369
.hint {
370+
text-align: center;
370371
font-size: .64rem;
371372
letter-spacing: .4px;
372373
line-height: 1.1rem;
373374
color: var(--text-faint);
374375
}
375376

377+
.checkbox-label {
378+
vertical-align: super;
379+
}
380+
376381
.req { color: var(--danger); }
377382

383+
.bmc-btn-container {
384+
text-align: center;
385+
}
386+
378387
.checkbox-line {
379-
display: inline-flex;
388+
display: inline-block;
380389
align-items: center;
381390
gap: .55rem;
382391
font-size: .78rem;

src/html/direct-config.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1 class="app-title">Direct M3U / EPG</h1>
3434
<legend>EPG (Guide)</legend>
3535
<div class="form-group checkbox-line">
3636
<input type="checkbox" id="enableEpg" name="enableEpg" checked>
37-
<label for="enableEpg" class="inline">Enable EPG</label>
37+
<label class="checkbox-label" for="enableEpg">Enable EPG</label>
3838
</div>
3939
<div class="form-group">
4040
<label for="epgUrl">EPG XML URL (optional)</label>
@@ -51,7 +51,7 @@ <h1 class="app-title">Direct M3U / EPG</h1>
5151
<legend>Diagnostics</legend>
5252
<div class="form-group checkbox-line">
5353
<input type="checkbox" id="debugMode" name="debugMode">
54-
<label for="debugMode" class="inline">Enable Debug Logging</label>
54+
<label class="checkbox-label" for="debugMode" class="inline">Enable Debug Logging</label>
5555
</div>
5656
</fieldset>
5757

src/html/xtream-config.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<header class="site-header">
1212
<div class="inner">
1313
<h1 class="app-title">Xtream Codes API</h1>
14-
<p class="subtitle">Connect using panel credentials or m3u_plus output and an optional custom EPG.</p>
14+
<p class="subtitle">Connect using panel credentials and an optional custom EPG.</p>
1515
<nav class="top-nav">
1616
<a href="/" class="nav-link">Home</a>
1717
<a href="/html/direct-config.html" class="nav-link">Direct Mode</a>
@@ -41,36 +41,36 @@ <h1 class="app-title">Xtream Codes API</h1>
4141
</div>
4242
</fieldset>
4343

44-
<fieldset>
44+
<!-- <fieldset>
4545
<legend>Stream Source</legend>
4646
<div class="form-group checkbox-line">
4747
<input type="checkbox" id="xtreamUseM3U" name="xtreamUseM3U">
48-
<label for="xtreamUseM3U" class="inline">Use m3u_plus playlist (instead of JSON)</label>
48+
<label class="checkbox-label" for="xtreamUseM3U" class="inline">Use m3u_plus playlist (instead of JSON)</label>
4949
</div>
5050
<div class="form-group hidden" id="xtreamOutputGroup">
5151
<label for="xtreamOutput">M3U Output Format</label>
5252
<input type="text" id="xtreamOutput" name="xtreamOutput" placeholder="ts / hls / mpegts">
5353
<small class="hint">Leave blank for panel default.</small>
5454
</div>
55-
</fieldset>
55+
</fieldset> -->
5656

5757
<fieldset>
5858
<legend>EPG Options</legend>
5959
<div class="form-group checkbox-line">
6060
<input type="checkbox" id="enableEpg" name="enableEpg" checked>
61-
<label for="enableEpg" class="inline">Enable EPG</label>
61+
<label class="checkbox-label" for="enableEpg" class="inline">Enable EPG</label>
6262
</div>
6363

6464
<div id="epgModeBlock" class="form-group">
6565
<label class="group-label">EPG Source Mode</label>
6666
<div class="radio-group">
6767
<label class="checkbox-line">
6868
<input type="radio" name="epgMode" value="xtream" checked>
69-
<span>Panel XMLTV</span>
69+
<span class="checkbox-label">Panel XMLTV</span>
7070
</label>
7171
<label class="checkbox-line">
7272
<input type="radio" name="epgMode" value="custom">
73-
<span>Custom EPG URL</span>
73+
<span class="checkbox-label">Custom EPG URL</span>
7474
</label>
7575
</div>
7676
</div>
@@ -91,7 +91,7 @@ <h1 class="app-title">Xtream Codes API</h1>
9191
<legend>Diagnostics</legend>
9292
<div class="form-group checkbox-line">
9393
<input type="checkbox" id="debugMode" name="debugMode">
94-
<label for="debugMode" class="inline">Enable Debug Logging</label>
94+
<label class="checkbox-label" for="debugMode" class="inline">Enable Debug Logging</label>
9595
</div>
9696
</fieldset>
9797

src/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ <h3>About the Addon</h3>
5858
<li>Channel, Movie & Series catalogs</li>
5959
<li>Local + Redis caching support</li>
6060
</ul>
61+
<br>
62+
<h3>Credits</h3>
63+
<ul class="feature-list">
64+
<li>Made with ❤️ by Inside4ndroid</li>
65+
<li>Hosted by skyecraft92</li>
66+
<li>Icon by <a href="https://www.flaticon.com/free-icons/tv" target="_blank" rel="noopener">Freepik - Flaticon</a></li>
67+
<li>BuyMeACoffee button by <a href="https://www.buymeacoffee.com/" target="_blank" rel="noopener">BuyMeACoffee</a></li>
6168
</section>
6269
</main>
6370

0 commit comments

Comments
 (0)