summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
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;