GNOME Bugzilla – Bug 601612
2.0 Radio API doesn't work for non-subscribers in any country but 1.0 API does
Last modified: 2011-09-12 13:13:18 UTC
Hi, It appears, according to [0], that the 2.0 radio API is only available to subscribers in any country, despite the fact that the streams are available through the website and the (deprecated?) 1.0 API. The official client[1] uses the 1.0 API and works, for example. I wonder if Banshee could try to use the 1.0 API too, maybe as a fallback if we can't use the supported 2.0 calls. Just an idea. Thanks, Iain [0] http://www.last.fm/api/radio [1] http://www.last.fm/download
Banshee was using the 1.0 radio API and it stopped working some time after the 2.0 API was made available. Banshee 1.5.1 now get the following response when trying to get a radio playlist : HTTP/1.0 410 Gone The requested service is no longer available. Please update your client to use our new API at http://www.last.fm/api Radio streaming still works with the official last.fm client and Rhythmbox, which are still using the 1.0 API. After making some network captures, I've just figured out what the difference is, and how to work around it. I'll post a patch against banshee 1.5.1. I'm quite annoyed that I realized that only after doing the work to port to the 2.0 API. Anyway, I'm not going to work on bringing back the 1.0 API as a fallback, for the following reasons : 1/ I think it's going to be completely disabled soon. According to Murphy's Law, probably right after it has been brought back in Banshee ;) 2/ Using it would probably be a violation of the Last.fm Terms of Service : http://www.last.fm/api/tos (paragraph 2.6) 3/ I have more than 4 months left on my Last.fm subscription ;)
Created attachment 147800 [details] [review] Update the version number in the Last.fm Radio API 1.0 call This patch applies against Banshee 1.5.1 and apparently makes radio streaming work again with the 1.0 API. This doesn't apply to current git master (see above comment).
*** Bug 608760 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > 1/ I think it's going to be completely disabled soon. According to Murphy's > Law, probably right after it has been brought back in Banshee ;) > 2/ Using it would probably be a violation of the Last.fm Terms of Service : > http://www.last.fm/api/tos (paragraph 2.6) Closing as WONTFIX because of this.
*** Bug 632858 has been marked as a duplicate of this bug. ***
*** Bug 641317 has been marked as a duplicate of this bug. ***
*** Bug 658819 has been marked as a duplicate of this bug. ***