aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/music/audio_playback.py
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-05-20 16:40:28 +0200
committersalmonik <raisersoft@proton.me>2026-05-20 16:40:28 +0200
commitbdf93cbc700f6baa55a283300d5bd3d2e958bc69 (patch)
tree411459de7a546a6a214344bb1d9eb4e1bafb5405 /cogs/music/audio_playback.py
parentClean up consumers: replace polling with VoiceManager.play_source() (diff)
downloadsenator-sperma-bdf93cbc700f6baa55a283300d5bd3d2e958bc69.tar.gz
senator-sperma-bdf93cbc700f6baa55a283300d5bd3d2e958bc69.zip
Redirect play_commands imports to cogs.voice, remove audio_playback shim
- Update play_commands.py to import get_voice_manager from cogs.voice instead of going through the audio_playback.py re-export shim - Delete the audio_playback.py shim file entirely - Update test_music_audio.py imports to use cogs.voice.VoiceManager - Delete PLAN_VOICE_REFACTOR.md (plan is complete)
Diffstat (limited to 'cogs/music/audio_playback.py')
-rw-r--r--cogs/music/audio_playback.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/cogs/music/audio_playback.py b/cogs/music/audio_playback.py
deleted file mode 100644
index 5206a96..0000000
--- a/cogs/music/audio_playback.py
+++ /dev/null
@@ -1,10 +0,0 @@
1# This file is part of Senator Sperma
2# Licensed under the GPL-3.0 License
3# Copyright (C) 2026 Salmonik @ salmonik@tuta.io
4# https://codeberg.org/salmonik/senator-sperma
5
6# Re-export shim — all voice utilities now live in cogs.voice.VoiceManager.
7# Kept so existing imports in play_commands.py and ai.py keep working.
8# TODO: update importers and remove this file.
9
10from cogs.voice import VoiceManager as AudioPlaybackManager # noqa: F401