[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1107] We may wish to allow more than one album of the
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1107] We may wish to allow more than one album of the same name. |
Date: |
Sat, 02 May 2009 03:13:53 +0000 |
Revision: 1107
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1107
Author: clint
Date: 2009-05-02 03:13:53 +0000 (Sat, 02 May 2009)
Log Message:
-----------
We may wish to allow more than one album of the same name.
Modified Paths:
--------------
trunk/gnukebox/scrobble-utils.php
Modified: trunk/gnukebox/scrobble-utils.php
===================================================================
--- trunk/gnukebox/scrobble-utils.php 2009-05-02 02:45:33 UTC (rev 1106)
+++ trunk/gnukebox/scrobble-utils.php 2009-05-02 03:13:53 UTC (rev 1107)
@@ -71,7 +71,7 @@
function createAlbumIfNew($artist, $album) {
global $mdb2;
- $res = $mdb2->query("SELECT name FROM Album WHERE name = " . ($album));
+ $res = $mdb2->query("SELECT name FROM Album WHERE name = " . ($album) .
" AND artist_name = " . ($artist));
if(PEAR::isError($res)) {
die("FAILED " . $res->getMessage() . "\n");
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1107] We may wish to allow more than one album of the same name.,
Clint Adams <=