fix: enforce streaming quality setting by clearing cache on change

Issue #34 - Max quality setting not respected

Changes:
- Remove 'Prefer Highest Available' toggle (was dead code, conflicted with quality dropdown)
- Clear playback cache (L1+L2) when streaming quality changes
- Show toast notification when cache is cleared
- Add description to streaming quality setting
- Update i18n for new messages (en/es)

This ensures the quality setting takes effect immediately, important for:
- Users with metered internet connections
- Users with hardware sample rate limitations (e.g., DACs limited to 96kHz)

The Qobuz API respects format_id and downsamples server-side, so this
change guarantees the correct quality is fetched for new streams.
This commit is contained in:
vicrodh committed 2026-01-31 23:15:09 -06:00
1 parent f83eed1076
commit 38b7ea7aef
3 files changed
+23 -22

No files matched your search

+2 -2
View File
@@ -360,8 +360,8 @@
"audio": {
"title": "Audio",
"streamingQuality": "Calidad de Streaming",
"preferHighest": "Preferir Máxima Calidad",
"preferHighestDesc": "Seleccionar automáticamente la mejor calidad para tu suscripción",
"streamingQualityDesc": "Calidad máxima para streaming y caché de reproducción",
"qualityChangedCacheCleared": "Calidad cambiada. Caché de reproducción limpiado.",
"outputDevice": "Dispositivo de Salida",
"audioDevice": "Dispositivo de Audio",
"exclusiveMode": "Modo Exclusivo",