summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
Diffstat (limited to 'play')
-rw-r--r--play/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/play/index.php b/play/index.php
index d13c447f..23581638 100644
--- a/play/index.php
+++ b/play/index.php
@@ -118,6 +118,9 @@ $catalog = new Catalog($song->catalog);
/* Update the users last seen information */
$GLOBALS['user']->update_last_seen();
+/* Run Garbage Collection on Now Playing */
+gc_now_playing();
+
/* Check to see if this is a 'remote' catalog */
if ($catalog->catalog_type == 'remote') {
// redirect to the remote host's play path
@@ -133,9 +136,6 @@ if ($catalog->catalog_type == 'remote') {
} // end if remote catalog
-/* Run Garbage Collection on Now Playing */
-gc_now_playing();
-
// If we are running in Legalize mode, don't play songs already playing
if (conf('lock_songs')) {
if (!check_lock_songs($song->id)) { exit(); }