summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-03 05:53:50 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-03 05:53:50 +0000
commit28f7ad7026a864479feb92007315a22096c9e6d2 (patch)
treeff5a1b7de9fbfa35f22e00fb1f615aeb7734486f /play/index.php
parent552c3cedd78263ce385d0ac47b02ccd22ea474b3 (diff)
downloadampache-28f7ad7026a864479feb92007315a22096c9e6d2.tar.gz
ampache-28f7ad7026a864479feb92007315a22096c9e6d2.tar.bz2
ampache-28f7ad7026a864479feb92007315a22096c9e6d2.zip
broke some stuff, fixed some stuff... commiting before I turn of this box
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/play/index.php b/play/index.php
index f97c1e07..2d9c2935 100644
--- a/play/index.php
+++ b/play/index.php
@@ -146,7 +146,7 @@ if (!$song->file OR ( !is_readable($song->file) AND $catalog->catalog_type != 'r
/* Run Garbage Collection on Now Playing */
-gc_now_playing();
+Stream::gc_now_playing();
// If we are running in Legalize mode, don't play songs already playing
if (Config::get('lock_songs')) {
@@ -257,7 +257,7 @@ else {
} // else not downsampling
// Put this song in the now_playing table
-insert_now_playing($song->id,$uid,$song->time,$sid);
+Stream::insert_now_playing($song->id,$uid,$song->time,$sid);
if ($start) {
debug_event('seek','Content-Range header recieved, skipping ahead ' . $start . ' bytes out of ' . $song->size,'5');