mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[PR #1458] [MERGED] feat: Add env TRANSCODE_FLAC (default true) to toggle transcoding on/off for FLAC files #1722
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1722
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/1458
Author: @MaciejGorczyca
Created: 6/11/2022
Status: ✅ Merged
Merged: 10/8/2022
Merged by: @phanan
Base:
master← Head:master📝 Commits (1)
4a10a78Add env TRANSCODE_FLAC (default true) that allows toggling off transcoding when file type is FLAC📊 Changes
2 files changed (+2 additions, -1 deletions)
View changed files
📝
app/Services/TranscodingService.php(+1 -1)📝
config/koel.php(+1 -0)📄 Description
It seems there were some attempts at making this work before but apparently they weren't done the right way or something.
The following request was closed as stale: https://github.com/koel/koel/pull/527
The following request was denied due to confusing label and wrong approach (?) https://github.com/koel/koel/pull/699
The only changes are: new config variable
koel.streaming.transcode_flacthat pulls data fromTRANSCODE_FLACenv var and defaults totrueinconfig/koel.phpfile and extended bool check inapp/Services/TranscodingService.phpfile. Full diff here.The default behavior is the same as before but now you can turn off transcoding simply by setting env variable.
I built the Docker image with my changes here: https://hub.docker.com/r/coust/koel
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.