From 975bbcebe9c68ac729dd051b008cf6c615d443c2 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Wed, 21 Dec 2005 08:03:20 +0000 Subject: new interface which breaks all previous themes... and current themes, still under development --- lib/stream.lib.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/stream.lib.php') diff --git a/lib/stream.lib.php b/lib/stream.lib.php index 50e9f22f..57be2fe3 100644 --- a/lib/stream.lib.php +++ b/lib/stream.lib.php @@ -250,7 +250,11 @@ function start_downsample($song,$now_playing_id=0,$song_name=0) { $fp = @popen($downsample_command, 'r'); - return ($fp); + /* We need more than just the handle here */ + $return_array['handle'] = $fp; + $return_array['size'] = $sample_ration*$song->size; + + return ($return_array); } // start_downsample -- cgit