refactor(audio): extract AutoEQ proxy commands into own module

Pull autoeq_entries + autoeq_fetch_profile out of audio/commands.rs
into audio/autoeq_commands.rs (~52 LOC). They proxy autoeq.app +
GitHub raw content via Rust to bypass WebView CORS — pure HTTP-fetch
flow with no playback state coupling, so they don't need to live next
to the playback orchestrator.

lib.rs invoke_handler updated to register them under
`audio::autoeq_commands::*`. audio/commands.rs: 1830 → 1784 LOC.
This commit is contained in:
Psychotoxical
2026-05-08 13:35:43 +02:00
parent 605021102f
commit e8643c4059
4 changed files with 55 additions and 47 deletions
+2 -2
View File
@@ -395,8 +395,8 @@ pub fn run() {
audio::commands::audio_set_volume,
audio::commands::audio_update_replay_gain,
audio::commands::audio_set_eq,
audio::commands::autoeq_entries,
audio::commands::autoeq_fetch_profile,
audio::autoeq_commands::autoeq_entries,
audio::autoeq_commands::autoeq_fetch_profile,
audio::commands::audio_preload,
audio::commands::audio_play_radio,
audio::preview::audio_preview_play,