Introduce a new $quality template variable that is only substituted into filenames to avoid splitting album folders when tracks of mixed qualities are present. Updates include: - web_server.py: populate template contexts with 'quality' (from context['_audio_quality']), strip $quality from folder components, substitute it only in the filename, and clean up empty brackets/parentheses/dashes when the variable is empty. - config/config.example.json and config/config.json: document the new variable in the file_organization template variables string. - webui/index.html and webui/static/script.js: update UI help text and client-side template validation to include $quality. This prevents folder fragmentation for albums with mixed-quality files while still allowing quality information in filenames. |
||
|---|---|---|
| .. | ||
| static | ||
| index.html | ||