Add support for Last.fm radio streaming #38

Closed
jodal opened this Issue Jan 19, 2011 · 5 comments

Projects

None yet

2 participants

@jodal
Member
jodal commented Jan 19, 2011

It would be nice if Mopidy supported Last.fm radio streaming, e.g. through MPD commands like this:

add "lastfm://globaltags/Ambient"

This is already supported by the MPoD client.

@adamcik
Member
adamcik commented Jan 19, 2011

Flow will need to be something along the lines of:

  1. Do auth: http://www.last.fm/api/authentication
  2. Radio: http://www.last.fm/api/radio
    1. Search: http://www.last.fm/api/show?service=418
    2. Tune in: http://www.last.fm/api/show?service=160
    3. Get playlist: http://www.last.fm/api/show?service=256

I'm not sure yet which of the auth paths is right for us. Furthermore I would propose this as a at earliest 0.4 feature, preferably 0.5 :)

@jodal
Member
jodal commented Jan 19, 2011

I hope we can use pylast for all of this, and then just give the MP3 stream URL to GStreamer.

@adamcik
Member
adamcik commented Jan 21, 2011

Hopefully implementation of http://code.google.com/p/pylast/issues/detail?id=60 can simplify this for us. But this would still leave handling of the timeout issues etc.

@adamcik
Member
adamcik commented Jul 2, 2012

http://svn.base-art.net/public/elisa/lastfm/lastfm_src.py might also be worth looking at. This approach would also play nicely with the idea of having a spotify gstreamer element as mentioned in #40.

@jodal
Member
jodal commented Dec 13, 2012

Last.fm just announced that they will discontinue their paid streaming service in most countries, including Norway and Switzerland, from January 15 2013. This means that @adamcik and myself now have no reason to add a Last.fm backend to Mopidy.

The announcement is available at http://www.last.fm/announcements/radio2013

If someone from the US, the U.K, Germany, Canada, Australia, New Zealand, Ireland, or Brazil starts working on a Last.fm backend for Mopidy, please reopen this issue and share your plans with us.

@jodal jodal closed this Dec 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment