Skip to content

Releases: Baranigsiz/DiscordMusicBot

v1.0.1 - Performance, Connection Pooling & Documentation Overhaul

Choose a tag to compare

@Baranigsiz Baranigsiz released this 01 Sep 20:41

🚀 What's Changed in v1.0.1

⚡ Performance & Latency Improvements

  • Eliminated Double YouTube Extraction: Tracks added to queue now use lightweight metadata extraction (\extract_track_info) instead of immediately spawning unused \FFmpegPCMAudio\ streams.
  • Fast FFmpeg Probing: Added -probesize 32k -analyzeduration 0\ to FFmpeg arguments to reduce stream startup latency by 1-2 seconds.

📻 Autoplay & Queue Flow Enhancements

  • Instant Autoplay on Idle: Toggling Autoplay ON while the player is idle now immediately queries YouTube Mix using the last played track in history and starts playback without delay.
  • Idle Skip with Autoplay: Skipping when playback has ended now safely triggers Autoplay via playback history fallback instead of erroring out.

🌐 Network & Connection Pooling

  • Global aiohttp.ClientSession Pool: Integrated a shared HTTP session across the bot lifecycle for Spotify embed track resolution and LRCLIB lyrics fetching, saving 100-300ms per request.

🛡️ Voice State & Task Stability

  • Smart Voice Disconnect: Enhanced \on_voice_state_update\ to check if all remaining members are bots before disconnecting.
  • Graceful Progress Updater Exit: Catches \discord.NotFound\ to cleanly terminate updater tasks when now-playing embeds are deleted.
  • Centralized Player Cleanup: Added \player.cleanup()\ for complete queue and timer cleanup on stop or disconnect.

🗄️ Settings Manager Thread Safety

  • Race Condition Fix: Removed unawaited background save tasks during settings reads; writes occur safely on explicit configuration updates.

📖 Documentation & GitHub

  • Complete README Overhaul: Redesigned with badges, responsive showcase tables, command matrix, and architectural overview.
  • Topic Corrections: Fixed repository topic typo (\il8n\ -> \i18n).

🎧 v1.0.0 — Production Ready Music Experience

Choose a tag to compare

@Baranigsiz Baranigsiz released this 01 Sep 15:22

🎧 Discord Music Bot v1.0.0 - Official Release

Welcome to the first official release of DiscordMusicBot! A high-performance, feature-rich Discord music bot with zero external Java/Lavalink dependencies, built on discord.py 2.x and yt-dlp.


🚀 Key Features in v1.0.0

  • 🎛️ Interactive Control Panel: Full button-based Now Playing UI (Play/Pause, Skip, Prev, Loop, Volume Modal, Lyrics, Shuffle, Autoplay).
  • 🔍 Smart Search UI: Interactive 5-item selection menu for precise song choices.
  • 📻 24/7 Radio & Lofi Stations: Built-in streaming presets (Lofi Girl, Pop, EDM, Chillhop).
  • 🌐 Multilingual (i18n): Native support for 12 languages per server (/settings language).
  • 🟢 Dynamic Rich Presence: Real-time activity updates showing currently playing tracks or server counts.
  • 🎵 Spotify Embed Scraping: Play tracks and playlists without Spotify developer keys.
  • 🐳 Docker & Compose: One-command deployment (docker compose up -d) with pre-configured FFmpeg and volume persistence.
  • 🛡️ AFK & Resource Management: Automatic disconnect on inactivity (toggleable with /settings 24_7).

🛠️ Quick Start (Docker)

git clone https://github.com/Baranigsiz/DiscordMusicBot.git
cd DiscordMusicBot
# Set DISCORD_TOKEN in .env
docker compose up -d --build