Jump to content

Reign for Spotify Workflow


Recommended Posts

Hi everyone, this is a workflow that adds keyboard controls to the Spotify remote I made, called Reign. If you're unfamiliar with Reign: it's the Spotify remote for friends, colleagues, housemates and yourself that works in any browser. It allows you to play, pause, skip and choose tracks on a Spotify client that runs on a remote Mac, through a web interface. It's available for free on the Mac App Store, visit the website to learn more about it.

 

While the web interface is cool, it's even cooler to be able to skip it altogether and let your keyboard do the work, using Alfred. That's where this workflow comes in. 

 

play.png

 

You can download the workflow here: 

https://raw.github.com/DangerCove/reign-alfred2-workflow/master/Reign%20for%20Spotify.alfredworkflow

 

The source-code and setup guide is available on GitHub:

https://github.com/DangerCove/reign-alfred2-workflow

 

To get going, follow these steps:

  1. Download the latest workflow file;
  2. Install by double-clicking it;
  3. Press your Alfred shortcut and type 
    reign [ip/hostname]:[port]
    Change the ip/hostname and port to those of your Reign server. Copy it from the browser URL bar (remove the http:// etc.), now press return;
  4. That's it, now just type 
    reign [command]

 

Commands that currently work:

  • reign host [ip/hostname]:[port], change the Reign host;
  • reign np, show the Now Playing info;
  • reign n, next song;
  • reign p, previous song;
  • reign s, toggle play/pause;
  • reign o, open the current song in your own Spotify client.

 

Zhao Cai' Ruby based Alfred 2 workflow template came in pretty handy. Questions, feedback, let me know!

Link to comment
  • 2 months later...
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...