summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2011-04-11 00:52:37 -0400
committerPaul Arthur <flowerysong00@yahoo.com>2011-04-11 00:52:37 -0400
commita273b0e5660bf37c019553b358a14b101a977b5d (patch)
treeaf4b29949a59bb9108876fbbb7ea47dc9c428d68
parentf7c1e57cf021f1d6f00b209f1640bc24c6303391 (diff)
downloadampache-a273b0e5660bf37c019553b358a14b101a977b5d.tar.gz
ampache-a273b0e5660bf37c019553b358a14b101a977b5d.tar.bz2
ampache-a273b0e5660bf37c019553b358a14b101a977b5d.zip
Set the correct variable.
-rw-r--r--lib/class/song.class.php6
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;
}