[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1843] fix now-playing?
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1843] fix now-playing? |
Date: |
Tue, 26 May 2009 23:33:12 +0000 |
Revision: 1843
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1843
Author: clint
Date: 2009-05-26 23:33:12 +0000 (Tue, 26 May 2009)
Log Message:
-----------
fix now-playing?
Modified Paths:
--------------
trunk/nixtape/data/Server.php
Modified: trunk/nixtape/data/Server.php
===================================================================
--- trunk/nixtape/data/Server.php 2009-05-26 06:00:59 UTC (rev 1842)
+++ trunk/nixtape/data/Server.php 2009-05-26 23:33:12 UTC (rev 1843)
@@ -29,6 +29,7 @@
require_once($install_path . '/utils/arc/ARC2.php');
require_once($install_path . '/utils/resolve-external.php');
require_once($install_path . '/utils/licenses.php');
+require_once($install_path . '/../turtle/temp-utils.php'); // this is
extremely dodgy and shameful
/**
* Provides access to server-wide data
@@ -205,7 +206,7 @@
AND lower(n.album) =
lower(t.album_name)
AND lower(n.track) =
lower(t.name)
AND lower(n.mbid) =
lower(t.mbid)
- WHERE lower(username) = ' .
$adodb->qstr(strtolower($username)) . '
+ WHERE ss.userid= ' .
username_to_uniqueid($username) . '
ORDER BY t.streamable DESC, n.expires
DESC LIMIT ' . (int)($number));
} else {
$data = $adodb->CacheGetAll(60, 'SELECT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1843] fix now-playing?,
Clint Adams <=