summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-21 08:03:20 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-21 08:03:20 +0000
commit975bbcebe9c68ac729dd051b008cf6c615d443c2 (patch)
tree46737108023c5d65797d39f748c53cff0c160e10 /play
parent742f6bfa6a7b285db898da220e1799fbb9b79ded (diff)
downloadampache-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 'play')
-rw-r--r--play/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index b869901a..05d04d63 100644
--- a/play/index.php
+++ b/play/index.php
@@ -206,7 +206,10 @@ else {
if ($user->prefs['play_type'] == 'downsample' || !$song->native_stream()) {
- $fp = start_downsample($song,$lastid,$song_name);
+ $results = start_downsample($song,$lastid,$song_name);
+
+ $fp = $results['handle'];
+ $song->size = $results['size'];
} // end if downsampling