Commit Graph
513 Commits
Author SHA1 Message Date
NoLogicAlan 08634adb88 fix(player): fix HLS live edge, silence stderr log warnings, and fix queue auto-advance 2026-11-04 01:04:45 +03:00
NoLogicAlan 357197016b ... 2026-11-02 03:25:00 +03:00
NoLogicAlan f939878028 ... 2026-11-02 03:18:56 +03:00
NoLogicAlan a5afb6651a ... 2026-11-02 03:13:25 +03:00
NoLogicAlan 37fe5146cb ... 2026-11-02 03:03:44 +03:00
NoLogicAlan f28b798084 ... 2026-11-02 02:59:39 +03:00
NoLogicAlan 71bd628549 .... 2026-11-02 02:52:02 +03:00
NoLogicAlan 69b158f7f6 ... 2026-11-02 02:45:33 +03:00
NoLogicAlan 975eeca389 ... 2026-11-02 02:36:06 +03:00
NoLogicAlan 36dcbd6687 ... 2026-11-02 02:26:24 +03:00
NoLogicAlan cc679f5735 ... 2026-11-02 02:00:45 +03:00
NoLogicAlan 65aa23049e ... 2026-11-02 01:20:33 +03:00
NoLogicAlan c419e9e7c6 fix(audio): support continuous playback of YouTube Live and HLS streams
- Decode aac_hls/m3u8 streams returned by trackstream via in-process ffmpeg
- Correct isStream/isLive detection from Lavalink track info
- Clamp live stream duration to zero to prevent premature end-of-track triggers
- Display LIVE badge for live broadcast tracks
2026-11-02 01:06:46 +03:00
NoLogicAlan 0ec41c9bb5 fix(audio): handle loadstream timeout and add trackstream/ffmpeg fallbacks
- Reduce loadstream connect timeout from 60s to 12s to fail fast on unresponsive nodes
- Add graceful fallback in Route B and Route 3c to trackstream and in-process ffmpeg
- Prevent unhandled loadstream timeout exceptions from crashing playback
2026-11-01 01:47:30 +03:00
NoLogicAlan a0d6f32ea8 fix(ui,music): handle deleted message replies and safe null duration during restore
- Fall back to channel send when replyingTo message was deleted (UNKNOWN_MESSAGE 404)
- Safely handle null duration in dashboard convertVideo and player embed during session restore
- Protect lastfm scrobbler and search mixins from null duration properties
2026-10-30 00:30:37 +03:00
NoLogicAlan 7c5fb1e468 feat(music): support direct media playback from Fluxer attachments and uploaded files (#24)
- Add AttachmentUtils for detecting fluxerusercontent.com URLs and chat file attachments
- Support playing uploaded audio/video files directly via %play and %playnext
- Add Route 3d in-process ffmpeg decoding for container formats (.mp4, .mkv, .mov, etc.)
- Add native zero-re-encode passthrough for .opus, .webm, and .ogg attachments
- Add 📎 Fluxer Attachment source badges and embeds across all 6 locales
- Fixes #24
2026-10-29 03:08:20 +03:00
NoLogicAlan 91e7812c30 fix(player): add ICY support to probe and suppress false-alarm radio metadata warnings
- Add -icy 1 and -analyzeduration flags to probe.mjs for Shoutcast/Icecast HTTP streams
- Silently fall back to station display without logging logger.warn when stream metadata is unavailable
2026-10-28 02:56:30 +03:00
NoLogicAlan c007bb93f8 fix(lastfm): optimize getTotalScrobbles fast path and rate-limit background syncs
- Read scrobble count sum directly from local database in getTotalScrobbles() so %stats renders instantly without timing out
- Run user playcount sync asynchronously in the background with gentle 200ms batch spacing to prevent Last.fm API rate-limiting
- Suppress false-alarm ErrorChannel warnings on transient background sync drops
- Include error cause details in apiCall fetch failures for easier network diagnostics
2026-10-28 02:38:56 +03:00
NoLogicAlan bf376c8861 fix(core): declare module-scoped _locale in ErrorChannel
- Fix ReferenceError on boot by declaring let _locale at module scope
- Resolves shard crash during initErrorChannel execution
2026-10-28 02:26:07 +03:00
NoLogicAlan 3b9620012f feat: modernize UI, overhaul ErrorChannel telemetry, and achieve 100% 6-locale parity
- Core & Telemetry:
  * Overhaul ErrorChannel (config.errorLogChannel) to rich Pro Embeds with severity color coding (Error, Warn, Info).
  * Add structured crash reports featuring syntax-highlighted stack traces, uptime, and RSS memory telemetry.
  * Add log flood drop notifications and startup connection status announcement.
  * Support dynamic self-hosted Fluxer API base resolution (config.apiBase / config['fluxer.js'].api).
  * Wire ErrorChannel into the localization system with dynamic _t() translation and safe fallback.

- Localization & i18n:
  * Expand all 6 locale files (en, ar-SA, ckb, tr, de-DE, pt-BR) to 1,112 keys each.
  * Achieve 100% key parity and 0 variable mismatches across all supported languages.
  * Localize all embed titles, author badges, footers, and system responses.

- Commands & Modern UI:
  * Upgrade all commands (playback, queue, audio DSP, utility, lastfm, settings, owner) to the modern Pro UI embed design.
  * Add previous, replay, and skipto queue navigation commands with history tracking.
  * Replace raw unicode escapes with literal UTF-8 emojis.
  * Maintain clean codebase standards (zero single-line comments introduced, commands/stats.mjs strictly untouched).

- Architecture & Voice:
  * Enhance FluxerAudioBridge, VoiceStateRouting, and VoiceStateCache for reliable voice reconnects.
  * Refactor centralized database pooling and player lifecycle mixins.
2026-10-28 02:19:26 +03:00
NoLogicAlan c0c95610ac feat(player): add %skipto command, empty voice auto-pause, and server mute guard 2026-10-27 03:47:02 +03:00
NoLogicAlan dfe77d86b9 docs(readme): ... 2026-10-27 03:20:04 +03:00
NoLogicAlan 5dc286e364 feat(docs): update README with playback history and instant replay features
refactor(commands): remove unused imports from various command files
refactor(src): clean up imports in multiple source files for better organization (#21)
2026-10-27 03:11:37 +03:00
NoLogicAlan e33fbb2fdb feat(player): add %previous, %replay, livekit skip guard, and nodelink auto-reconnect (#11, #13, #18, #19, #23) 2026-10-27 02:58:26 +03:00
NoLogicAlan 53d0990ebe fix(core): reset textChannel reference on announcement permission errors
- Unset player.textChannel when encountering MISSING_PERMISSIONS (403)
- Prevents player from repeatedly attempting to announce in blocked channels
2026-10-27 00:18:13 +03:00
NoLogicAlan 5d29301b38 fix(i18n): resolve placeholder typos, complete option descriptions and speed keys 2026-10-26 02:42:33 +03:00
NoLogicAlan edcdd4ddef feat(ui): complete UI embed 2026-10-26 02:36:56 +03:00
NoLogicAlan e8171dce26 feat(ui): modernize bot commands, Last.fm suite, and system embeds
- Modernize audio controls (%volume, %volumedefault, %bassboost, %autoplay, %trackopt, %shuffle, %clear, %list, %pause, %resume)
- Upgrade Last.fm suite (%lastfm play directory, spotlight cards, music podiums, tags, and profile stats)
- Polish system & voice embeds (%vote supporter verification, %servers network directory, %forceleave, and 24/7 watchdog)
- Achieve 100% localization parity across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR) with zero missing keys
2026-10-26 02:25:02 +03:00
NoLogicAlan 885db461ce feat(embeds): upgrade settings, 24/7 watchdog, lastfm UI and fix footer requester mentions
- Fix raw <@ID> mention syntax in player added-to-queue embed footers by resolving display username
- Restore all original 247Panel translation keys across all 6 locales and merge watchdog monitor keys
- Upgrade %settings get to modular categorized Server Control Dashboard
- Upgrade %247 panel to live voice watchdog and connection health monitor
- Upgrade %fm profile to Last.fm music identity card with user avatar and stats
- Upgrade %fm artistinfo to artist spotlight card with tags, bio, and plays matrix
- Upgrade %fm cover to high-resolution album artwork gallery frame
- Maintain 0 missing keys across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-26 00:41:05 +03:00
NoLogicAlan 36b27d466b feat(embeds): upgrade settings, 24/7 watchdog, and lastfm info embeds
- Upgrade %settings get to modular categorized Server Control Dashboard
- Upgrade %247 panel to live voice watchdog and connection health monitor
- Upgrade %fm profile to Last.fm music identity card with user avatar and stats
- Upgrade %fm artistinfo to artist spotlight card with tags, bio, and plays matrix
- Upgrade %fm cover to high-resolution album artwork gallery frame
- Add complete translations across all 6 locales (0 missing keys)
2026-10-25 04:16:36 +03:00
NoLogicAlan 63433816c4 feat(i18n): localize all newly upgraded command embeds across 6 languages
- Add complete translations for en, ar-SA, ckb, tr, de-DE, and pt-BR
- Localize author headers, fields, and footers for playnext, remove, move, and trackopt
- Localize audio mastering fields for normalize and volumedefault
- Localize Last.fm whoknows leaderboards and Crown Holder cards
- Localize help command inspector and voice channel picker embeds
- Ensure 0 missing keys and 100% translation coverage
2026-10-25 04:03:33 +03:00
NoLogicAlan 8689dee50a feat(ui): overhaul remaining embeds for help, queue ops, audio mastering & community
- Upgrade %help overview with feature highlights and %help <command> with rich embed inspector
- Fix %playnext embed wrapping bug causing [object Object] and add Playing Next badge
- Upgrade %trackopt set/get/play with visual cut-window timeline bars
- Upgrade %remove and %move with queue change receipt cards
- Upgrade %normalize and %volumedefault with EBU R128 mastering and volume slider bars
- Upgrade %whoknows with ranked Crown Holder cards and podium medals
- Upgrade %invite and %support with rich in-embed markdown links (no button dependencies)
- Upgrade voice join and %vote with branded status embeds
2026-10-25 03:54:02 +03:00
NoLogicAlan 4c3c04bd7d feat(ui): upgrade audio DSP, seek, thumbnail, and voice session embeds
- Modernize %seek with track artwork thumbnail and visual progress bar
- Enhance %filter with real-time DSP active status badges and card spacing
- Add detailed frequency band indicators to %bassboost, %speed, and %pitch
- Redesign %thumbnail with framed artwork and song metadata
- Transform %leave into a structured voice session termination card
- Polish %ping with categorized latency health metrics (REST, Gateway, Audio Node)
- Leave %stats untouched as intended
- Complete translations across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-25 03:28:27 +03:00
NoLogicAlan 8874ed1ec6 feat(ui): upgrade playback action embeds
- Redesign %skip with skipped track thumbnail, elapsed time, and up-next preview
- Upgrade %pause and %resume with rich track cards and timestamp badges
- Add visual volume meter gauge (0-150%) to %volume
- Modernize %loop with single-track and queue-loop status badges
- Enhance %autoplay with status pills and recommendation engine details
- Polish %shuffle and %clear with queue reorder summaries and track counts
- Full translations added across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-25 03:19:11 +03:00
NoLogicAlan 2494bf79d6 feat(ui): upgrade queue, search, lyrics, and radio embeds
- Transform %queue / %list with Now Playing thumbnail, ranked item cards, and localized footer
- Enhance %search with provider icons, artist metadata, and localized cancel options
- Polish %lyrics with album thumbnail, Synced badge, and structured header
- Redesign %radio directory with command pills and localized pagination controls
- Standardize brand color 0xe9196c across all player commands
- Add complete translations across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-25 03:11:24 +03:00
NoLogicAlan b7f20fcb02 feat(music): fully localize now-playing embeds, footers, and source platforms 2026-10-25 03:02:22 +03:00
NoLogicAlan 53e3a7e4de feat(ui): overhaul queue and playback embeds with brand color #e9196c and full locales
- Redesign %np, Added-to-Queue, and Auto-Announcement embeds with rich 3-column layouts
- Standardize all embeds to brand color #e9196c
- Transform Queue-Ended announcement with quick-action suggestions (%radio, %autoplay)
- Unify message forwarder in commands/play to support rich EmbedBuilder payloads
- Add native localization keys across all 6 supported locales (en, ar-SA, tr, de-DE, pt-BR, ckb)
2026-10-25 02:50:40 +03:00
NoLogicAlan af2c725b54 fix(audio/core): fix stream demuxer crashes, %clear range parsing, and ghost players
- audio: prevent EBML demuxer crash by retaining paused HTTP stream mode
- audio: remux Ogg containers to WebM and pass direct WebM on zero-seek
- audio: suppress uncaught demuxer stream errors in process exception handler
- commands: fix NaN bug in %clear range deletion and sanitize option parsing
- voice: eliminate ghost players on guild/channel delete and voice disconnects
- stats: optimize MySQL playback persistence and track counters
2026-10-25 02:07:24 +03:00
NoLogicAlan 618ecb1a0b fix(music): resolve ghost players on channel/guild delete and fix clear command NaN range 2026-10-24 04:00:25 +03:00
NoLogicAlan a780ec22c8 feat(stats): persist user and global track counts in mysql tables 2026-10-24 01:55:21 +03:00
NoLogicAlan 70f124294d fix(stats): set initial tracks played to 4814 and robust bidirectional redis sync 2026-10-24 01:46:03 +03:00
NoLogicAlan 5714f7b2c8 fix(core): resolve unhandled rejections on 403s and undefined channel guildId 2026-10-24 01:28:12 +03:00
NoLogicAlan a467611e37 test 2026-10-24 01:14:33 +03:00
NoLogicAlan ec441ea20a fix(core): resolve unhandled rejections on 403s and undefined channel guildId
- Safely resolve guildId in CommandHandler replyHandler and prefix formatters
- Catch MISSING_PERMISSIONS and COMMUNICATION_DISABLED (403) across MessageHandler send/reply/edit
- Prevent join failure in PlayerLifecycleMixin when text channel messages are denied
- Suppress sending error-replies into channels where the bot lacks send permissions
2026-10-24 01:00:30 +03:00
NoLogicAlan c1dbda2068 feat(stats): add tracks played counter and layout improvements
- Track cumulative played songs persistently via TrackStats and storage/stats.json
- Multi-shard atomic sync via Redis INCR
- Enlarge category headers with markdown H3 in description
- Add translations across all 6 locales
2026-10-23 01:33:35 +03:00
NoLogicAlan 7bd80e62f7 feat(stats): add persistent tracks played counter with redis sync 2026-10-23 01:32:38 +03:00
NoLogicAlan 1e02478fb6 style(stats) 2026-10-23 00:56:31 +03:00
NoLogicAlan 3e30cdc6a3 fix(stats): display current and total shards as current/total 2026-10-22 03:36:55 +03:00
NoLogicAlan e9d0a0b54b ... 2026-10-22 03:29:00 +03:00
NoLogicAlan c9cf813e6a style(stats) 2026-10-22 03:23:27 +03:00