From 07d00789e7e853e5c66a5b3e1426c207f5b7c327 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Sun, 28 Dec 2025 20:33:07 -0500 Subject: [PATCH] Disable Player module to prevent crashes (external dependency violation) Issue: - Player module was crashing when accessed - Uses external tools (MPV, VLC, FFplay) which violates VideoTools' core principle - Everything should be internal and lightweight, no external dependencies Fix: - Disabled Player module in main menu - Module still exists in code but is not accessible to users - Prevents crash by preventing access to broken functionality Future work needed: - Implement pure-Go internal player using FFmpeg libraries - OR implement simple preview-only playback using existing preview system - Must be self-contained and lightweight --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 0cd8660..b86c8b3 100644 --- a/main.go +++ b/main.go @@ -1618,7 +1618,7 @@ func (s *appState) showMainMenu() { Label: m.Label, Color: m.Color, Category: m.Category, - Enabled: m.ID == "convert" || m.ID == "compare" || m.ID == "inspect" || m.ID == "merge" || m.ID == "thumb" || m.ID == "player" || m.ID == "filters" || m.ID == "upscale" || m.ID == "author" || m.ID == "subtitles" || m.ID == "rip", // Enabled modules + Enabled: m.ID == "convert" || m.ID == "compare" || m.ID == "inspect" || m.ID == "merge" || m.ID == "thumb" || m.ID == "filters" || m.ID == "upscale" || m.ID == "author" || m.ID == "subtitles" || m.ID == "rip", // Enabled modules (player disabled - requires internal implementation) }) }