summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-03 09:14:38 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-03 09:14:38 +0000
commit99baf7582de072847cf6307d5b291168520554b1 (patch)
tree237171eb19f3a9012488cd7f2c5b82608a17b861 /play/index.php
parent28f7ad7026a864479feb92007315a22096c9e6d2 (diff)
downloadampache-99baf7582de072847cf6307d5b291168520554b1.tar.gz
ampache-99baf7582de072847cf6307d5b291168520554b1.tar.bz2
ampache-99baf7582de072847cf6307d5b291168520554b1.zip
added paging to the playlist view, corrected a few stupid parse errors / mistakes
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/play/index.php b/play/index.php
index 2d9c2935..19bc1cd4 100644
--- a/play/index.php
+++ b/play/index.php
@@ -145,12 +145,12 @@ if (!$song->file OR ( !is_readable($song->file) AND $catalog->catalog_type != 'r
}
-/* Run Garbage Collection on Now Playing */
-Stream::gc_now_playing();
-
// If we are running in Legalize mode, don't play songs already playing
if (Config::get('lock_songs')) {
- if (!check_lock_songs($song->id)) { exit(); }
+ if (!check_lock_songs($song->id)) {
+ debug_event('Denied','Song ' . $song->id . ' is currently being played and lock songs is enabled','1');
+ exit();
+ }
}
/* Check to see if this is a 'remote' catalog */