librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1886] username for recent serverwide-scrobbles for no


From: Clint Adams
Subject: [Librefm-commits] [1886] username for recent serverwide-scrobbles for now
Date: Wed, 03 Jun 2009 14:49:36 +0000

Revision: 1886
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1886
Author:   clint
Date:     2009-06-03 14:49:36 +0000 (Wed, 03 Jun 2009)
Log Message:
-----------
username for recent serverwide-scrobbles for now

Modified Paths:
--------------
    trunk/nixtape/data/Server.php

Modified: trunk/nixtape/data/Server.php
===================================================================
--- trunk/nixtape/data/Server.php       2009-06-03 14:49:33 UTC (rev 1885)
+++ trunk/nixtape/data/Server.php       2009-06-03 14:49:36 UTC (rev 1886)
@@ -113,6 +113,7 @@
                foreach($res as &$i) {
                        $row = sanitize($i);
 
+                       $row['username'] = uniqueid_to_username($row['userid']);
                        $row['userurl'] = 
Server::getUserURL(uniqueid_to_username($row['userid']));
                        if ($row['album']) {
                                $row['albumurl'] = 
Server::getAlbumURL($row['artist'], $row['album']);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]