Package: amarok
Version: 1.4.9.1-2
Severity: wishlist
Tags: patch
Forwarded: http://bugs.kde.org/show_bug.cgi?id=143868
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

Hi,

In

  https://bugs.edge.launchpad.net/ubuntu/+source/amarok/+bug/103227

someone asked for last.fm recommended radio to be available. This
bug was filed at

  http://bugs.kde.org/show_bug.cgi?id=143868

The attached patch by Danial Hahler is used in Ubuntu to provide this.
Please consider applying it.

Thanks,

James



diff -Nur -x '*.orig' -x '*~' amarok-1.4.8/amarok/src/playlistbrowser.cpp amarok-1.4.8.new/amarok/src/playlistbrowser.cpp
--- amarok-1.4.8/amarok/src/playlistbrowser.cpp	2007-12-31 15:21:43.331246000 +0100
+++ amarok-1.4.8.new/amarok/src/playlistbrowser.cpp	2007-12-31 17:33:45.446046817 +0100
@@ -566,6 +566,10 @@
     last = new LastFmEntry( m_lastfmCategory, tagsFolder, url, i18n( "Neighbor Radio" ) );
     last->setKept( false );
 
+    url = KURL::fromPathOrURL( QString("lastfm://user/%1/recommended/100").arg( user ) );
+    last = new LastFmEntry( m_lastfmCategory, last, url, i18n( "Recommended Radio" ) );
+    last->setKept( false );
+
     if( subscriber )
     {
         url = KURL::fromPathOrURL( QString("lastfm://user/%1/personal").arg( user ) );

Reply via email to