mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
3.0 KiB
3.0 KiB
Resolve Embedded MPV PR Merge Conflicts
Summary
- Update
feat/embedded-mpv-mac-os-experimentalby mergingorigin/masterinto the branch, not rebasing, so no force-push is needed. - Resolve the four simulated conflicts while preserving both sides:
- master’s settings refactor, cover-size setting, live EPG panel work, favorite/recent UX changes
- branch’s macOS Embedded MPV support, player option gating, IPC typings, and package/runtime behavior
- Leave untracked
tools/wiki/untouched.
Key Changes
- Settings: keep master’s refactored section components/options and reapply Embedded MPV support in that shape:
EmbeddedMpvSupportsignal, async support probe inngOnInit, and conditionalVideoPlayer.EmbeddedMpvoption before external MPV/VLC. - Settings store/interfaces: combine
CoverSize/coverSize: 'medium'withVideoPlayer.EmbeddedMpv, embedded MPV prepare/sanitize logic, andisEmbeddedPlayer()including Video.js, HTML5, ArtPlayer, and Embedded MPV. - Live playback conflicts: keep master’s
LiveEpgPanel, date navigation, loading state, and favorite/recent outputs; add Embedded MPV rendering throughWebPlayerViewComponentwith fullResolvedPortalPlaybackmetadata where needed. - Electron typings/preload: keep master’s new EPG/current-program and recent-batch APIs while preserving all Embedded MPV IPC APIs and session update hooks.
Public Interfaces
- Preserve existing branch additions:
VideoPlayer.EmbeddedMpv = 'embedded-mpv'EmbeddedMpvSupport,EmbeddedMpvSession,EmbeddedMpvBoundswindow.electronEmbedded MPV support/session methods
- Preserve master additions:
CoverSize = 'small' | 'medium' | 'large'Settings.coverSizegetCurrentProgramsBatchdbRemoveRecentItemsBatch
Test Plan
- Static checks:
rg '<<<<<<<|=======|>>>>>>>'git diff --checkpnpm run typecheck:ci
- Unit tests:
pnpm run test:unit:all
- E2E tests:
pnpm nx run web-e2e:e2e-cipnpm nx run electron-backend-e2e:e2e-ci
- Build/package confidence:
pnpm run build:frontendpnpm run build:backend- run local package-layout validation if a package artifact is produced; otherwise rely on the pushed GitHub Actions macOS/Linux/Windows package jobs.
- Docs/wiki:
- Verify
docs/architecture/embedded-mpv-native.mdstill matches the merged packaging/runtime behavior. - If repo docs changed and
IPTVNATOR_WIKI_VAULTis set, runpnpm wiki:export --mode changed; otherwise report it as skipped.
- Verify
Commit And Push
- Stage only tracked merge-resolution files plus the saved
.plans/...file; do not stage untrackedtools/wiki/. - Commit as
chore: resolve master conflicts for embedded mpv branch. - Push normally with
git push origin feat/embedded-mpv-mac-os-experimental. - Recheck PR #877 merge state and checks with
gh pr view --json mergeStateStatus,statusCheckRollup; note that Vercel was already an external failure unrelated to these conflicts.