librefm-commits
[Top][All Lists]
Advanced

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

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


From: Clint Adams
Subject: [Librefm-commits] [1880] username for recent serverwide-scrobbles for now
Date: Fri, 29 May 2009 00:51:16 +0000

Revision: 1880
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1880
Author:   clint
Date:     2009-05-29 00:51:16 +0000 (Fri, 29 May 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-05-29 00:44:26 UTC (rev 1879)
+++ trunk/nixtape/data/Server.php       2009-05-29 00:51:16 UTC (rev 1880)
@@ -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]