From db464555820830458e883c962f0b9482d177564b Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 8 Feb 2009 01:49:56 +0000 Subject: fixed missing reference to new variable name when downsampling --- play/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'play/index.php') 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; -- cgit