palico-bot/test
Shinuwa 98f4d29ac7 Encode jukebox audio with native ffmpeg, normalise loudness, read metadata
- Play every track through an ffmpeg process that normalises loudness
  (EBU R128) and outputs Ogg Opus, handed to Discord as is: no more Opus
  encoding in JavaScript with opusscript. Measured at over 40x real time,
  about 2% of a core while playing. Closing the stream kills ffmpeg.
- Encoding at upload instead was ruled out: over two minutes for an 85-minute
  mix, during which the upload would hang.
- Read duration, title and artist with ffprobe at upload; default the title
  to "Artist - Title" or the file name without extension.
- Fill the duration of existing library entries at startup.
- Expose the position of the current track in queue snapshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:10:49 +01:00
..
audio.test.js Encode jukebox audio with native ffmpeg, normalise loudness, read metadata 2026-11-29 12:10:49 +01:00
auth.test.js Harden bot, storage and web API 2026-06-30 17:25:00 +02:00
commands.test.js Fix deploy and lock down the DM route; add /invitation 2026-11-29 10:57:22 +01:00
directMessages.test.js Let trusted apps add an embed and a link button to Discord direct messages 2026-11-29 11:24:20 +01:00
invitation.test.js Fix deploy and lock down the DM route; add /invitation 2026-11-29 10:57:22 +01:00
invitationCommand.test.js Explain missing channel access in /invitation; log DM requests 2026-11-29 11:22:10 +01:00
musicQueue.test.js Encode jukebox audio with native ffmpeg, normalise loudness, read metadata 2026-11-29 12:10:49 +01:00
serializers.test.js Harden bot, storage and web API 2026-06-30 17:25:00 +02:00
storageManager.test.js Encode jukebox audio with native ffmpeg, normalise loudness, read metadata 2026-11-29 12:10:49 +01:00
webServer.test.js Make Discord commands and the deploy pipeline sturdier 2026-11-29 12:04:43 +01:00