[GH-ISSUE #1917] [Bug]: Koel transcodes .flac file even with TRANSCODE_FLAC=false #1035

Closed
opened 2026-02-26 02:35:00 +03:00 by kerem · 1 comment
Owner

Originally created by @Itrimel on GitHub (May 12, 2025).
Original GitHub issue: https://github.com/koel/koel/issues/1917

Originally assigned to: @phanan on GitHub.

Read the Troubleshooting guide.

  • I have read and followed the Troubleshooting guide

Reproduction steps

  1. Install koel v7.3.0
  2. Set TRANSCODE_FLAC=false in .env
  3. Watch transcode temp folder (in my case /tmp/koel-transcodes/)
  4. Play .flac file

Expected behavior

No file is created in the transcode folder and the player starts immediately. This is the behavior I was seeing in v7.2.0, which I reverted to.

Actual behavior

The player will wait a little and a new file will appear in the transcode folder, signaling transcoding happened

Logs

I see nothing appearing in the logs and the browser console when transcoding happens

Koel version

v7.3.0

How did you install Koel?

Pre-compiled tar/zip archive

Additional information

  • Server OS: Debian 12
  • PHP version: 8.2.26
  • Database: MariaDB v10.11.11
  • Node version: v18.19.0
  • Browser & device: Latest Firefox and Chrome (computer)
  • Additional context:
Originally created by @Itrimel on GitHub (May 12, 2025). Original GitHub issue: https://github.com/koel/koel/issues/1917 Originally assigned to: @phanan on GitHub. ### Read the Troubleshooting guide. - [x] I have read and followed the Troubleshooting guide ### Reproduction steps 1. Install koel v7.3.0 2. Set TRANSCODE_FLAC=false in .env 3. Watch transcode temp folder (in my case /tmp/koel-transcodes/) 4. Play .flac file ### Expected behavior No file is created in the transcode folder and the player starts immediately. This is the behavior I was seeing in v7.2.0, which I reverted to. ### Actual behavior The player will wait a little and a new file will appear in the transcode folder, signaling transcoding happened ### Logs I see nothing appearing in the logs and the browser console when transcoding happens ### Koel version v7.3.0 ### How did you install Koel? Pre-compiled tar/zip archive ### Additional information - **Server OS**: Debian 12 - **PHP version**: 8.2.26 - **Database**: MariaDB v10.11.11 - **Node version**: v18.19.0 - **Browser & device**: Latest Firefox and Chrome (computer) - **Additional context**:
kerem closed this issue 2026-02-26 02:35:00 +03:00
Author
Owner

@phanan commented on GitHub (May 12, 2025):

Thanks for reporting. This is such a silly bug :)

<!-- gh-comment-id:2872986606 --> @phanan commented on GitHub (May 12, 2025): Thanks for reporting. This is such a silly bug :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1035
No description provided.