Commit Graph
34 Commits
Author SHA1 Message Date
can4hou6joeng4 b63f94fed4 fix(sync): 丢弃缺少 videoId 的同步记录,避免整页崩溃
服务端同步恢复回来的记录不保证结构完整(旧结构或半截写入)。缺少 videoId
的记录会让 HistoryItem.tsx:24 与 FavoritesItem.tsx:21 在渲染期拼播放地址
时对 undefined 调用 toString(),抛出未捕获异常。由于 getVideoUrl() 是在
渲染 href 时调用的,React 会直接卸载整棵树,首页白屏且刷新无效——该账号
只能靠直接改库才能恢复。

新增 lib/utils/sync-records.ts 做可渲染性判定(要求 videoId、source、
title 齐备),在云端拉取入口 useCloudSync 与 HistoryList / FavoritesList
各过滤一次:脏数据进不来,已经落库的也渲染不出来。
2026-07-31 18:28:35 +08:00
kuekhaoyang cdab3b1c8a fix: harden M3U8 ad filtering
Reject unsafe dynamic filter execution, reduce heuristic false positives, add regression coverage, bump the app to 4.9.17, and update Next.js to the latest stable security patch.
2026-07-29 22:13:54 +08:00
Troray c53801d3bf feat(ad-filter): upgrade M3U8 ad filtering algorithm with dynamic script sandbox, zero false-positive framerate protections, and Edge API 2026-07-29 13:38:31 +08:00
kuekhaoyang 907f393e2f fix: keep floating buttons anchored on resize 2026-07-27 21:13:08 +08:00
kuekhaoyang f98de077f7 fix: player UX, ad fingerprinting, Android TV 9 white screen
Address issues #217 #218 and integrate the useful parts of PR #219 without
regressions: stop player rebuild on episode reverse, grid/paged episodes,
poster placeholders, chrome69 client transpile for Amlogic WebView, and
duration-signature ad block detection while keeping interstitial/proxy filters.

Bump to 4.9.15.
2026-07-25 14:43:30 +08:00
kuekhaoyang 66d8564dd2 fix issue 210 slow source search reliability 2026-07-13 21:09:47 +08:00
kuekhaoyang eef52c751c Make source badges numeric only 2026-04-16 16:41:37 +08:00
kuekhaoyang 49951c67ef Fix source resolution badge probing 2026-04-16 16:31:17 +08:00
kuekhaoyang 37b6e160d7 fix remaining issue 72 ui and iptv regressions 2026-04-02 22:14:46 +08:00
kuekhaoyang 5829a79ee3 fix: enforce compliance mode for managed deployments 2026-04-02 21:42:00 +08:00
kuekhaoyang 48ad9bc252 fix: restore HLS ad filtering
Closes #133

