You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Xprime provider (upstream Xprime.tv offline due to security changes)
10
+
- 4khdhub provider: all `.zip` archive links are now omitted entirely (previous releases experimented with stripping the extension which produced non‑playable pseudo‑MKV links)
-**🔥 Plugin System** – Drop new provider files in `providers/` and add its exported function to the registry map (`providers/registry.js` → `providerFunctionMap`).
-**Optional Stream Proxy Layer** – When enabled, rewrites returned stream URLs so HLS playlists, TS segments, and subtitles are served through internal endpoints (`/m3u8-proxy`, `/ts-proxy`, `/sub-proxy`) allowing uniform headers, origin shielding, and optional segment caching.
47
+
When active the API omits per-stream `headers` objects from responses (they're no longer needed by clients) to avoid leaking upstream header requirements.
-`clampOpen` (on) – If a client sends an ambiguous `Range: bytes=0-`, constrain it to an initial window of `openChunkKB` (default 4096 KB) to avoid huge first reads.
51
+
-`openChunkKB=4096` – Size (KB) used for both clamp window and each progressive expansion increment.
52
+
-`progressiveOpen` (on) – Grow successive ambiguous head requests (`bytes=0-`) incrementally instead of one large span. Maintains a per‑URL expansion map.
53
+
-`initChunkKB=512` – Size used for a synthetic initial partial (206) when no client range is provided and progressive growth is disabled. Capped 64–2048 KB.
-`force200=1` – Normalize upstream 206 responses to 200 (diagnostics / edge player testing).
56
+
-`tailPrefetch` (on) – Enable asynchronous tail fetch of the file’s last bytes to satisfy rapid player tail probes.
57
+
-`tailPrefetchKB=256` – Tail window size (64–2048 KB). Cached in memory with TTL cleanup.
58
+
Behavior Notes:
59
+
- Synthetic partials auto‑disable when `progressiveOpen` is active (real progressive ranges preferred).
60
+
- Player tail probes (e.g., VLC metadata scans) are accelerated by the cached tail window.
61
+
- Forced 200 mode strips `Content-Range` to emulate full responses for troubleshooting.
62
+
- Host Overrides: `pixeldrain.*` and `video-downloads.googleusercontent.com` URLs are routed through `/ts-proxy` regardless of extension to ensure correct range + MIME handling.
46
63
47
64
---
48
65
@@ -217,9 +234,8 @@ The API supports a plugin system. Drop a new provider file in the `providers/` f
217
234
-`mp4hydra` - MP4Hydra streams
218
235
-`vidzee` - VidZee streams
219
236
-`vixsrc` - Vixsrc streams
220
-
-`xprime` - Xprime streams
221
237
-`uhdmovies` - UHD Movies streams
222
-
-`moviesclub` - MoviesClub streams
238
+
223
239
224
240
### Adding a New Provider
225
241
1.**Create**`providers/yourprovider.js` with your stream fetching logic
@@ -234,9 +250,7 @@ The API supports a plugin system. Drop a new provider file in the `providers/` f
234
250
'MP4Hydra.js':'getMP4HydraStreams',
235
251
'VidZee.js':'getVidZeeStreams',
236
252
'vixsrc.js':'getVixsrcStreams',
237
-
'xprime.js':'getXprimeStreams',
238
-
'uhdmovies.js':'getUHDMoviesStreams',
239
-
'moviesclub.js':'getMoviesClubStreams',
253
+
'uhdmovies.js':'getUHDMoviesStreams',
240
254
'yourprovider.js':'getYourproviderStreams'
241
255
};
242
256
```
@@ -299,6 +313,21 @@ Aggregate endpoint auto-resolves IMDb when needed and merges provider output bef
299
313
300
314
Filtering passes through `applyFilters` to enforce min quality + codec exclusions.
301
315
316
+
> Note: When the `enableProxy` flag is turned on, provider-specific request headers are stripped from each stream object before responding. Clients should use the proxied URL directly without adding custom Referer/Origin headers.
| enableProxy | false | Mounts proxy routes and rewrites stream URLs through them |
328
+
329
+
Toggle `enableProxy` to activate the internal proxy. This adds lightweight playlist/segment/subtitle rewriting without modifying provider code. Disable it to return direct upstream URLs.
Copy file name to clipboardExpand all lines: public/config.html
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,7 @@ <h1>Paths</h1>
182
182
<pclass="hint">Provider enable/disable & feature flags apply immediately. Click toggles to enable (highlighted) or disable (dim).</p>
183
183
<divclass="adv-group">
184
184
<divclass="field small"><label>Showbox Cache Dir <inputtype="text" name="adv_showboxCacheDir" placeholder="/data/showbox-cache"/></label></div>
185
+
<divclass="field small"><label>MoviesClub Proxy URL <pclass="hint">Optional. Example: <code>https://winter-surf-e49f.inside4ndroid-techsup.workers.dev/?destination=</code><br/>Leave blank for direct links. The raw stream URL will be appended (URL encoded).</p><inputtype="text" name="adv_moviesclubProxy" placeholder="https://proxy/?destination=" /></label></div>
Object.entries(textMap).forEach(([formName,cfgKey])=>{constel=f.elements[formName];if(!el)return;constv=el.value.trim();payload[cfgKey]=v? v : null;});
0 commit comments