mirror of
https://github.com/calesthio/OpenMontage.git
synced 2026-09-09 04:56:28 +08:00
fix: recover bounded defects from PR backlog
This commit is contained in:
+4
-3
@@ -528,9 +528,10 @@ Music is a critical part of any video. **Surface the music situation to the user
|
||||
|
||||
Check music availability in this order and present the options:
|
||||
|
||||
1. **User music library (`music_library/`):** Check if this folder exists and contains tracks. If so, list available tracks with durations and let the user pick one.
|
||||
2. **Music generation APIs:** Check which music tools are available via the registry (`registry.get_by_capability("music_generation")`). Report their status honestly — include quota status if known.
|
||||
3. **Royalty-free sources:** Note if the user can provide their own track (e.g., from YouTube Audio Library, Jamendo, or other free sources). Offer the `music_library/` drop path.
|
||||
1. **User music library:** Check `registry.get_by_capability("music_library")` and inspect `music_library/`. If tracks exist, list durations and let the user pick one.
|
||||
2. **Royalty-free search:** Check `registry.get_by_capability("music_search")` for configured search/download tools. Report licensing constraints and whether a key is required.
|
||||
3. **Music generation APIs:** Check `registry.get_by_capability("music_generation")`. Report status, quota, cost, and quality tradeoffs honestly.
|
||||
4. **Bring your own:** Note that the user can provide a track (for example from YouTube Audio Library or Jamendo) through the `music_library/` drop path.
|
||||
|
||||
**Always present the user with explicit choices:**
|
||||
- Use a track from their library (which one?)
|
||||
|
||||
Reference in New Issue
Block a user