Closes #134
2026-04-02 20:12:59 +08:00
kuekhaoyang 91a89e8bf2 Fix issue #72 follow-ups and IPTV source handling 2026-03-26 14:16:58 +08:00
kuekhaoyang 3564ce1ede chore: update package versions and add user config sync API
- Bump version to 4.8.0 and update dependencies in package.json
- Implement user config sync API for cross-device settings persistence
- Add resolution badge auto-hide hook for improved user experience
- Create useConfigSync hook to manage user settings synchronization with the server
2026-03-18 12:44:05 +08:00
kuekhaoyang a567f62e19 feat: update quality patterns to include HDR and remove redundant HD entry 2026-03-12 23:23:04 +08:00
kuekhaoyang 0e87c94a64 feat: 修复超长 URL (414) 问题,添加分辨率检测,修复高级模式 bug,提升兼容性
- 将 groupedSources 存储在 sessionStorage 中而非 URL 参数里,以防止因 URL 过长导致的 CDN 414 错误 (#112)
- 自动将旧版 groupedSources URL 迁移至短 gs 键
- 从视频元素中检测并显示实际视频分辨率(例如 1920x1080),不再依赖来源提供的标签
- 修复 PlayerNavbar 设置链接在高级模式下总是跳转到 /settings 而非 /premium/settings 的问题 (#106)
- 修复 WatchHistorySidebar 未向 HistoryList 传递 isPremium,导致历史记录项 URL 丢失 premium=1 参数的问题 (#106)
- 为 HLS 播放添加多级浏览器回退机制 (HLS.js → 原生 → 代理 → 错误并提供浏览器建议) (#104)
- 在 IPTV 播放器中添加 HEVC/H.265 级别过滤,防止 CCTV 等频道出现仅有音频播放的问题 (#81)
- 更新依赖并升级版本至 4.5.0
2026-03-12 22:58:30 +08:00
kuekhaoyang 1e14948225 feat: implement locale switching between Simplified and Traditional Chinese with opencc-js 2026-03-01 13:22:06 +08:00
kuekhaoyang c95d7d5d95 feat: add premium password protection and enhance search functionality
- Implemented a separate password for premium content access via `PREMIUM_PASSWORD` environment variable.
- Added a `PremiumPasswordGate` component to manage access to premium content.
- Enhanced search functionality to support Traditional Chinese to Simplified Chinese conversion for broader search compatibility.
- Introduced automatic video quality labels in search results for better user experience.
- Added support for IPTV sources configuration through environment variables.
- Enabled merging of sources in search results based on environment variable settings.
- Updated volume control logic to handle mute state more effectively in video playback.
- Improved README documentation to reflect new features and configurations.
2026-03-01 12:06:53 +08:00
kuekhaoyang 98599bb972 feat: implement multi-level IPTV sidebar with source and group expansion, multi-route collapse, and optimized search performance. 2026-02-20 11:41:53 +08:00
kuekhaoyang 9ea9f85507 feat: Implement user-defined video sources and danmaku API management with new settings pages and a dedicated store. 2026-02-19 11:56:14 +08:00
kuekhaoyang 54263f926b feat: Implement granular role-based access control, enhance IPTV stream proxy with header forwarding, and improve IPTV store with per-source channel caching. 2026-02-18 10:24:03 +08:00
kuekhaoyang aa8f8e9ff9 feat: enhance IPTV player with comprehensive controls, improved stream loading robustness, and UI refinements including volume, progress, and fullscreen. 2026-02-17 22:24:49 +08:00
kuekhaoyang 5d139114b5 feat: Implement IPTV functionality with channel management and player, and add admin account configuration generation. 2026-02-17 16:37:53 +08:00
kuekhaoyang 338981dadb feat: Add initial support for Android TV and Apple TV platforms, introduce a dedicated premium mode settings store, and implement personalized video recommendations. 2026-02-17 12:00:07 +08:00
kuekhaoyang df37806de7 feat: Implement danmaku (bullet comments) functionality with API integration, settings, and player display. 2026-02-17 10:21:07 +08:00
kuekhaoyang 0753492dfd feat: Implement new authentication and account management system, refactoring password gates and settings components. 2026-02-17 00:09:56 +08:00
kuekhaoyang bc25be5b05 feat: Implement parallel multi-page fetching from each search source and introduce client-side load more pagination for aggregated results. 2026-02-16 11:32:20 +08:00
kuekhaoyang bb7bc3e75f feat: Enhance M3U8 ad detection with proxy URL unwrapping and segment-level analysis, and implement proxy fallback for HLS playlist fetching. 2026-02-16 10:31:09 +08:00
Troray 140b39ecf7 Update m3u8-utils.ts 2026-01-19 22:32:39 +08:00
Troray c3d01e95a4 新增M3U8启发式广告检测算法并支持动态关键词配置 2026-01-19 21:52:38 +08:00
kuekhaoyang 24f870a40c feat: Integrate subscription synchronization and initialize new subscriptions with lastUpdated: 0. 2026-01-15 17:21:53 +08:00
kuekhaoyang 26cfa10c3a feat: Replace adult and secret content features with a new premium content system. 2026-01-04 19:04:27 +08:00
kuekhaoyang e961e9e195 feat: Extract and display video quality from titles on video cards and update package version. 2025-12-28 17:52:53 +08:00
kuekhaoyang 80d99626c4 fix: Use a proxy for external URL fetches to avoid CORS issues. 2025-12-25 17:20:51 +08:00
kuekhaoyang 43a35e3f47 new 2025-12-24 23:53:24 +08:00