summaryrefslogtreecommitdiffstats
path: root/lib/stream.lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stream.lib.php')
-rw-r--r--lib/stream.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.lib.php b/lib/stream.lib.php
index 18b4562f..50e9f22f 100644
--- a/lib/stream.lib.php
+++ b/lib/stream.lib.php
@@ -236,7 +236,7 @@ function start_downsample($song,$now_playing_id=0,$song_name=0) {
/* Replace Variables */
- $downsample_command = conf('downsample_cmd');
+ $downsample_command = conf($song->stream_cmd());
$downsample_command = str_replace("%FILE%",$song->file,$downsample_command);
$downsample_command = str_replace("%OFFSET%",$offset,$downsample_command);
$downsample_command = str_replace("%EOF%",$eof,$downsample_command);