[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1166] Throw out submitted tracks with rating set to '
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1166] Throw out submitted tracks with rating set to 'S'; right now they' re all from people using last. fm radio but submitting to us in violation of the protocol; this buys us a performance headache and little else. |
Date: |
Sun, 03 May 2009 21:54:26 +0000 |
Revision: 1166
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1166
Author: clint
Date: 2009-05-03 21:54:26 +0000 (Sun, 03 May 2009)
Log Message:
-----------
Throw out submitted tracks with rating set to 'S'; right now they're all from
people using last.fm radio but submitting to us in violation of the protocol;
this buys us a performance headache and little else. In future if we care
about skips, they should be saved to a different table.
Modified Paths:
--------------
branches/stable/gnukebox/submissions/1.2/index.php
Modified: branches/stable/gnukebox/submissions/1.2/index.php
===================================================================
--- branches/stable/gnukebox/submissions/1.2/index.php 2009-05-03 21:54:19 UTC
(rev 1165)
+++ branches/stable/gnukebox/submissions/1.2/index.php 2009-05-03 21:54:26 UTC
(rev 1166)
@@ -113,7 +113,7 @@
$exists = scrobbleExists($username, $artist, $track, $time);
- if(!$exists) {
+ if((!$exists) && $rating<>'S') {
// Scrobble!
$rowvalues[$actualcount] = "("
. $username . ", "
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1166] Throw out submitted tracks with rating set to 'S'; right now they' re all from people using last. fm radio but submitting to us in violation of the protocol; this buys us a performance headache and little else.,
Clint Adams <=