librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1128] get rid of the spurious space from the magnatun


From: Clint Adams
Subject: [Librefm-commits] [1128] get rid of the spurious space from the magnatune spam
Date: Sat, 02 May 2009 18:28:26 +0000

Revision: 1128
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1128
Author:   clint
Date:     2009-05-02 18:28:25 +0000 (Sat, 02 May 2009)
Log Message:
-----------
get rid of the spurious space from the magnatune spam

Modified Paths:
--------------
    trunk/gnukebox/scrobble-utils.php

Modified: trunk/gnukebox/scrobble-utils.php
===================================================================
--- trunk/gnukebox/scrobble-utils.php   2009-05-02 18:26:11 UTC (rev 1127)
+++ trunk/gnukebox/scrobble-utils.php   2009-05-02 18:28:25 UTC (rev 1128)
@@ -171,7 +171,7 @@
 
   // This function exists to remove things like '(PREVIEW: buy it at 
www.magnatune.com)' from track names.
 
-  $track = str_replace("(PREVIEW: buy it at www.magnatune.com)", "", $track);
+  $track = str_replace(" (PREVIEW: buy it at www.magnatune.com)", "", $track);
 
   return $track;
   





reply via email to

[Prev in Thread] Current Thread [Next in Thread]