Add YTAudio cog: YouTube playback via yt-dlp -> mp3 -> Lavalink

Standalone cog that owns the Red-Lavalink client connection
(initialize on startup, close on unload) and plays YouTube/yt-dlp
sources by downloading audio, transcoding to mp3, and playing through
Lavalink's local source. Per-guild queues, multi-VC capable. Commands:
play, skip, stop, pause, resume, queue, nowplaying, volume, join, leave.
This commit is contained in:
owen
2026-09-17 17:00:42 -05:00
parent 89c96259fa
commit fde236118d
3 changed files with 438 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"author": ["Kingston"],
"install_msg": "YTAudio loaded. It owns the Lavalink client connection (initialize/close) and plays YouTube via yt-dlp -> mp3 -> Lavalink local source. Ensure the standalone Lavalink systemd node is running on localhost:2333.",
"name": "YTAudio",
"short": "YouTube audio via yt-dlp -> mp3 -> Lavalink, independent of the built-in Audio cog.",
"description": "Plays YouTube (and yt-dlp-supported sites) by downloading audio with yt-dlp, transcoding to mp3, and playing through Lavalink's local source. Owns the shared Red-Lavalink client connection so ttstoy and other cogs can use get_player() without the built-in Audio cog. Per-guild queues; multi-voice-channel capable.",
"requirements": ["yt-dlp"],
"tags": ["audio", "music", "youtube", "yt-dlp", "lavalink", "voice"],
"min_bot_version": "3.5.0"
}