mirror of
https://github.com/koel/koel
synced 2025-02-16 13:28:32 +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 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;
|
$transcode = true;
|
||||||
} else {
|
} else {
|
||||||
$transcode = (bool) $transcode;
|
$transcode = (bool) $transcode;
|
||||||
|
|
Loading…
Add table
Reference in a new issue