librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1127] remove magnatune spam too


From: Clint Adams
Subject: [Librefm-commits] [1127] remove magnatune spam too
Date: Sat, 02 May 2009 18:26:12 +0000

Revision: 1127
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1127
Author:   clint
Date:     2009-05-02 18:26:11 +0000 (Sat, 02 May 2009)
Log Message:
-----------
remove magnatune spam too

Modified Paths:
--------------
    trunk/scripts/scrobbles-revisionism

Modified: trunk/scripts/scrobbles-revisionism
===================================================================
--- trunk/scripts/scrobbles-revisionism 2009-05-02 18:21:50 UTC (rev 1126)
+++ trunk/scripts/scrobbles-revisionism 2009-05-02 18:26:11 UTC (rev 1127)
@@ -41,6 +41,9 @@
                        if ">" in oldname:
                                newname = newname.replace(">",">")
 
+                       if " (PREVIEW: buy it at www.magnatune.com)" in oldname:
+                               newname = newname.replace(" (PREVIEW: buy it at 
www.magnatune.com)","")
+
                        if oldname <> newname:
                                print "%s >>>INTO>>> %s" % (oldname, newname)
                                try:





reply via email to

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