Commit Graph

11 Commits

Author SHA1 Message Date
17b6bfb76d Rename project from mpv-mgr to empeve
Rebrand the entire project with a memorable phonetic name:
- Update package and binary name in Cargo.toml
- Change config directory from ~/.config/mpv-mgr to ~/.config/empeve
- Rename MpvMgrError to EmpveError
- Update all CLI help text and user-facing messages
- Update README title and documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 02:19:08 +01:00
999da3b27c Add multi-target support to all commands and --target CLI flag
- Add global --target flag to filter operations by target name
- Update install, list, clean commands to iterate over targets
- Update remove command to uninstall from all targets on --purge
- Update status command to show targets section
- Fix target filter to use exact name matching (not substring)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 01:33:26 +01:00
b2b2f7b71e Add multi-target mpv config support (Phase 1)
Core infrastructure for managing multiple mpv config folders:

Config changes (config.rs):
- Add TargetConfig struct for target definitions
- Add targets field to Config (list of target configs)
- Add targets field to RepoEntry (optional, defaults to all)
- Add should_install_to() for per-repo target filtering
- Add enabled_targets(), find_target(), add_target() helpers

Path detection (paths.rs):
- Add DetectedTarget struct for discovered configs
- Add detect_mpv_configs() to find mpv, jellyfin-mpv-shim, celluloid, flatpak
- Check for existing scripts in each detected folder

First-run setup (main.rs):
- Detect all mpv config folders on first run
- Interactive selection of which targets to manage
- Save selected targets to config

Install command (install.rs):
- Install scripts to multiple targets
- Per-repo target filtering via targets field
- Show target labels when installing to multiple targets

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 01:18:57 +01:00
ba64e4b602 Fix sponsorblock repo: po5/mpv_sponsorblock (not sponsorblock_minimal) 2025-12-15 00:59:50 +01:00
635035e917 Replace sponsorblock repo and improve error handling
- Replace po5/sponsorblock_minimal with mxve/sponsorblock-mpv
  (original required authentication)
- Add failed repos tracking in install command
- Show failure summary with helpful error hints:
  - Authentication errors
  - 404/not found errors
  - Timeout errors
  - SSL certificate errors
- Add tip for removing failed repos
- Improved summary output

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 00:57:17 +01:00
8214e3225f Improve selection format hint in browse command 2025-12-15 00:50:07 +01:00
327846de03 Add interactive mode to browse command
- Add -i/--interactive flag for browse command
- Display numbered entries for easy selection
- Support multiple selection formats: "1 3 5", "1,3,5", "1-5"
- Show checkmarks for already-configured repos
- Add selected repos directly to config without separate command
- Non-interactive mode shows tip about -i flag

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 00:43:32 +01:00
b4ae635464 Add browse command with curated popular mpv scripts catalog
- Add src/catalog.rs with 15+ popular mpv scripts organized by category
- Categories: UI/OSC, Playback, Subtitles, Media, Utility
- Add 'browse' command to display catalog with descriptions
- Support category filtering (e.g., 'mpv-mgr browse ui')
- Mark already-configured repos with checkmark indicator
- Include custom repo: somegit.dev/anonfunc/mpv-scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 00:38:31 +01:00
b8a2e5cc7b Update description to 'Package manager for mpv scripts'
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 00:31:45 +01:00
dca1511869 Add progress spinners for clone and update operations
- Add indicatif crate for terminal progress indicators
- Add animated spinners during git clone operations
- Add animated spinners during git fetch/update operations
- Extract shared UI utilities into src/ui.rs module
- Improve visual feedback with checkmarks and status indicators

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 00:30:37 +01:00
97743f26ad Initial commit: mpv-mgr vim-plug style package manager
A CLI tool for managing mpv scripts inspired by vim-plug:
- Declarative config (config.toml) listing git repos
- Commands: add, remove, install, update, clean, status, list, import
- Auto-discovers .lua/.js scripts in repositories
- Symlinks scripts to ~/.config/mpv/scripts/
- Handles script assets (script-opts, fonts, shaders)
- First-run detection with import prompt for existing scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 00:28:05 +01:00