| name | firefly-music-config |
| description | 修改 Firefly 音乐播放器配置。Use when switching meting or local mode, changing playlist source, or tuning volume and play behavior in src/config/musicConfig.ts. |
Firefly Music Config
Overview
Configure music source, player behavior, and navbar entry visibility.
Workflow
- Read the current target file(s) before editing.
- Confirm the requested behavior and map it to existing keys.
- Apply the smallest possible change inside the declared scope.
- Keep existing style, object structure, and value types.
- Report changed keys and paths.
Edit Scope
- src/config/musicConfig.ts
- src/config/sidebarConfig.ts
Common Keys
- showInNavbar / mode / volume / playMode / showLyrics
- meting.api / meting.server / meting.type / meting.id / meting.auth / meting.fallbackApis[]
- local.playlist[].name / artist / url / cover / lrc
- sidebar music widget enable state (if asked to hide sidebar player)
Guardrails
- Do not modify files outside Edit Scope unless explicitly requested.
- Keep booleans, numbers, arrays, enums, and URLs in valid types.
- Preserve existing comments unless they conflict with the new behavior.
- Prefer minimal diffs that are easy to review.