diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-03 05:53:50 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-03 05:53:50 +0000 |
commit | 28f7ad7026a864479feb92007315a22096c9e6d2 (patch) | |
tree | ff5a1b7de9fbfa35f22e00fb1f615aeb7734486f /play | |
parent | 552c3cedd78263ce385d0ac47b02ccd22ea474b3 (diff) | |
download | ampache-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')
-rw-r--r-- | play/index.php | 4 |
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'); |