refactor: remove legacy volume_boost references in favor of generalized player effects API

This commit is contained in:
mmacierzanka committed 2026-09-11 01:57:26 +02:00
1 parent a12b726648
commit 39403b8238
12 files changed
+27 -112

No files matched your search

-2
View File
@@ -55,8 +55,6 @@ export const api = {
skip: () => post('/api/skip'),
stop: () => post('/api/stop'),
setVolume: (volume: number) => post('/api/volume', { volume }),
setVolumeBoost: (enabled?: boolean) =>
post<{ status: string; volume_boost: boolean }>('/api/volume_boost', { enabled }),
toggleEffect: (effectId: string, enabled?: boolean) =>
post<{ status: string; effect_id: string; active: boolean; active_effects: string[] }>(
'/api/effects/toggle',
-2
View File
@@ -65,8 +65,6 @@ export interface BotStatus {
loop_single: boolean
loop_playlist: boolean
volume: number
volume_boost?: boolean
volume_boost_multiplier?: number
effects?: PlayerEffect[]
active_effects?: string[]
current: CurrentTrack | null