Commit Graph
449 Commits
Author SHA1 Message Date
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
NoLogicAlan e31c77e0d8 ... 2026-10-22 03:16:30 +03:00
NoLogicAlan 64e69275a4 style(stats): overhaul embed into multi-column grid with bot thumbnail and localized categories 2026-10-22 03:09:21 +03:00
NoLogicAlan d6c233c311 feat(stats): localize music stats, add shard and queue metrics, remove audio engine line 2026-10-22 02:59:23 +03:00
NoLogicAlan af23db1255 fix(voice): fail-fast on missing connect perms and purge un-restorable player snapshots on boot 2026-10-22 02:32:25 +03:00
NoLogicAlan 784458f387 Fix Option builder for bassboost and normalize using addChoiceOption 2026-10-22 02:16:56 +03:00
NoLogicAlan ee1b9be917 Add localized response strings for normalize, bassboost, speed, and pitch across all 6 locales 2026-10-22 02:10:42 +03:00
NoLogicAlan 351336ea19 Add volume normalization, DSP filters (speed, pitch, bassboost), and playlist pagination (#16, #9, #17)
- Implement EBU R128 dynamic volume normalization & ReplayGain leveling in src/music/audio/VolumeNormalizer.mjs and commands/normalize.mjs (#16)
- Add real-time audio filter hot-reloading in PlaybackMixin.mjs and FluxerAudioBridge.mjs (#9)
- Add commands for %bassboost (low/medium/hard), %speed (0.5x-2.0x), and %pitch (0.5x-2.0x) (#9)
- Implement non-blocking background queue ingestion with progressive progress updates for large Spotify & SoundCloud playlists in SearchMixin.mjs (#17)
- Configure playlistLoadLimit: 10 in docker/nodelink.config.json (#17)
- Update README documentation and commands table (total 43 commands)
2026-10-22 01:59:45 +03:00
NoLogicAlan 90a53f047f Optimize MySQL connection pools & add Docker healthcheck with graceful queue flush (#21, #12)
- Unify MySQL pools in src/db/PoolManager.mjs shared across Settings, TrackOptions, LastFm, Dashboard, and PlayerStateStore
- Support global config.mysql.connectionLimit (default 15), preventing connection starvation
- Add gracefulShutdown() in Bot.mjs to flush active player queues and playback positions to MySQL on SIGTERM/SIGINT
- Update shard.mjs to forward SIGTERM and await shard worker queue flushes before exit
- Add event-loop responsiveness healthcheck in docker-compose.yml and Dockerfile via heartbeat probe
- Document connectionLimit and queue persistence in README and config templates
2026-10-22 01:37:42 +03:00
NoLogicAlan 665be29a16 feat: on-demand lyrics query, queue range clearing, and nodelink auto-reconnect (#13, #14, #20) 2026-10-22 01:16:33 +03:00
NoLogicAlan 08e5d363fc fix(player, ui, voice): resolve seek 0 validation, help paginator reset, and voice retry backoff (#22) 2026-10-22 01:04:14 +03:00
NoLogicAlan 04aece8af3 docs: update README with missing commands, config options, and locale parity 2026-10-22 00:52:15 +03:00
NoLogicAlan fa5bc68f16 fix(player, voice): resolve queue loop recycling, 24/7 backoff cooldown, and command routing (#10, #11) 2026-10-21 04:29:20 +03:00
NoLogicAlan cf278ed68c fix: correct unknown command name reporting and silence background voice pings (#10) 2026-10-21 04:14:10 +03:00
NoLogicAlan f2bfff59b5 fix(voice): prevent 24/7 rejoin spam when bot is not in guild or voice times out
- Check guild membership before BootRecovery and Watchdog sweeps; keep settings intact if bot is not in server
- Wire up RejoinBackoff to apply exponential cooldown when voice joins time out
- Stop redundant retry loops and deduplicate join failure logs
2026-10-21 03:38:12 +03:00