summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-05-01 07:22:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-05-01 07:22:07 +0000
commita02b8ce20746ef5449e661ac8ffdb4e1974e65c2 (patch)
treedb1e0b2a6ef1b9fa7bfaa65e2fdb8eb22286f063 /play
parentaf554e6296eff9ee08ad59597f27378e4b2a8db8 (diff)
downloadampache-a02b8ce20746ef5449e661ac8ffdb4e1974e65c2.tar.gz
ampache-a02b8ce20746ef5449e661ac8ffdb4e1974e65c2.tar.bz2
ampache-a02b8ce20746ef5449e661ac8ffdb4e1974e65c2.zip
fixed clean, added lang to installer (thx ros) and cleaned up catalog display a bit and mojoed lang list
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(); }