mirror of
https://github.com/koel/koel
synced 2024-11-24 21:23:06 +00:00
Fixes #396
This commit is contained in:
parent
07b23fee69
commit
8065c00f94
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class SongController extends Controller
|
|||
}
|
||||
|
||||
// If transcode parameter isn't passed, the default is to only transcode flac
|
||||
if (null === $transcode && ends_with(mime_content_type($song->path), 'flac')) {
|
||||
if (false === $transcode && ends_with(mime_content_type($song->path), 'flac')) {
|
||||
$transcode = true;
|
||||
} else {
|
||||
$transcode = (bool) $transcode;
|
||||
|
|
Loading…
Reference in a new issue