refactor: split mpv plugin into modular script directory

This commit is contained in:
kyasuda
2026-02-24 18:02:57 -08:00
parent 3da9d9e0e0
commit 60cd1c8ac2
23 changed files with 2203 additions and 1959 deletions

View File

@@ -0,0 +1,24 @@
---
id: TASK-69
title: Refactor mpv plugin into modular script components
status: To Do
assignee: []
created_date: '2026-02-24 17:09'
labels: []
dependencies: []
priority: medium
---
## Description
<!-- SECTION:DESCRIPTION:BEGIN -->
Break plugin/subminer.lua into smaller Lua modules under mpv scripts subdirectory while preserving user-visible behavior and keybindings. Include migration + docs updates for install paths and smoke/regression checks.
<!-- SECTION:DESCRIPTION:END -->
## Acceptance Criteria
<!-- AC:BEGIN -->
- [ ] #1 Plugin entrypoint stays at scripts/subminer.lua and loads modules from scripts/subminer/
- [ ] #2 No behavior change for keybindings, script messages, auto-start, AniSkip, hover highlight
- [ ] #3 Install/docs updated for recursive plugin copy
- [ ] #4 Add or update regression checks for start/stop + module loading
<!-- AC:END -->