# Flix Vision v3.6.3r — Full Audit Reference

Package: `flix.com.vision` | APK: 36.5MB | 12,475 source files

## API Keys

| Service | Key |
|---------|-----|
| TMDB | `2f3cb5763db1117fcba3948632f8aad9` |
| Trakt | `39c944040d5f19862b77e7a66b6c419af653c1e3bf226cc691eb2abbb551730c` |
| Google | `AIzaSy...apnI` (crash reporting) |

## Architecture: Pattern C — Web-Scraped Video Hoster Extractors + Embed URLs

No Stremio addons, no Torrentio. Three tiers:

### Tier 1: Embed URLs (FLIXVISION1-5)
Hardcoded embed URL templates loaded in WebView:

| Label | Pattern |
|-------|---------|
| FLIXVISION | `http://185.112.144.240/ext/gotv.html?goto={tmdb_id}&s={s}&e={e}` |
| FLIXVISION2 | `https://embed.smashystream.com/playere.php?tmdb={id}` |
| FLIXVISION3 | `https://autoembed.co/tv/tmdb/{id}-{s}-{e}` (user-configurable) |
| FLIXVISION5 | `https://vidsrc.xyz/embed/movie/{id}` / `vidsrc.me/embed/tv/{id}/{s}-{e}` |

### Tier 2: Per-Site Scraper Extractors

| Extractor | Domain | Technique |
|-----------|--------|-----------|
| GogoExtractor | `streamcool.pro` | Encrypted AJAX + crypto decrypt + server list scraping |
| DoodExtractor | `doodstream.com` | /pass_md5/ token extraction → direct URL |
| VidsrcExtractor | `vsembed.ru`, `9anime.eltik.net`, `vidstream.pro` | Multi-step: episode → source → decrypt → futoken → raw file |
| CloudnestraExtractor | `cloudnestra.com`, `vsembed.ru` | iframe src + comments serverList → variable replacement |
| FileMoonExtractor | `azm.to` | Packed JS unpack (Hi) → .setup() JSON parsing |
| CloseloadExtractor | `closeload.top` | ROT13 + base64 brute-force + unmixLoop |
| VixcloudExtractor | `vixcloud.co` | window.video + window.masterPlaylist parsing, language-aware HLS |

### Tier 3: Movie Link Aggregators

| Service | Base URL | Pattern |
|---------|----------|---------|
| AllMovieLand | `https://allmovieland.you/` | `/play/{imdb_id}`, `/playlist/{file}.txt` |
| SwiftStreamz | `https://www.swiftstreamz.cc/SwiftStreamzv2.4/data.php` | IMDB query param |
| ML Host | `https://trinstor297undoint.com` (configurable) | `/play/{imdb_id}` |

### Debrid Services (optional, for resolving file-hoster links)

| Service | Base URL | Auth |
|---------|----------|------|
| Real-Debrid | `api.real-debrid.com` | OAuth Bearer token |
| AllDebrid | `api.alldebrid.com` | API key (agent: flixvision) |
| Premiumize | `www.premiumize.me` | API key |

### Private Backend
- IP: `http://185.112.144.240`
- Serves: embed streams, TV data, HDO proxy, image paths (`/api/v3/hd/img/`)
- Not a cloud function — raw IP

### Tools & Libraries Used
- **JSoup** — HTML parsing for all scrapers
- **OkHttp** — HTTP client (shared connection pool)
- **AsyncTask** — concurrent scraper execution
- **HDO Box / 123MoviesGo / RidoMovies** — additional web-scraped content sources
- **Retrofit** — for debrid API calls and some content endpoints
- **Picasso** — image loading (10MB OkHttp cache)
- **ExoPlayer/Media3** — video playback
- **WebView** — for embed source playback (WebPlayerActivity)
- **OpenSubtitles** — subtitle API
- **Trakt** — sync, watchlists, progress
- **RxJava** — reactive debrid API calls
- **Hopmon** — analytics SDK

### UI Assets Extracted
55 unique images: streaming service logos (Netflix, Prime, Disney, HBO, Hulu, Paramount, Peacock, Starz, Apple, AMC, CBS, BET, BritBox, Discovery, Syfy), debrid logos (RD, AD, PM, DirectStream), player icons, subtitle tutorial, brand banner.

### Theme Colors
- Primary: `#37414e`, Dark: `#222932`
- Accent: `#01a3f8` (teal blue)
- RD color: `#f9a43e` (orange)

### App-Specific Config Strings
- `ml_host`: `https://trinstor297undoint.com` (default movie link host)
- `autoembed_url`: `https://autoembed.co` (default embed provider)
- `pref_allmvland_hst`: `https://allmovieland.you/` (Hindi direct links)
