summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-08 01:49:56 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-08 01:49:56 +0000
commitdb464555820830458e883c962f0b9482d177564b (patch)
tree8a800debf59b2b01a9791479f63f618698cda94b /play/index.php
parent00f3ef062c9187b5c75f1a2b0c553f139e83ee8d (diff)
downloadampache-db464555820830458e883c962f0b9482d177564b.tar.gz
ampache-db464555820830458e883c962f0b9482d177564b.tar.bz2
ampache-db464555820830458e883c962f0b9482d177564b.zip
fixed missing reference to new variable name when downsampling
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index cd5e32d6..d98ca31e 100644
--- a/play/index.php
+++ b/play/index.php
@@ -303,7 +303,7 @@ if (Config::get('downsample_remote')) {
// If they are downsampling, or if the song is not a native stream or it's non-local
if ((Config::get('transcode') == 'always' || !$media->native_stream() || $not_local) && Config::get('transcode') != 'never') {
debug_event('Downsample','Starting Downsample...','5');
- $fp = Stream::start_downsample($song,$lastid,$song_name,$start);
+ $fp = Stream::start_downsample($media,$lastid,$song_name,$start);
$song_name = $media->f_artist_full . " - " . $media->title . "." . $media->type;
// Note that this is downsampling
$downsampled_song = true;