librefm-commits
[Top][All Lists]
Advanced

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

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


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

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

Modified Paths:
--------------
    branches/stable/gnukebox/scrobble-utils.php

Modified: branches/stable/gnukebox/scrobble-utils.php
===================================================================
--- branches/stable/gnukebox/scrobble-utils.php 2009-05-02 18:28:25 UTC (rev 
1128)
+++ branches/stable/gnukebox/scrobble-utils.php 2009-05-02 18:28:52 UTC (rev 
1129)
@@ -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]