Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263804 - media-sound/lastfm-ripper broken due to change in last-fm server structure
Summary: media-sound/lastfm-ripper broken due to change in last-fm server structure
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL: http://search.cpan.org/~jochen/last.f...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2009-03-25 22:41 UTC by Phillip Berndt
Modified: 2009-05-22 01:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adept to new last fm API (last.fm-ripper-2.0.1,16.11 KB, text/plain)
2009-03-28 15:56 UTC, Markus Ehrnsperger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phillip Berndt 2009-03-25 22:41:48 UTC
lastfm-ripper apparently uses an obsolete way of accessing the last.fm homepage. It takes the stream-URL out of the login-handshake, which points to a server throwing an "access denied" error (see comment #5 on #155152). The correct way (at least the official client uses it) was to ask audioscrobbler for a playlist.

I'll also inform the upstream maintainer of that bug, although I assume he should have noticed the problem by now.

Since the program does not work anymore, I suggest masking the existing ebuild until a new version arrives.

(If anybody is searching for a drop-in replacement, I hacked one - THIS IS NOT AN EBUILD REQUEST - see http://www.pberndt.com/raw/Programme/Linux/lastfm-rip/_download/lastfm-rip.py#)

Reproducible: Always

Steps to Reproduce:
Comment 1 Markus Ehrnsperger 2009-03-28 15:56:56 UTC
Created attachment 186562 [details]
Adept to new last fm API

I adepted last.fm-ripper to the new last.fm API.
Replace last.fm-ripper with the attached last.fm-ripper-2.0.1 to get the fix.
I did following additional changes:

- mp3 files are saved now in directories (Artist/Album/Title.mp3) together with cover (Artist/Album/SmallCover.jpg)
- Files already downloaded (filename already exists) are skipped, not overwritten
- If the script is interrupted (killed), the partly downloaded file will be deleted
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-05-12 07:52:13 UTC
Hmm.

Please provide a patch instead of entire file if you want this to go anywhere.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-05-14 07:32:14 UTC
+  14 May 2009; Samuli Suominen <ssuominen@gentoo.org> package.mask:
+  Mask lastrm-ripper for removal wrt #263804 because it doesn't work with
+  current LastFM API.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-05-14 07:41:28 UTC
Phillip, you've made quite a nice job with qiv/pqiv when the time came. Let me know if you want to take over this package also, upstream wise.

We are not going to start maintaining a huge patchset for this, and last upstream release was 2006.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-05-22 01:09:01 UTC
Removed from portage. Please open a new bug for new package if someone wants to take this over