feat(wizard): prompt for MusicBrainz/AcoustID contact email
Replace the hardcoded MUSICBRAINZ_USER_AGENT placeholder in env.template with an optional MUSICBRAINZ_OWNER_EMAIL prompt in step_enrichment. The backend now composes a valid User-Agent from app name + version + this email (falling back to the project URL if left blank).
This commit is contained in:
@@ -103,6 +103,8 @@ MSG[ml_prompt]="ML service URL (leave blank — backend degrades gracefully)"
|
||||
MSG[step_enrichment]="Metadata enrichment (optional)"
|
||||
MSG[enrichment_note]="Imported files are auto-tagged from their embedded tags. Add an AcoustID key to also identify untagged files by audio fingerprint (free: https://acoustid.org/new-application)."
|
||||
MSG[acoustid_prompt]="AcoustID API key (leave blank to use embedded tags only)"
|
||||
MSG[musicbrainz_note]="MusicBrainz/AcoustID require a contact email in their User-Agent or they may throttle requests."
|
||||
MSG[musicbrainz_email_prompt]="Contact email for MusicBrainz/AcoustID (leave blank to use the project's default)"
|
||||
|
||||
# -- summary / run ---------------------------------------------------------
|
||||
MSG[summary_title]="Summary (secrets hidden)"
|
||||
|
||||
@@ -103,6 +103,8 @@ MSG[ml_prompt]="URL ML-сервиса (оставьте пустым — backend
|
||||
MSG[step_enrichment]="Обогащение метаданных (опционально)"
|
||||
MSG[enrichment_note]="Импортируемые файлы тегируются из встроенных тегов. Добавьте ключ AcoustID, чтобы опознавать файлы без тегов по аудио-отпечатку (бесплатно: https://acoustid.org/new-application)."
|
||||
MSG[acoustid_prompt]="API-ключ AcoustID (пусто — только встроенные теги)"
|
||||
MSG[musicbrainz_note]="MusicBrainz/AcoustID требуют контактный email в User-Agent, иначе запросы могут ограничиваться (throttling)."
|
||||
MSG[musicbrainz_email_prompt]="Контактный email для MusicBrainz/AcoustID (пусто — использовать значение по умолчанию)"
|
||||
|
||||
# -- summary / run ---------------------------------------------------------
|
||||
MSG[summary_title]="Сводка (секреты скрыты)"
|
||||
|
||||
Reference in New Issue
Block a user