[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1559] temporarily disable artist/album/track creation
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1559] temporarily disable artist/album/track creation in nowplaying |
Date: |
Thu, 14 May 2009 04:30:47 +0000 |
Revision: 1559
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1559
Author: clint
Date: 2009-05-14 04:30:45 +0000 (Thu, 14 May 2009)
Log Message:
-----------
temporarily disable artist/album/track creation in nowplaying
Modified Paths:
--------------
trunk/gnukebox/nowplaying/1.2/index.php
Modified: trunk/gnukebox/nowplaying/1.2/index.php
===================================================================
--- trunk/gnukebox/nowplaying/1.2/index.php 2009-05-14 04:16:23 UTC (rev
1558)
+++ trunk/gnukebox/nowplaying/1.2/index.php 2009-05-14 04:30:45 UTC (rev
1559)
@@ -53,15 +53,6 @@
$mbid = 'NULL';
}
-createArtistIfNew($artist);
-if($album != 'NULL') {
- createAlbumIfNew($artist, $album);
-}
-getTrackCreateIfNew($artist, $album, $track, $mbid);
-
-//Expire old tracks
-$adodb->Execute("DELETE FROM Now_Playing WHERE expires < " . time());
-
//Delete this user's last playing song (if any)
$adodb->Execute("DELETE FROM Now_Playing WHERE sessionid = " . ($MQsess));
@@ -78,6 +69,15 @@
die("FAILED " . $e->getMessage() . "\n");
}
+// createArtistIfNew($artist);
+// if($album != 'NULL') {
+// createAlbumIfNew($artist, $album);
+// }
+// getTrackCreateIfNew($artist, $album, $track, $mbid);
+
+//Expire old tracks
+$adodb->Execute("DELETE FROM Now_Playing WHERE expires < " . time());
+
die("OK\n");
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1559] temporarily disable artist/album/track creation in nowplaying,
Clint Adams <=