@officebeats/matrix-iptv-cli 4.0.17 → 4.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,210 +1,15 @@
1
- # 🟢 Matrix IPTV CLI
1
+ # @officebeats/matrix-iptv-cli
2
2
 
3
- ![Matrix IPTV CLI Hero](./assets/hero.png)
3
+ Compatibility package for Matrix IPTV.
4
4
 
5
- **// THE_PREMIUM_TERMINAL_IPTV_DECODER //**
6
-
7
- Matrix IPTV CLI is a blazing fast, keyboard-driven interface for browsing Live TV, Movies, and Series. Inspired by the Matrix and built with Rust, it's designed to be the ultimate premium TUI (Terminal User Interface) for IPTV power users.
8
-
9
- This project is being actively optimized by **Ernesto "Beats"** with a primary focus on **Live TV and Sports** performance, ensuring zero-latency navigation and professional-grade video clarity.
10
-
11
- ---
12
-
13
- ## 📸 Gallery
14
-
15
- <p align="center">
16
- <img src="./assets/selector.png" width="48%" />
17
- <img src="./assets/categories.png" width="48%" />
18
- <br />
19
- <img src="./assets/news.png" width="48%" />
20
- <img src="./assets/nba.png" width="48%" />
21
- <br />
22
- <img src="./assets/vod.png" width="48%" />
23
- <img src="./assets/playback.png" width="48%" />
24
- <br />
25
- <img src="./assets/movie_details.png" width="98%" />
26
- </p>
27
-
28
- ---
29
-
30
- ## 🚀 Instant Installation
31
-
32
- **Prerequisites:** Matrix IPTV CLI requires **MPV Player** (for video) and **Node.js** (for the CLI).
33
-
34
- #### **Don't have MPV Player?**
35
-
36
- - **Windows:** `winget install mpv`
37
- - **Mac:** `brew install mpv`
38
- - **Linux:** `sudo apt install mpv`
39
-
40
- #### **Don't have Node.js?**
41
-
42
- - **Windows:** `winget install OpenJS.NodeJS`
43
- - **Mac:** `brew install node`
44
- - **Linux:** `sudo apt install nodejs npm`
45
-
46
- ### **Global NPM Install (Recommended)**
47
-
48
- If you have Node.js installed, this is the easiest way to stay updated:
49
-
50
- ```bash
51
- npm install -g @officebeats/matrix-iptv-cli
52
- ```
53
-
54
- <details>
55
- <summary><strong>🚀 One-Click Install Scripts (Click to Expand)</strong></summary>
56
-
57
- #### **Windows**
58
-
59
- ```powershell
60
- powershell -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/officebeats/matrix-iptv/main/install.ps1 | iex"
61
- ```
62
-
63
- #### **Mac & Linux**
5
+ Preferred commands:
64
6
 
65
7
  ```bash
66
- curl -sSL https://raw.githubusercontent.com/officebeats/matrix-iptv/main/install.sh -o install_matrix.sh && bash install_matrix.sh && rm install_matrix.sh
8
+ npx matrix-iptv
67
9
  ```
68
10
 
69
- </details>
70
-
71
- ---
72
-
73
- ## 🎬 How to Run
74
-
75
- The app will **auto-launch** instantly after installation! 🚀
76
-
77
- For future sessions, simply open any terminal and type:
78
-
79
11
  ```bash
80
- matrix-iptv
12
+ npm install -g matrix-iptv
81
13
  ```
82
14
 
