39 Commits
Author SHA1 Message Date
NoLogicAlan c90f591ec1 feat(playlists): add personal saved playlists and track bookmarks (#15)
- Implement PlaylistManager with MySQL persistence (user_favorites & user_playlists)
- Add %fav command with toggle bookmark, paginated list, play, remove, and clear
- Add %playlist command to snapshot queues, queue saved playlists, and manage tracks
- Document %fav and %playlist in README command reference
2026-11-23 02:43:32 +03:00
NoLogicAlan b2af315240 docs(config): clarify self-hosted instanceUrl API endpoint formatting
- Clarify in README and config_example.json that self-hosted instances
  require the /api mount path (fixes #26)
- Add instanceUrl placeholder to docker/config_example.json
2026-11-23 01:42:03 +03:00
NoLogicAlan 6bca127365 fix(docker): update nodelink image to dev tag (fixes #27) and refresh docs 2026-11-23 01:31:10 +03:00
Fantic dc65627d82 Update supported languages table with flags 2026-11-15 05:55:32 +01:00
Fantic c7ce4045ed Update Kurdish language name in README 2026-11-15 05:31:30 +01:00
Fantic 028e31af14 Update Fluxer URL in README.md 2026-11-15 05:30:11 +01:00
Fantic 7b217ae790 Update invite link for Remix in README.md 2026-11-15 05:28:45 +01:00
Tomo 03cc3c2606 feat(i18n): add Simplified Chinese (zh-CN) and Traditional Chinese (zh-TW) locales 2026-11-10 08:12:05 +08: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 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 04aece8af3 docs: update README with missing commands, config options, and locale parity 2026-10-22 00:52:15 +03:00
NoLogicAlan 4f769f832f notsure 2026-10-14 01:49:03 +03:00
NoLogicAlan 97fe282bb3 rollback 2026-10-06 00:32:48 +03:00
NoLogicAlan 656cbfe149 testing this for a day if its bad i just wast my time 2026-10-05 03:29:05 +03:00
NoLogicAlan 771b005d7e ... 2026-09-12 01:21:05 +03:00
NoLogicAlan e0994dfbc2 ... 2026-09-11 12:18:42 +03:00
NoLogicAlan 7f1d076902 ... 2026-09-11 03:57:06 +03:00
NoLogicAlan 253d11cd57 Remix — the complete rewrite
Upgrades the bot from fluxerjs 2.2 to 3.0 and restructures everything
into a layered architecture (~28K lines):

Dependencies:
- @fluxerjs/core, util, voice: ^2.2.0 -> ^3.0.0 (typed events,
  PartialMessage payloads, camelCase API)
- @fluxerjs/sharding ^3.0.0 added — built-in sharding mode
  (shard.mjs, one process per shard)
- @discordjs/opus dropped — opusscript + prism-media cover encoding

Architecture:
- commands: every command split into submodules (player, lastfm,
  settings, debug) with a shared CommandBuilder/Loader/Handler core
- ui: embeds, paginators, help command, permission checks
- voice: gateway event routing, rejoin/247 boot recovery, state resolver
- music: player split into Queue/Search/Playback/Display mixins,
  stream pipeline + WebM/Opus muxer (no FFmpeg needed)
- dashboard: Redis pub/sub, RPC handlers, serializers
- db: MySQL manager + per-guild settings
- services: LastFm manager split into focused mixins
- utils: sharding, 24/7 helpers, API client

Runtime fixes over v2:
- Redis v5 reconnect: capped numeric backoff (0.5s ramp to 15s),
  never exhausts, auto-recovers when the server comes back
- Redis main/subscriber clients connect in parallel; clean shutdown
- Logger storm guard: identical error/warn lines deduped in a 60s window
- self-deaf fix on voice join
- config example uses redis://127.0.0.1 (avoids IPv6 ENETUNREACH)

Housekeeping: dead code removed (Tuna.mjs + follow-redirects dep),
.gitignore added (config.json, .env, node_modules, runtime state).
2026-09-09 02:04:33 +03:00
NoLogicAlan e11fca151c no comment still working on it 2026-08-28 23:51:20 +03:00
NoLogicAlan 799b527467 feat: add Docker support — Dockerfile, docker-compose, entrypoint 2026-06-21 21:14:36 +03:00
NoLogicAlan 6bbaf49a94 feat(player): per-track custom start/end trimming
Allow users to save custom start and end points for any track.
Options persist in MySQL and auto-apply on playback — the player
seeks to the configured start time and skips when the end time is
reached. Supports pause/resume and manual seek with timer recalc.

Idea by noisy EVE
2026-05-21 17:43:48 +03:00
NoLogicAlan 0f2ee99f1e Add seek validation, autoplay system, progress bar & codebase cleanup
- Add seek duration validation — seeks beyond track length are rejected
  with clear error showing max allowed position
- Add autoplay system with Last.fm similar tracks + YouTube search
  fallback — automatically queues similar tracks when queue ends
- Add live progress bar to now playing with elapsed/total time display
- Add robust ffmpeg cleanup to prevent race conditions during
  seek/skip/filter operations
- Add proper queue advancement after seek so bot stays in voice
- Add queueEnd event emission on skip/skipTo for autoplay trigger
- Add _lastPlayedTrack preservation for autoplay recommendations
2026-05-21 02:04:05 +03:00
NoLogicAlan 40b1519de3 oops 2026-05-11 01:31:24 +03:00
NoLogicAlan e11c29ed25 feat: add scrobble leaderboard and global Last.fm stats
- Add %lastfm leaderboard (alias: lb) command with paginated embed
  showing top users ranked by scrobble count with 🥇🥈🥉 medals;
  emoji reactions ◀️▶️❌ for navigation, auto-expires after timeout
- Add getLeaderboard() to LastFmManager: paginated query on
  scrobble_count DESC from lastfm_users, returns entries/totalPages
- Add syncUserScrobbleCount(): syncs local counter from Last.fm
  user.getinfo playcount; called on every %lastfm profile view
- Add _incrementScrobbleCount(): fire-and-forget increment of both
  per-user scrobble_count and global stored_scrobbles after each
  successful scrobble
- Add scrobble_count BIGINT column to lastfm_users with auto-migrate
  ALTER TABLE for existing installs (error silently ignored if
  column already exists)
- Add lastfm_stats table (single-row) tracking stored_scrobbles and
  linked_users globally; row is seeded with INSERT IGNORE on init
- Add getStoredScrobbles() and getLinkedUsersCount() with lazy
  in-memory caching for the stats row
- Add linked_users increment on first-time account link
- Show scrobble count and linked users in %stats embed when Last.fm
  is enabled (fetched in parallel, non-blocking on initial reply)
- Add locale keys responses.stats.scrobbles and
  responses.stats.linkedUsers to en, ar-SA, ckb, de-DE, pt-BR
2026-05-10 15:14:05 +03:00
NoLogicAlan 3e84002b79 adding scrobbles 2026-05-10 01:50:24 +03:00
NoLogicAlan 894d8b99ac adding lastfm to play 2026-05-10 00:09:09 +03:00
NoLogicAlan 8ac0dde343 feat: add Last.fm integration with auto-scrobbling
- Add LastFmManager with full Last.fm API auth flow (get token →
  user authorises → get session key stored in MySQL)
- Add %lastfm command (aliases: lf, lfm) with subcommands:
  link, confirm, unlink, np, profile, loved, top, recent, scrobble
- Auto-scrobble in PlayerManager: sends now-playing notification to
  all human voice-channel members on track start, then defers a
  scrobble after the configured threshold (default 50% of duration
  or 4 min, whichever comes first)
- Add lastfm config block to config_example.json (apiKey,
  apiSecret, scrobbleThreshold, scrobbleMinMs)
- Add all Last.fm locale strings to storage/locales/bot/en.json

fix: show channel as Discord mention in inactivity leave message

- RecoveryManager: changed plain activeChannelId to
  <#activeChannelId> so it renders as a clickable channel link
2026-05-09 23:47:50 +03:00
NoLogicAlan a521e5efd2 revoice 2026-05-09 17:13:43 +03:00
NoLogicAlan b1ea77b197 Fixed 2026-05-09 17:10:29 +03:00
NoLogicAlan 54fe6580b3 idk what am doing 2026-05-07 01:02:44 +03:00
NoLogicAlan caf787dd09 idk what am doing 2026-05-07 01:00:50 +03:00
NoLogicAlan a18d2883f7 idk what am doing 2026-05-07 00:58:50 +03:00
NoLogicAlan d00c9fb8a5 idk what am doing 2026-05-07 00:55:48 +03:00
NoLogicAlan 47b1615cbc forgot to push it lmaoooooo is like 3 days 2026-04-16 16:01:18 +03:00
NoLogicAlan d677cdc5f3 docs: completely overhaul README.md for better readability
- Added project badges (License, Fluxer, revoice.js, Maintained)
- Restructured "Self-Hosting" into standard developer format (Prerequisites & Installation)
- Cleaned up the commands table with realistic examples
- Added revoice.js to the About section
- Improved overall markdown syntax and visual hierarchy
2026-04-15 21:46:40 +03:00
NoLogicAlan 2820cc881c initial push to remix-bot/fluxer 2026-04-14 02:23:18 +03:00