Last.fm control

From ProxiPedia

Jump to: navigation, search
Blueprint Icon
Last.fm Controls

Availability: Link

Proxi Icon
Documentation

To download the blueprints, go to 6v8

Description: Two blueprints can be downloaded, they provides 1- keyboard controls for the last.fm player:

  • ctrl+⌘+enter : play
  • ctrl+⌘+left : stop
  • ctrl+⌘+right : skip
  • ctrl+⌘+up : love
  • ctrl+⌘+down : ban

2- AirClick controls for the last.fm player (only when the application is focused):

  • play/pause button: play and stop
  • next button: skip
  • volume up/down buttons separately: volume up/down
  • volume up/down buttons at the same time: love
  • previous and next buttons at the same time : ban




How it works:

These controls are similar to the VLC blueprint, they use the "Launch Application" and "Key press" tasks to bring the player to front and press the right shortcut. It has been extended to switch back automatically to the application you are currently using with a small applescript task with the code:

  tell application "[ActiveApp]"
   activate
  end tell

where [ActiveApp] is an extra value collected by proxi on the trigger and equals to the current application name.