Playlists API
Last.fm playlists do not contain streaming content.
Fetching Last.fm Playlists
Use the playlist.fetch method call to fetch XSPF playlists. XSPF is a web standard for sharable playlists, and XSPF libraries are available in several languages. playlist.fetch takes a 'lastfm' protocol URL as an argument; this identifies the playlist you're requesting. The following protocol url schemes are currently supported:
- Album Playlists: lastfm://playlist/album/<album_id>
- User Playlists: lastfm://playlist/<playlist_id>
- Tag Playlists: lastfm://playlist/tag/<tag_name>/freetracks
Playback
If you'd like to add play links to your playlist you can link to the Last.fm track page (which will be present in the XSPF extension node), appending '?autostart' to the URL.