feat(settings): make sync audio on startup opt-in

The reload_settings() call at bootstrap is now gated behind a new
sync_audio_on_startup setting (default OFF). Most users don't need
it; it exists for edge cases where Player::new() holds stale settings
(e.g., after Flatpak updates changing DB schema).

Adds toggle in Settings > Audio with i18n for all 4 locales.
This commit is contained in:
vicrodh committed 2026-02-22 19:54:12 -06:00
1 parent 0dea116c69
commit 0ee8b9db0e
8 files changed
+92 -12

No files matched your search

+1
View File
@@ -1004,6 +1004,7 @@ pub fn run() {
commands_v2::v2_set_audio_exclusive_mode,
commands_v2::v2_set_audio_dac_passthrough,
commands_v2::v2_set_audio_pw_force_bitperfect,
commands_v2::v2_set_sync_audio_on_startup,
commands_v2::v2_set_audio_sample_rate,
commands_v2::v2_set_audio_backend_type,
commands_v2::v2_set_audio_alsa_plugin,