{"id":50,"date":"2007-05-19T00:48:42","date_gmt":"2007-05-18T22:48:42","guid":{"rendered":"http:\/\/blog.blackdown.de\/2007\/05\/19\/lastfm-for-rhythmbox-new-style\/"},"modified":"2016-10-29T03:51:01","modified_gmt":"2016-10-29T01:51:01","slug":"lastfm-for-rhythmbox-new-style","status":"publish","type":"post","link":"https:\/\/blackdown.de\/articles\/lastfm-for-rhythmbox-new-style\/","title":{"rendered":"Last.fm for Rhythmbox – New Style"},"content":{"rendered":"

Just like a lot of other Rhythmbox<\/a> users<\/a> I like to scrobble my played tracks to last.fm<\/a>. Unfortunately Rhythmbox provides no way to love<\/em> a track. The last.fm plug-ins for Windows and OS X have been modified to scrobble through the last.fm client<\/a> some time ago but the Rhythmbox plug-in still submits directly. That is until now…<\/p>\n

\"Rhythmbox<\/p>\n

I have written a new last.fm plug-in for Rhythmbox today. Instead of scrobbling directly like the old one, it submits tracks via the lastfm<\/code> client application. The client displays additional information about the currently playing song and you can love<\/em> and tag the song with it.<\/p>\n

The source code is available as a patch against Rhythmbox 2.90.1 (git snapshot 20120108)<\/a>: scrobbler-v3t.patch<\/a>
\nYou can apply this patch with:<\/p>\n

patch -NEp1 < ~\/scrobbler-v3t.patch<\/pre>\n

Ubuntu<\/a> Oneiric Ocelot<\/em> users can get precompiled packages from my APT repositories by running these commands in a terminal:<\/p>\n

$ sudo add-apt-repository \\\r\n    'http:\/\/blackdown.de\/static\/debian\/rhythmbox\/ main'\r\n$ wget https:\/\/blackdown.de\/static\/gpg.asc -O - | \\\r\n    sudo apt-key add -\r\n$ sudo apt-get update\r\n$ sudo apt-get install rhythmbox rhythmbox-plugins lastfm<\/pre>\n

To enable the new plug-in go to Edit » Plugins<\/code>. Disable the “Last.fm” plug-in and enable the “New Style Last.fm Scrobbler”.
\nIf you enable this scrobbler plug-in, you have to disable the old Last.fm plug-in! Otherwise you will have two plug-ins which will both submit to last.fm at the same time. Only use one at a time!<\/strong><\/p>\n

Note that this first version of the plug-in does not start the lastfm<\/code> client automatically! It will scrobble only if you start the client manually. I will fix this in the next version.<\/del><\/p>\n

Feedback, postive as well as negative, is very welcome. If you want to report a bug, please include the output of “rhythmbox -D rb-scrobbler-plugin<\/code>” and the tags of the song you wanted to scrobble.
\nIf you want to report a crash, providing a gdb backtrace would be nice.<\/p>\n

You might also want to take a look at this thread<\/a> on the last.fm development forum.<\/p>\n

May 20th, 2007:<\/strong> v2 of the plug-in is available now. lastfm<\/code> gets launched automatically now.<\/em>
\nMay 22nd, 2007:<\/strong> v3 is available. The patch and the Ubuntu package have been updated:
Changes since v2<\/a><\/em>
\nMay 25th, 2007:<\/strong> v3a: Updated patch and deb for the new Ubuntu Gutsy version of Rhythmbox.<\/em>
\nMay 29th, 2007:<\/strong> v3b: Updated patch and deb for the new Rhythmbox release.<\/em>
\nMay 31st, 2007:<\/strong> Updated patch Ubuntu package.<\/em>
\nJune 1st, 2007:<\/strong> Added APT
repositories<\/a> for Ubuntu Feisty and Gutsy.<\/em>
\nJune 28th, 2007:<\/strong> v3c: Updated patch and debs for the new Rhythmbox release.<\/em>
\nAugust 16th, 2007:<\/strong> v3d: Updated patch and debs for Rhythmbox 0.11.2.<\/em>
\nNovember 14th, 2007:<\/strong> v3e: Updated patch and debs for Rhythmbox 0.11.3. Add Hardy repository.<\/em>
\nNovember 30th, 2007:<\/strong>Updated gusty and hardy builds. Include fixed Croatian po file from Franko Burolo.<\/em>
\nFebruary 7th, 2008:<\/strong> v3f: Updated patch and debs for Rhythmbox 0.11.4. (Thanks to Iain Buchanan for notifying me of the missing patch!)<\/em>
\nMay 31st, 2008:<\/strong> v3g: Updated patch to apply cleanly to Rhythmbox 0.11.5. (The debs for hardy have been at 0.11.5 for quite a while).<\/em>
\nOctober 15st, 2008:<\/strong> v3h: Updated patch to apply cleanly to Rhythmbox 0.11.6.
Ubuntu packages<\/a> are available for i386, amd64, and lpia now.<\/em>
\nOctober 20st, 2008:<\/strong> v3i: Updated patch to apply cleanly to the real Rhythmbox 0.11.6 release. v3h was for a later version from SVN.<\/em>
\nApril 24th, 2009:<\/strong> v3j: Update patch to apply cleanly to Rhythmbox 0.12.0. Provide debs for Ubuntu Jaunty.<\/em>
\nNovember 4th, 2009:<\/strong> v3k: Update patch to apply cleanly to Rhythmbox 0.12.5 and provide debs for Ubuntu Karmic.<\/em>
\nNovember 29th, 2009:<\/strong> v3l: Update patch to apply cleanly to Rhythmbox 0.12.6 and provide debs for Ubuntu Lucid too.<\/em>
\nApril 25th, 2010:<\/strong> v3m: Update patch to apply cleanly to Rhythmbox 0.12.8. Provide debs for Ubuntu Lucid.<\/em>
\nJun 3rd, 2010:<\/strong> v3n: Update
patch<\/a> to apply cleanly to Rhythmbox 0.12.8git20100602. Provide debs for Ubuntu Maverick Meerkat 10.10.<\/em>
\nJun 13th, 2010:<\/strong> v3o: Update
patch<\/a> to apply cleanly to Rhythmbox 0.12.8git20100611. Updated debs for Ubuntu Maverick Meerkat 10.10.<\/em>
\nOctober 10th, 2010:<\/strong> v3p: Update
patch<\/a> to apply cleanly to Rhythmbox 0.13.1. Provide updated debs for Ubuntu Maverick Meerkat 10.10.<\/em>
\nApril 4th, 2011:<\/strong> v3p: Update
patch<\/a> to apply cleanly to Rhythmbox 0.13.3. Provide debs for Ubuntu Natty Narwhal 11.04.<\/em>
\nOctober 16th, 2011:<\/strong> v3r: Updated
patch<\/a> for new plug-in infrastructure in Rhythmbox 2.90.1. Provide debs for Ubuntu Oneiric Ocelot 11.10.<\/em>
\nDecember 23rd, 2011:<\/strong> v3s: Updated
patch<\/a>. Provide debs for Ubuntu Precise Pangolin 12.04.<\/em>
\nJanuary 14th, 2012:<\/strong> v3t: Update
patch<\/a> and debs for Ubuntu Precise.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"

Just like a lot of other Rhythmbox users I like to scrobble my played tracks to last.fm. Unfortunately Rhythmbox provides no way to love a track. The last.fm plug-ins for Windows and OS X have been modified to scrobble through the last.fm client some time ago but the Rhythmbox plug-in still submits directly. That is
[→
Read the rest of this entry<\/a>]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[5,2,10,16],"tags":[25,96,24,99],"yoast_head":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n