83
- ---
84
-
85
- ## ✨ Features
86
-
87
- - **🛡️ Multi-Select Playlist Modes**: Combine optimizations like **'Merica**, **Sports**, and **All-English** in real-time.
88
- - **⚡ Instant Response**: Built in Rust for maximum performance. Navigate tens of thousands of channels with zero lag.
89
- - **📡 Xtream API Native**: Strictly optimized for **Xtream API** providers (support for M3U is not planned at this time).
90
- - **🔎 Global Search**: Press **`Ctrl`+`Space`** (displayed as `🔎🌐 Ctrl+Space`) to search across Live TV, Movies, and Series content instantly. Results are limited to 100 items total (channels, movies, and series combined).
91
- - **📁 Unified Navigation**: "All" views for Channels, Movies, and Series allow for rapid browsing without digging into categories. Use **Tab** to switch between categories and streams, **Left/Right** arrows to navigate panes. Use **Tab** to switch between categories and streams, **Left/Right** arrows to navigate panes.
92
- - **🎨 Color-Coded UX**: Rebuilt footer with screen-aware hints and color coding.
93
- - **🚥 Mode Indicators**: Colorful header indicators (Red/White/Blue for 'Merica, Yellow for Sports, Blue for All-English).
94
- - **📋 Paste Support**: Support for `Ctrl+V` in login fields for quick credentials setup.
95
- - **🎬 Full Series Support**: Dedicated browsing for TV Shows with Season/Episode hierarchy and tracking.
96
- - **🎞️ VOD Experience**: Browse movies with rich metadata and instant playback.
97
- - **📟 Matrix Rain Screensaver**: A high-performance, authentic digital rain screensaver that activates when idle.
98
- - **🔒 Secure**: Uses Private DNS-over-HTTPS (DoH) for secure provider connection.
99
- - **⚡ Jump Navigation**: Press **`g`** to jump to bottom, **`G`** to jump to top, or **`0`-`9`** to jump directly to items 0-9 in any list.
100
- - **⚡ Jump Navigation**: Press **`g`** to jump to bottom, **`G`** to jump to top, or **`0`-`9`** to jump directly to items 0-9 in any list.
101
-
102
- ## 🛡️ Playlist Modes
103
-
104
- Matrix IPTV CLI features advanced preprocessing engines called **Playlist Modes**. These filters run _before_ content reaches your screen to optimize the experience.
105
-
106
- #### **Multi-Selectable Modes**
107
-
108
- You can now toggle multiple modes simultaneously!
109
-
110
- - **'Merica Mode 🇺🇸**: Geo-filters for English content and renames "American Football" to "Football".
111
- - **Sports Mode 🏟️**: Hoists sports categories and adds icons (🏀 NBA, 🏈 NFL, etc.).
112
- - **All-English 🇬🇧**: strictly filters for English, UK, and CA content, hiding all international categories.
113
-
114
- To change modes:
115
-
116
- 1. Press **`m`** (Universal Mode Toggle).
117
- 2. Use **`Space`** or **`Enter`** to toggle checkboxes for each mode.
118
- 3. Select **`APPLY & SAVE`** to rebuild your playlist matrix.
119
-
120
- ---
121
-
122
- ## 📽️ MPV Enhancements
123
-
124
- We leverage advanced **MPV** flags to ensure professional-level video quality even on lower-end hardware:
125
-
126
- - **Fullscreen Mode**: Launches directly into fullscreen (`--fs`) for a professional, TV-like experience.
127
- - **On Screen Controller**: Enables `--osc=yes` for usability and control.
128
- - **Advanced Anti-Aliasing**: Uses `spline36` scaling, providing superior edge smoothing.
129
- - **Oversample Upscaling**: High-quality temporal upscaling that sharpens images.
130
- - **Motion Smoothing**: High-performance `display-resample` interpolation for fluid sports playback.
131
- - **Hardware Acceleration**: Automatic `hwdec=auto-safe` with modern Windows `d3d11-flip` presentation.
132
-
133
- ---
134
-
135
- ## ⚙️ Advanced Features
136
-
137
- Matrix IPTV CLI provides several core utilities to manage complex setups safely:
138
-
139
- - **VLC Fallback Integration**: While MPV provides the ultimate playback tier, you can configure the app to fall back to launching VLC Media Player instead, maximizing compatibility.
140
- - **Dynamic Background Sync**: Automatically handles large playlist parsing without hanging the UI, providing fluid progress updates and ETAs while it indexes tens of thousands of channels.
141
-
142
- ---
143
-
144
- ## ⌨️ Common Controls
145
-
146
- | Key | Action |
147
- | :---------------------- | :-------------------------------------------- |
148
- | **`Enter`** | **Play Channel / Select / Confirm** |
149
- | **`Esc` / `Backspace`** | **Go Back / Cancel** |
150
- | **`Ctrl` + `Space`** | **Global Search** (Search everything) |
151
- | **`f`** or **`/`** | **Local Search** (Filter current view) |
152
- | **`v`** | **Toggle Favorite** |
153
- | **`j` / `↓`** | Move Down |
154
- | **`k` / `↑`** | Move Up |
155
- | **`g`** | **Toggle Grid View / Group Menu** |
156
- | **`G`** | **Manage Groups / Jump to Bottom (VOD)** |
157
- | **`0`-`9`** | **Jump to Item / Switch Account (Home)** |
158
- | **`m`** | **Settings: Playlist Mode** |
159
- | **`x`** | **Settings** |
160
- | **`n`** | **New Playlist** (Home Screen) |
161
- | **`e`** | **Edit Playlist** (Home Screen) |
162
- | **`d`** | **Delete Playlist** (Home Screen) |
163
- | **`r`** | **Refresh Playlist** (Global) |
164
- | **`q`** | **Quit** |
165
-
166
- ---
167
-
168
- ## 🛠️ Prerequisites
169
-
170
- The installation scripts will attempt to install these for you:
171
-
172
- - **MPV Player**: [mpv.io](https://mpv.io)
173
- - **Rust Compiler**: [rustup.rs](https://rustup.rs) (Only required for manual builds)
174
-
175
- ---
176
-
177
- > **⚠️ Disclaimer:** Matrix IPTV CLI and its creator, are **not affiliated** with z2u, g2g, or any IPTV provider. We do not sell or distribute content. All transactions on these platforms are at your own risk. This guide is for informational purposes only (experimental "USA Mode" testing).
178
-
179
- <details>
180
- <summary><strong>🛒 Where to Buy Playlists (Click to Expand)</strong></summary>
181
-
182
- <br>
183
-
184
- The experimental "USA Mode" is optimized for **Strong 8K**, **TRex**, and **Mega OTT** playlists. These are typically sourced from third-party marketplaces:
185
-
186
- - **Platforms**: **z2u.com** or **g2g.com**
187
- - **Search Terms**: "Strong 8k IPTV", "Trex IPTV", "Mega OTT"
188
- - **Duration**: Usually sold in **1-month**, **6-month**, or **1-year** increments.
189
-
190
- ### ✅ Buying Tips
191
-
192
- 1. **Check Ratings**: Always choose a seller with a **high rating (98%+)** and a high sales count. These are 2-sided marketplaces, so reputation is everything.
193
- 2. **Safe Payment**: Use strictly secure payment methods like **Google Pay** or **Apple Pay** directly through your device. Avoid direct bank transfers or obscure payment links.
194
-
195
- </details>
196
-
197
- ---
198
-
199
- ## ⚡ Community & Support
200
-
201
- Built and optimized with ❤️ by **Ernesto "Beats"** with the help of google antigravity and vibe coding during his PTO vacation time.
202
-
203
- [![Twitter](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://x.com/officebeats)
204
- [![Discord](https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.com/users/317887730703138826)
205
-
206
- ---
207
-
208
- ## 📜 License
209
-
210
- MIT // [ProductMG.com](https://www.productmg.com)
15
+ This package remains available for older installs and forwards to `matrix-iptv`.
package/bin/cli.js CHANGED
@@ -1,194 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const { spawn } = require("child_process");
4
- const path = require("path");
5
- const os = require("os");
6
- const fs = require("fs");
7
- const https = require("https");
8
-
9
- const binaryName =
10
- os.platform() === "win32" ? "matrix-iptv.exe" : "matrix-iptv";
11
- const binaryPath = path.join(__dirname, binaryName);
12
-
13
- const platformMap = {
14
- win32: "windows.exe",
15
- linux: "linux",
16
- darwin: "macos",
17
- };
18
-
19
- const axios = require("axios");
20
-
21
- async function download(url, dest) {
22
- const writer = fs.createWriteStream(dest);
23
-
24
- try {
25
- const response = await axios({
26
- method: 'get',
27
- url: url,
28
- responseType: 'stream',
29
- headers: {
30
- 'Cache-Control': 'no-cache',
31
- 'User-Agent': 'matrix-iptv-cli-updater'
32
- }
33
- });
34
-
35
- response.data.pipe(writer);
36
-
37
- return new Promise((resolve, reject) => {
38
- writer.on('finish', resolve);
39
- writer.on('error', (err) => {
40
- fs.unlink(dest, () => {});
41
- reject(err);
42
- });
43
- });
44
- } catch (err) {
45
- fs.unlink(dest, () => {});
46
- if (err.response && err.response.status === 404) {
47
- throw new Error(`Asset not found (404). This usually means the GitHub release exists but the binary hasn't been uploaded yet.`);
48
- }
49
- throw err;
50
- }
51
- }
52
-
53
- async function performUpdate() {
54
- const platform = platformMap[os.platform()];
55
- if (!platform) {
56
- throw new Error(`Unsupported platform for auto-update: ${os.platform()}`);
57
- }
58
- const releaseUrl = `https://github.com/officebeats/matrix-iptv/releases/latest/download/matrix-iptv-${platform}`;
59
-
60
- console.log(`\n[*] Initiating Phase 4: System Update...`);
61
- console.log(`[*] Downloading: ${releaseUrl}`);
62
-
63
- const tempPath = binaryPath + ".tmp";
64
-
65
- try {
66
- await download(releaseUrl, tempPath);
67
-
68
- if (os.platform() !== "win32") {
69
- fs.chmodSync(tempPath, "755");
70
-
71
- // On macOS, remove quarantine flag to prevent Gatekeeper blocking
72
- if (os.platform() === "darwin") {
73
- try {
74
- const { execSync } = require("child_process");
75
- execSync(
76
- `xattr -d com.apple.quarantine "${tempPath}" 2>/dev/null || true`
77
- );
78
- console.log(`[+] macOS quarantine flag cleared.`);
79
- } catch (e) {
80
- // xattr might fail silently, that's okay
81
- }
82
- }
83
- }
84
-
85
- // Replace old binary
86
- let attempts = 0;
87
- const maxAttempts = 15;
88
- while (attempts < maxAttempts) {
89
- try {
90
- if (fs.existsSync(binaryPath)) {
91
- if (os.platform() === "win32") {
92
- const oldPath = binaryPath + ".old." + Date.now();
93
- fs.renameSync(binaryPath, oldPath);
94
- try {
95
- fs.unlinkSync(oldPath);
96
- } catch (e) {
97
- // Mark for deletion on next reboot or just ignore
98
- }
99
- } else {
100
- fs.unlinkSync(binaryPath);
101
- }
102
- }
103
- fs.renameSync(tempPath, binaryPath);
104
- break;
105
- } catch (e) {
106
- attempts++;
107
- if (attempts === maxAttempts) throw e;
108
- await new Promise((r) => setTimeout(r, 1000 + attempts * 500));
109
- }
110
- }
111
-
112
- if (os.platform() === "darwin") {
113
- try {
114
- const { execSync } = require("child_process");
115
- execSync(`xattr -d com.apple.quarantine "${binaryPath}" 2>/dev/null || true`);
116
- } catch (e) {}
117
- }
118
-
119
- console.log(`[+] Update complete. Rebooting system...\n`);
120
-
121
- if (os.platform() === "win32") {
122
- const batchScript = `
123
- @echo off
124
- timeout /t 2 /nobreak > nul
125
- start "" "${binaryPath}" %*
126
- del "%~f0"
127
- `;
128
- const batchPath = path.join(os.tmpdir(), "matrix-relaunch.bat");
129
- fs.writeFileSync(batchPath, batchScript);
130
- spawn("cmd.exe", ["/c", batchPath, ...process.argv.slice(2)], {
131
- detached: true,
132
- stdio: "ignore",
133
- }).unref();
134
- process.exit(0);
135
- }
136
- } catch (err) {
137
- if (fs.existsSync(tempPath)) fs.unlinkSync(tempPath);
138
- throw err;
139
- }
140
- }
141
-
142
- function launchApp(isUpdateRelaunch = false) {
143
- if (!fs.existsSync(binaryPath)) {
144
- console.error("\n❌ Matrix IPTV binary not found.");
145
- console.log(
146
- "Please try reinstalling the package: npm install -g @officebeats/matrix-iptv-cli\n"
147
- );
148
- process.exit(1);
149
- }
150
-
151
- let child;
152
- try {
153
- child = spawn(binaryPath, process.argv.slice(2), {
154
- stdio: "inherit",
155
- windowsHide: false,
156
- });
157
- } catch (err) {
158
- if (isUpdateRelaunch && (err.code === "EBUSY" || err.code === "EACCES")) {
159
- console.log(`[*] Executable locked by OS. Retrying in 2 seconds...`);
160
- setTimeout(() => launchApp(true), 2000);
161
- return;
162
- }
163
- throw err;
164
- }
165
-
166
- child.on("error", (err) => {
167
- if (isUpdateRelaunch && (err.code === "EBUSY" || err.code === "EACCES")) {
168
- console.log(`[*] Executable locked by OS. Retrying in 2 seconds...`);
169
- setTimeout(() => launchApp(true), 2000);
170
- return;
171
- }
172
- console.error("Failed to start Matrix IPTV:", err);
173
- process.exit(1);
174
- });
175
-
176
- child.on("exit", async (code) => {
177
- if (code === 42) {
178
- try {
179
- await performUpdate();
180
- // If not win32 (which handles its own relaunch), relaunch here
181
- if (os.platform() !== "win32") {
182
- launchApp(true);
183
- }
184
- } catch (err) {
185
- console.error(`\n❌ Update failed: ${err.message}`);
186
- process.exit(1);
187
- }
188
- } else {
189
- process.exit(code || 0);
190
- }
191
- });
192
- }
193
-
194
- launchApp();
3
+ require("matrix-iptv/bin/cli.js");
package/package.json CHANGED
@@ -1,26 +1,21 @@
1
1
  {
2
2
  "name": "@officebeats/matrix-iptv-cli",
3
- "version": "4.0.17",
4
- "description": "The premium Terminal IPTV Decoder",
5
- "main": "index.js",
3
+ "version": "4.0.20",
4
+ "description": "Compatibility wrapper for the matrix-iptv CLI",
6
5
  "bin": {
7
6
  "matrix-iptv": "bin/cli.js"
8
7
  },
9
- "scripts": {
10
- "postinstall": "node scripts/install-binary.js"
11
- },
12
- "keywords": [
13
- "iptv",
14
- "cli",
15
- "tui",
16
- "matrix",
17
- "sports",
18
- "xtream"
8
+ "files": [
9
+ "LICENSE",
10
+ "README.md",
11
+ "bin/cli.js"
19
12
  ],
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
20
16
  "author": "Beats",
21
17
  "license": "MIT",
22
18
  "dependencies": {
23
- "axios": "^1.6.2",
24
- "cli-progress": "^3.12.0"
19
+ "matrix-iptv": "4.0.20"
25
20
  }
26
21
  }
package/CHANGES.md DELETED
@@ -1,186 +0,0 @@
1
- # IPTV App Changes Summary
2
-
3
- ## Date: 2026-01-18 (v3.3.1)
4
-
5
- ### Changes Implemented
6
-
7
- #### ✅ 1. Restored Detailed Help Guides
8
-
9
- - Re-implemented the technical and instructional depth for "The TUI Edge", "Playlist Acquisition", and "IPTV Protocol".
10
- - Guides now feature rich formatting and specific advice (Marketplaces, Providers, Technical Specs).
11
-
12
- #### ✅ 2. UI/UX Refinement
13
-
14
- - Moved version identifier to the bottom-left of the footer for better visibility during testing.
15
- - Updated Home Screen labels to be more descriptive ("The TUI Edge", "Understanding the Protocol").
16
- - Fixed the "Gray Icon" issue caused by leftover sports league fallbacks.
17
- - Simplified Category view to use a clean folder icon system.
18
-
19
- #### ✅ 3. Improved MPV Isolation
20
-
21
- - Detached MPV from terminal input/output to prevent keyboard shortcut conflicts.
22
- - On Windows, MPV now runs in a detached process to ensure CLI focus remains on the app.
23
-
24
- #### ✅ 4. Infrastructure & Test Sync
25
-
26
- - Updated global `test-matrix-iptv` command and PowerShell profile to point to the current (OneDrive) workspace.
27
- - Fixed a version mismatch where tests were running older cached binaries.
28
- - Established a new `update_and_test` workflow to ensure builds are synced to the Node wrapper's `bin/` directory.
29
-
30
- ---
31
-
32
- ## Date: 2025-12-27 (v3.0.8)
33
-
34
- ### Changes Implemented
35
-
36
- #### ✅ 1. Fixed Critical Out-of-Bounds Panic
37
-
38
- **Issue:** Application crashed with `index outside of buffer` error on Mac/Windows when the terminal window was small (e.g., 80 columns).
39
- **Files Modified:**
40
-
41
- - `src/matrix_rain.rs`
42
- - `src/ui/loading.rs`
43
- - `src/ui/groups.rs`
44
-
45
- **Changes:**
46
-
47
- - Updated Matrix logo width to correct value (103).
48
- - Added defensive bounds checking and clipping to all manual coordinate drawing.
49
- - Clamped popup heights to terminal height.
50
- - Implemented `intersection` clipping for large UI elements.
51
-
52
- **Rationale:** Ensures application stability across all terminal sizes and operating systems.
53
-
54
- ---
55
-
56
- ## Date: 2025-12-21
57
-
58
- ### Changes Implemented
59
-
60
- #### ✅ 1. Renamed "ARCHIVE_DATA" to "MOVIE_DATA"
61
-
62
- **Files Modified:**
63
-
64
- - `src/ui.rs`
65
-
66
- **Changes:**
67
-
68
- - **Line 167-169**: Changed header tab from `ARCHIVE_ACCESS` to `MOVIE_ACCESS`
69
- - **Line 799-801**: Changed VOD streams pane title from `ARCHIVE_DATA` to `MOVIE_DATA`
70
-
71
- **Rationale:** Better reflects the content type (movies/VOD) instead of generic "archive" terminology.
72
-
73
- ---
74
-
75
- #### ✅ 2. Added "All Movies" Category for VOD
76
-
77
- **Files Modified:**
78
-
79
- - `src/main.rs`
80
-
81
- **Changes:**
82
-
83
- - **Line 237-253**: Injected "All Movies" category at index 0 of VOD categories list
84
- - Category ID: "ALL"
85
- - Category Name: "All Movies"
86
- - Similar to how "All Channels" works for live TV
87
-
88
- **Rationale:** Allows users to browse all VOD content across all categories without having to select individual categories.
89
-
90
- ---
91
-
92
- #### ✅ 3. Implemented "All Movies" Stream Loading
93
-
94
- **Files Modified:**
95
-
96
- - `src/main.rs`
97
-
98
- **Changes:**
99
-
100
- - **Line 1362-1403**: Modified VOD stream loading logic to handle "ALL" category
101
- - When "ALL" category is selected, calls `client.get_vod_streams_all().await`
102
- - Otherwise, calls `client.get_vod_streams(&cat_id).await` for specific category
103
- - Properly formatted with consistent indentation and error handling
104
-
105
- **Code Structure:**
106
-
107
- ```rust
108
- tokio::spawn(async move {
109
- // Handle "All Movies" category
110
- if cat_id == "ALL" {
111
- match client.get_vod_streams_all().await {
112
- Ok(streams) => { /* Load all streams */ }
113
- Err(e) => { /* Handle error */ }
114
- }
115
- } else {
116
- match client.get_vod_streams(&cat_id).await {
117
- Ok(streams) => { /* Load category streams */ }
118
- Err(e) => { /* Handle error */ }
119
- }
120
- }
121
- });
122
- ```
123
-
124
- ---
125
-
126
- ### Performance Considerations
127
-
128
- **Existing Optimizations:**
129
-
130
- - Windowed rendering is already implemented in `src/ui.rs` (lines 608-702)
131
- - Only visible items are parsed and rendered, not the entire list
132
- - This should provide good scrolling performance even with large datasets
133
-
134
- **Potential Performance Issues:**
135
-
136
- 1. Network latency when loading large "All Movies" list
137
- 2. Parsing overhead in `parse_movie()` and `parse_stream()` functions
138
- 3. The windowed rendering uses a half-window buffer which should be optimal
139
-
140
- **Recommendation:**
141
-
142
- - Monitor performance with real-world data
143
- - If issues persist, consider:
144
- - Caching parsed results
145
- - Implementing lazy loading/pagination
146
- - Optimizing the parsing functions
147
-
148
- ---
149
-
150
- ### Testing
151
-
152
- **Status:** ✅ App compiles and runs successfully
153
-
154
- **Test Command:**
155
-
156
- ```bash
157
- cargo run --bin matrix-iptv
158
- ```
159
-
160
- **Expected Behavior:**
161
-
162
- 1. Navigate to VOD section (press 'v' from live channels)
163
- 2. "All Movies" should appear as the first category
164
- 3. Selecting "All Movies" should load all VOD streams across all categories
165
- 4. Header should show "MOVIE_ACCESS" instead of "ARCHIVE_ACCESS"
166
- 5. Stream list should show "MOVIE_DATA" instead of "ARCHIVE_DATA"
167
-
168
- ---
169
-
170
- ### Files Created During Implementation
171
-
172
- - `fix_vod.py` - Python script used to fix malformed code
173
- - `fix_main.ps1` - PowerShell script (not used in final solution)
174
- - `update_vod.ps1` - PowerShell script (not used in final solution)
175
- - `vod_all_movies.patch` - Patch file (reference only)
176
-
177
- **Note:** These helper files can be deleted after verification.
178
-
179
- ---
180
-
181
- ### Next Steps
182
-
183
- 1. ✅ Test with actual IPTV playlist to verify "All Movies" functionality
184
- 2. Monitor scrolling performance with large datasets
185
- 3. Consider adding loading indicators for "All Movies" (can take longer)
186
- 4. Optional: Add a count indicator showing total movies in "All Movies" category
package/about.md DELETED
@@ -1,32 +0,0 @@
1
- # Vibe IPTV CLI
2
-
3
- Learning how to vibecode with Google antigravity by building tools
4
- I casually need. Made this possible thanks to the use of Google Antigravity AI. :)
5
-
6
- I'm Ernesto "Beats", a product manager by profession.
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
- www.ProductMG.com
package/debug_dns.py DELETED
@@ -1,11 +0,0 @@
1
- import requests
2
-
3
- domain = "8884152.lbt4.xyz"
4
- doh_url = f"https://dns.google/resolve?name={domain}"
5
-
6
- print(f"Querying DoH for {domain}...")
7
- try:
8
- r = requests.get(doh_url, timeout=5)
9
- print(r.json())
10
- except Exception as e:
11
- print(e)