summaryrefslogtreecommitdiffstats
path: root/lib/class/song.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-15 08:35:00 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-15 08:35:00 +0000
commit1cf10721654764b366f6b105e76da071aa3c7f66 (patch)
tree046769763526b68033e8bfb521389f8db1556e25 /lib/class/song.class.php
parent5d98a104bc750053e90da5f8dd9664e0433f900d (diff)
downloadampache-1cf10721654764b366f6b105e76da071aa3c7f66.tar.gz
ampache-1cf10721654764b366f6b105e76da071aa3c7f66.tar.bz2
ampache-1cf10721654764b366f6b105e76da071aa3c7f66.zip
fixed two transcode bugs
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r--lib/class/song.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index 0ad9af68..8a9a6637 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -888,9 +888,9 @@ class Song {
// Find the target for this transcode
$conf_type = 'transcode_' . $this->type . '_target';
+ $stream_cmd = 'transcode_cmd_' . $this->type;
$this->format_type(Config::get($conf_type));
- $stream_cmd = 'transcode_cmd_' . $this->type;
if (Config::get($stream_cmd)) {
return $stream_cmd;
}