summaryrefslogtreecommitdiffstats
path: root/lib/class/song.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r--lib/class/song.class.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index c08594de..44ce9602 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -698,7 +698,13 @@ class Song {
switch ($this->type) {
//TODO: fill out these cases once we have it working for m4a
case "m4a":
- $return = false;
+ $return = conf('transcode_m4a');
+ break;
+ case 'flac':
+ $return = conf('transcode_flac');
+ break;
+ case 'mpc':
+ $return = conf('transcode_mpc');
break;
default:
$return = true;