Commands

Jeff Johns edited this page Jul 9, 2013 · 4 revisions

Below is a list of commands with a brief explanation about what it does, what it returns, etc.

Table of Contents


Open Spotify

Activates Spotify

Simply opens Spotify and gives it focus.

spot start

Aliases

spot open
spot init

Quit Spotify

Controls Spotify

Simply quits Spotify.

spot quit

Aliases

spot kill
spot exit

Next Track

Controls Spotify

Advance to the next track.

spot >

Aliases

spot next

Replay Track

Controls Spotify

Replay the current track.

spot <

Previous Track

Controls Spotify

Go back to the previous track.

spot <<

Aliases

spot prev

Play, Pause and Stop

Controls Spotify

All of these commands use the same code playpause. You can use any of them to play or pause Spotify. The app will figure out your current state and toggle it for you.

spot

Aliases

spot play
spot pause
spot stop

Mute and Unmute

Controls Spotify

Again the app will figure these out for you. You can use either one to toggle mute and unmute.

spot mute

Aliases

spot unmute

Volume Control

Controls Spotify

You can easily set the volume to a numeric value between 0 (mute) and 100 (loudest).

spot volume

Examples

spot volume 50
spot volume 100

Toggle Repeating

Controls Spotify

You can easily toggle repeating on and off. If your version of Spotify does not have this feature the app will notify you.

spot repeat

Toggle Shuffling

Controls Spotify

You can easily toggle shuffling on and off. If your version of Spotify does not have this feature the app will notify you.

spot shuffle

View New Releases

Activates Spotify

Spotify took away their new release panel in favor of Discover. You can still see the new releases for the week using the below command. Be sure to click the See All button in Spotify to see an every release tagged as new.

spot new

Searching

Activates Spotify

You can easily search for artists, albums and songs in Spotify from Alfred. By default we have attached the hotkey of Control + Enter to activate search. You can change this in the workflow.

Press the hotkey and type artist, album or track followed by your query.

artist de la soul
album the grind date
track the grind date

You can also search without the user of the hotkey, but the queries are longer or verbose (not recommended).

spot search artist de la soul
spot search album the grind date
spot search track the grind date

You can also start a radio station from a search result. Say what, yeah I said it. To start a radio station from a search result simply press Control + Enter on the result and Blammo! Radio.


Open a Spotify Application

Activates Spotify

Open a Spotify application inside of Spotify (IE: Last.fm).]

spot app

Example

spot app lastfm

Update The Spotify Alfred Extension

Downloads Files

Opens Browser

Opens Alfred to Install Release

The auto-updater is baked just for this extension. It will ping Github and get the last 5 releases of this extension. You can easily press Enter to install a new version, or downgrade to an older version. If you would like to view the release first, simply Control + Enter to be taken directly to the release page on Github. You can also use Option + Enter to read the release notes for the release. Yep that's it. No more downloading squat from here.

Gets the last 5 releases

spot update
---------------------------------------------------------
Enter           = Install release
Control + Enter = View codebase of release
Option + Enter  = Read the release notes for the release

Remove any cached artwork

Shows Notification

This will simply remove any cached artwork to regain space if need be. It will notifiy you the total items removed and the size regained.

spot clear

Get Help

Opens Browser

If you ever need help (ironic, you are already here), this command will take you to this wiki :)

spot help

Aliases

spot ?

Get Developer Information

Shows Notification

If you ever need my information, simply use the command below.

spot dev

Get Current Information (all)

Shows Notification

Display the currently playing track's album name, artist name and song name.

spot now

Aliases

spot i
spot current

Get Current Artist

Shows Notification

Display the currently playing track's artist.

spot artist

Get Current Album

Shows Notification

Display the currently playing track's album name.

spot album

Get Current Track

Shows Notification

Display the currently playing track's name.

spot track

Aliases

spot name
spot song

Get Disc Number

Shows Notification

Display the currently playing track's disc number (rarely available).

spot disc

Get Duration

Shows Notification

Display the duration of the current track.

spot duration

Aliases

spot time

Get Plays

Shows Notification

Display the total times you have played the current track.

spot plays

Aliases

spot count

Get if Starred

Shows Notification

Display if the current track is starred or not.

spot starred

Aliases

spot fav

Get Popularity

Shows Notification

Display the popularity of the current track. Ohhh, you so popular.

spot popularity

Aliases

spot rank

Get a Spotify ID

Copies to clipboard

Shows Notification

Get the internal Spotify ID of the current track.

spot id

Get Spotify Internal URL

Copies to clipboard

Shows Notification

Get the internal Spotify URL of the current track.

spot appurl

Get a Spotify External URL

Copies to clipboard

Shows Notification

Get the external Spotify URL of the current track.

spot url

Get Spotify Version

Copies to clipboard

Shows Notification

Get the current version of Spotify you are running.

spot version

Submitting a Bug

Opens browser

Opens browser to Github issues page for this extension. Please mark your request as a Bug.

spot bug

Submitting a Feature Request

Opens browser

Opens browser to Github issues page for this extension. Please mark your request as a Feature Request.

spot feature

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.