SOURCES: amarok-lyricsurl.patch (NEW) - better lyrics url, fallbac...

glen glen at pld-linux.org
Wed Aug 17 14:21:53 CEST 2005


Author: glen                         Date: Wed Aug 17 12:21:52 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- better lyrics url, fallbacks to lyrc. see also http://bugs.kde.org/show_bug.cgi?id=94437

---- Files affected:
SOURCES:
   amarok-lyricsurl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/amarok-lyricsurl.patch
diff -u /dev/null SOURCES/amarok-lyricsurl.patch:1.1
--- /dev/null	Wed Aug 17 14:21:52 2005
+++ SOURCES/amarok-lyricsurl.patch	Wed Aug 17 14:21:47 2005
@@ -0,0 +1,15 @@
+--- ./amarok/src/contextbrowser.cpp~	2005-08-16 21:04:08.000000000 +0200
++++ ./amarok/src/contextbrowser.cpp	2005-08-16 21:10:46.000000000 +0200
+@@ -2407,10 +2407,10 @@
+     }
+ 
+     if ( !hash.isEmpty() && hash != QString( "reload" ) )
+-        m_lyricCurrentUrl = QString( "http://lyrc.com.ar/en/tema1en.php?hash=%1" )
++        m_lyricCurrentUrl = QString( "http://glen.alkohol.ee/lyrics.php?hash=%1" )
+                   .arg( hash );
+     else
+-        m_lyricCurrentUrl = QString( "http://lyrc.com.ar/en/tema1en.php?artist=%1&songname=%2" )
++        m_lyricCurrentUrl = QString( "http://glen.alkohol.ee/lyrics.php?artist=%1&songname=%2" )
+                 .arg(
+                 KURL::encode_string_no_slash( EngineController::instance()->bundle().artist() ),
+                 KURL::encode_string_no_slash( title ) );
================================================================



More information about the pld-cvs-commit mailing list