summaryrefslogtreecommitdiffstats
path: root/templates/show_recently_played.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-28 22:56:55 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-28 22:56:55 +0000
commitd6e28b752f3f04e418a4c27f37fa67b76596d5ec (patch)
tree7425e8a886db303672c97ccebc3d145bf5fa8b5d /templates/show_recently_played.inc.php
parent223143ed3a95ad59ff2945f6746da73992012354 (diff)
downloadampache-d6e28b752f3f04e418a4c27f37fa67b76596d5ec.tar.gz
ampache-d6e28b752f3f04e418a4c27f37fa67b76596d5ec.tar.bz2
ampache-d6e28b752f3f04e418a4c27f37fa67b76596d5ec.zip
* Added new Snoopy, fixes some minor bugs
* Rewrote Album Art collection, fixing tons of logic flaws, single album art find is currently broken might even be a little faster now when using folder and id3 methods at the same time * Fixed some issues with FastCGI installs * Removed another upload file that wasn't used anymore * Tweaked Recently Played to show 'played XXX ago'
Diffstat (limited to 'templates/show_recently_played.inc.php')
-rw-r--r--templates/show_recently_played.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_recently_played.inc.php b/templates/show_recently_played.inc.php
index 3693dc27..e30ee53e 100644
--- a/templates/show_recently_played.inc.php
+++ b/templates/show_recently_played.inc.php
@@ -35,7 +35,7 @@ $time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days a
<?php foreach ($data as $row) {
$row_user = new User($row['user']);
$song = new Song($row['object_id']);
- $amount = intval(time() - $row['date']);
+ $amount = intval(time() - $row['date']+2);
$time_place = '0';
while ($amount >= 1) {