fork-my-spoons / spotify-search-and-play.spoon

A spotlight-like search for Spotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spotify Search and Play

GitHub issues GitHub all releases GitHub release (latest by date)

A spotlight-like search for spotify, allows searching albums, artists, playlists and tracks and playing the selected item on Spotify client for macOS:

screenrecord

Installation

This app uses Spotify's search API, so you need to create a developer account in order to use it, go to Developer Dashboard and register, then create a client id and a secret.

  • install Hammerspoon - a powerfull automation tool for OS X

    • Manually:

      Download the latest release, and drag Hammerspoon.app from your Downloads folder to Applications.

    • Homebrew:

      brew install hammerspoon --cask

  • download spotify-search-and-play.spoon, unzip and double click on a .spoon file. It will be installed under ~/.hammerspoon/Spoons folder.

  • open ~/.hammerspoon/init.lua and add the following snippet, adding your parameters:

-- Spotify search and play
hs.loadSpoon("spotify-search-and-play")
spoon['spotify-search-and-play']:setup({
  client_id = '<your client id>',
  secret = '<your secret>'
})
spoon['spotify-search-and-play']:bindHotkeys({
    show={ {"alt"}, "S"}}
)

The above config will set up + s to open the app.

About

A spotlight-like search for Spotify


Languages

Language:Lua 100.0%