This commit is contained in:
An Phan 2016-08-10 09:08:52 +08:00
parent 07b23fee69
commit 8065c00f94
No known key found for this signature in database
GPG key ID: 05536BB4BCDC02A2

View file

@ -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;