Jump to content
FiXER

Last.fm workflow

Recommended Posts

What about last.fm workflow. After typing "lastfm" space "name of artist" you will get the list of suggested artists/albums/songs? Can somebody do it? :)

Share this post


Link to post

What about last.fm workflow. After typing "lastfm" space "name of artist" you will get the list of suggested artists/albums/songs? Can somebody do it? :)

This is quite simple to do with the Last.fm API. The API provides a list of suggested artists based on an initial artist, or a list of suggested tracks based on a given track.

... Also, I'm finishing up an update to the workflow that dfay linked to that will provide a supplemental Suggested Artist list that basically does what I think you're asking for. If you don't want the playlist generation function of that workflow, I could easily tweak it to just offer the Suggested Artist list alone.

Share this post


Link to post

I took a crack at this and made an initial version to play around with: Direct download.

 

  • "LS" triggers the workflow.
  • As you type an artist name, the workflow searches Last.fm for your query and provides a list of possible matches.
  • Selecting an artist form the list provides a new list of Last.fm's Similar Artists for the previously chosen one.
  • Selecting an artist from the new list takes you to their Last.fm page.

 

I'll probably add an option to filter out any artists that are already in the local iTunes Library, if folks think that would be useful. Any other ideas?

Edited by smirky

Share this post


Link to post

Thanks Smirky, is there a way to just act as autocomplete so for example y put 

 

"ls god is an" and it takes me to the god is an astronaut last.fm website? 

Share this post


Link to post

Been using this workflow a lot lately myself, so I figured I'd push through a few edits I made since originally posting it.

  • Added hotkey support.
  • Detects if iTunes is playing and auto-populates the current artist, until you start to type something else.

Direct Link

GitHub

Edited by smirky

Share this post


Link to post

Just a quick heads-up: there is another last.fm workflow by Filipe Barros (with minor contributions by yours truly) over here. It lacks the smooth drill-down interface (I really like that) and requires a last.fm account, but offers a much more extensive selection of last.fm queries (track and album info, loved and banned tracks, love, ban, tag and untag currently playing track etc.).

Share this post


Link to post

In case anyone is wondering why this workflow hasn't worked, feel free to blame Last.fm for breaking their APIs with no fix in sight.

 

I have re-written this workflow using a few different tricks so that it works again. Download from Packal here.

 

B) 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...