diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-12-21 08:03:20 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-12-21 08:03:20 +0000 |
commit | 975bbcebe9c68ac729dd051b008cf6c615d443c2 (patch) | |
tree | 46737108023c5d65797d39f748c53cff0c160e10 /lib/stream.lib.php | |
parent | 742f6bfa6a7b285db898da220e1799fbb9b79ded (diff) | |
download | ampache-975bbcebe9c68ac729dd051b008cf6c615d443c2.tar.gz ampache-975bbcebe9c68ac729dd051b008cf6c615d443c2.tar.bz2 ampache-975bbcebe9c68ac729dd051b008cf6c615d443c2.zip |
new interface which breaks all previous themes... and current themes, still under development
Diffstat (limited to 'lib/stream.lib.php')
-rw-r--r-- | lib/stream.lib.php | 6 |
1 files changed, 5 insertions, 1 deletions
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 |