Search the Community
Showing results for tags 'lastfm'.
This workflow was created to easily enable the user to perform several actions with the last.fm interface without needing to access the web interface or the desktop application: only with Alfred! After some time using Alfred I decided to create a workflow for last.fm, since I am a heavy user and there was no workflow. This workflow allows users to love, ban, tag and untag the track currently playing in itunes, get information about artists, events, etc... Please keep in mind that this is my first shot developing a workflow. Any suggestions, features you wanted implemented, please list them! I'll do what I can to further develop the workflow. To get started, and to use all the features you have to setup Alfred.fm. You can do this by calling: alfredfm <lastfm_username>. It will open a browser tab and you have to click ok. After this step a notification will say if it was successful or not. If it was successful, you can now use all the methods, even those that need you to be authenticated. Screenshot Alfred.fm GitHub Repo
DJ Pedro - Create iTunes playlist based on Last.fm similar artists (Updated 10/11/2015 - Fix for broken Last.fm API links) This workflow uses the Last.fm API for "similar artists" to create and play a playlist based on either the artist of the currently playing song or an artist searched for within the local iTunes Library. The workflow does not require that you use Last.fm, it only pulls information from their database using their API. (i.e., no scrobbling required.) DJ Pedro now lives on the wonderful Packal repository. The best reason for you to get this version is that Packal will handle tracking any future updates so you no longer need to watch this thread. Get the Packal version here The workflow is triggered by a hotkey or the keyword "dj", and if an argument is added the workflow searches your iTunes library for artists that match the query. NEW: I added a couple Alfred Remote triggers to the workflow, the best one allows you to create a DJ Pedro playlist from anywhere in your house via the currently playing iTunes track. This is a feature I have wanted since originally creating the workflow. :-) You can add the individual trigger(s) to your own custom Remote page or use the DJ Pedro Remote Page. It's fairly minimal at the moment, but I'm considering adding a Favorites feature since we can't yet type directly into an Alfred window via the remote. NEW: If you use my Last.fm and/or Discogs workflows you can now trigger those from results in DJ Pedro's Suggested Artist list using modifier keys. I tend to think that's pretty sweet. Settings for the workflow can be modified by triggering the "djprefs" script filter. Available modifications are: Playlist name Number of tracks in the created playlist Search limit for 'similar artists' the workflow requests from Last.fm. Maximum tracks per artist added to the playlist. Enable/disable the notification that lists any artists suggested by Last.fm that were not found in your Library. Credits/Acknowledgments: Much of the script for displaying artists and their artwork was borrowed from the great "Play Song" workflow, by "caleb531", which you should download if you don't have it yet. Additional scripting was improved by using the qWorkflow library developed by "ursanrazvan". Yes, DJ Pedro is named after our cat. Notes: This workflow creates a folder in your iTunes folder called "Alfred Album Artwork" for easy access to album artwork icons. This folder should be extremely small and is easily deleted if you delete the workflow. Known/Possible Issues: Because of the way iTunes 11 handles playlists, there's a pause/un-pause coded into DJ Pedro at the start of playback. If Apple ever provides a better way to deal with Up Next, besides GUI scripting, I'll update this. I'm an amateur coder, so please be kind to my messy code, etc. Constructive criticism is greatly appreciated! I hope this workflow helps you enjoy your music a little bit more.