diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2011-04-11 00:52:37 -0400 |
---|---|---|
committer | Paul Arthur <flowerysong00@yahoo.com> | 2011-04-11 00:52:37 -0400 |
commit | a273b0e5660bf37c019553b358a14b101a977b5d (patch) | |
tree | af4b29949a59bb9108876fbbb7ea47dc9c428d68 | |
parent | f7c1e57cf021f1d6f00b209f1640bc24c6303391 (diff) | |
download | ampache-a273b0e5660bf37c019553b358a14b101a977b5d.tar.gz ampache-a273b0e5660bf37c019553b358a14b101a977b5d.tar.bz2 ampache-a273b0e5660bf37c019553b358a14b101a977b5d.zip |
Set the correct variable.
-rw-r--r-- | lib/class/song.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php index 1d5329a0..c6b1f0b2 100644 --- a/lib/class/song.class.php +++ b/lib/class/song.class.php @@ -977,16 +977,16 @@ class Song extends database_object implements media { if (Config::get($conf_var)) { $this->_transcoded = true; - $this->_transcoded_from = $this->type; + $this->transcoded_from = $this->type; $this->_transcode_cmd = Config::get($conf_cmd); $this->format_type(Config::get($conf_type)); - if ($this->type == $this->_transcoded_from) { + if ($this->type == $this->transcoded_from) { $this->_resampled = true; } debug_event('transcode', 'Transcoding from ' . - $this->_transcoded_from . ' to ' . $this->type, 5); + $this->transcoded_from . ' to ' . $this->type, 5); return false; } |