]> git.pld-linux.org Git - packages/amarok.git/commitdiff
- outdated in 1.4
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 5 Jun 2006 16:37:11 +0000 (16:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amarok-libtunepimp-0.4.0.patch -> 1.2
    amarok-lyricsurl.patch -> 1.2

amarok-libtunepimp-0.4.0.patch [deleted file]
amarok-lyricsurl.patch [deleted file]

diff --git a/amarok-libtunepimp-0.4.0.patch b/amarok-libtunepimp-0.4.0.patch
deleted file mode 100644 (file)
index dd9fc78..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
---- amarok-1.3.6/amarok/src/ktrm.cpp.orig      2005-11-07 23:19:18.000000000 +0100
-+++ amarok-1.3.6/amarok/src/ktrm.cpp   2005-11-17 12:24:43.006638250 +0100
-@@ -42,7 +42,7 @@
- extern "C"
- {
--    static void TRMNotifyCallback(tunepimp_t pimp, void *data, TPCallbackEnum type, int fileId);
-+    static void TRMNotifyCallback(tunepimp_t pimp, void *data, TPCallbackEnum type, int fileId, TPFileStatus);
- }
- /**
-@@ -66,7 +66,7 @@
-         int id;
-         if(!m_fileMap.contains(lookup->file())) {
--            id = tp_AddFile(m_pimp, QFile::encodeName(lookup->file()));
-+            id = tp_AddFile(m_pimp, QFile::encodeName(lookup->file()), 1);
-             m_fileMap.insert(lookup->file(), id);
-         }
-         else {
-@@ -121,7 +121,7 @@
-         tp_SetAutoSaveThreshold(m_pimp, -1);
-         tp_SetMoveFiles(m_pimp, false);
-         tp_SetRenameFiles(m_pimp, false);
--        tp_SetUseUTF8(m_pimp, true);
-+        tp_SetID3Encoding(m_pimp, eUTF8);
-         tp_SetNotifyCallback(m_pimp, TRMNotifyCallback, 0);
-         if(KProtocolManager::useProxy()) {
-@@ -245,7 +245,7 @@
-  * Callback fuction for TunePimp lookup events.
-  */
--static void TRMNotifyCallback(tunepimp_t pimp, void *, TPCallbackEnum type, int fileId)
-+static void TRMNotifyCallback(tunepimp_t pimp, void *, TPCallbackEnum type, int fileId, TPFileStatus)
- {
-     if(type != tpFileChanged)
-         return;
-@@ -556,10 +556,10 @@
-                 KTRMResult result;
-                 result.d->title = QString::fromUtf8(tracks[i]->name);
--                result.d->artist = QString::fromUtf8(tracks[i]->artist->name);
--                result.d->album = QString::fromUtf8(tracks[i]->album->name);
-+                result.d->artist = QString::fromUtf8(tracks[i]->artist.name);
-+                result.d->album = QString::fromUtf8(tracks[i]->album.name);
-                 result.d->track = tracks[i]->trackNum;
--                result.d->year = tracks[i]->album->releaseYear;
-+                result.d->year = tracks[i]->album.releaseYear;
-                 result.d->relevance =
-                     4 * stringSimilarity(strList,result.d->title) +
-                     2 * stringSimilarity(strList,result.d->artist) +
diff --git a/amarok-lyricsurl.patch b/amarok-lyricsurl.patch
deleted file mode 100644 (file)
index c1619f4..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
---- ./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 ) );
This page took 0.101709 seconds and 4 git commands to generate.