goon/mobile/src/lib
goon-foss 18bd635dfa mobile: page-side get_file resolve for hdporngg/fullmovies (native, no proxy/flicker)
Device logs (not assumptions) pinned the real cause of the hdporngg/fullmovies
flicker: the backend returns a get_file URL, but get_file is bound to the IP that
loaded the *page*. The backend (VPS) loads the page, so the get_file is VPS-bound;
the phone fetching that get_file gets HTTP 410 -> ExoPlayer errors -> falls back to
the proxy via nav.replace (the "flicker"), and ends up streaming through the proxy.
(My earlier "stateless/portable" test was from the VPS — same IP as the page load —
so it wrongly showed 206.)

Fix: when the direct_url is a get_file, the phone re-fetches the *page* itself
(resolveGetFilePage on source.page_url) so the get_file is bound to the phone IP,
picks the requested quality skipping 4K (dead on fpvcdn), follows to the CDN, and
hands ExoPlayer a working URL. On failure it keeps the original (proxy fallback).

Verified on device: [getfile] page-resolve -> get_file 206 -> ExoPlayer PLAYING,
position advancing, no error/proxy/flicker, real video frame rendered.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 00:16:19 +02:00
..
aesGcm.ts filemoon: resurrect via mobile-side resolver (Byse SPA RE) 2026-05-22 13:18:26 +02:00
agegate.ts Initial commit 2026-05-20 10:10:22 +02:00
applock.ts i18n(mobile): polish UI strings → English 2026-05-31 16:27:55 +02:00
appVersion.ts Mobile 0.1.9: OTA enable, WebView cookie-dismiss fix, porndoe connector 2026-05-22 11:20:57 +02:00
backend.ts Mobile 0.1.9: OTA enable, WebView cookie-dismiss fix, porndoe connector 2026-05-22 11:20:57 +02:00
donate.ts Initial commit 2026-05-20 10:10:22 +02:00
doodstream.ts i18n(mobile): polish UI strings → English 2026-05-31 16:27:55 +02:00
filemoonHoster.ts filemoon: resurrect via mobile-side resolver (Byse SPA RE) 2026-05-22 13:18:26 +02:00
getfileResolver.ts mobile: page-side get_file resolve for hdporngg/fullmovies (native, no proxy/flicker) 2026-06-06 00:16:19 +02:00
packerHoster.ts Mobile: P.A.C.K.E.R. hoster resolver (luluvid/streamwish) 2026-05-22 11:40:03 +02:00
seenStore.ts Initial commit 2026-05-20 10:10:22 +02:00