/Wox.Plugin.Spotify

Spotify plugin for Wox launcher

Primary LanguageC#MIT LicenseMIT

Wox.Plugin.Spotify

Spotify plugin for the Wox launcher

About

Control your Spotify client from Wox. Search for tracks, artists, or albums and launch the results directly to your client.

image

Usage

Keyword Description
sp Show currently playing track
sp {spotify search query} Search all of Spotify
sp track {track name} Search for a track
sp artist {artist name} Search for an artist
sp album {album name} Search for an album
sp playlist {playlist name} Search personal playlists
sp next Play next track
sp last Play previous track
sp play Resume currently playing track
sp pause Pause currently playing track
sp mute Toggle Mute
sp volume Set Volume (1-100)
sp device Set Active Device
sp shuffle Toggle Shuffle Mode
sp reconnect Force a full reconnection

Notice

  • Spotify relies on Web Authentication Calls to Connect to the API remotely - you will need to authorize it to use this plugin
  • You NEED a client secret and client ID to use this plugin!
    • This app currently hardcodes my personal Client ID and Client Secret to interact with Spotify. If current app usage hits any API limits, naturally you will need to switch out the current Client ID and Secret
    • To use a custom ID/Secret, create a file called security.store in %localAppData%\Wox\app-1.3.578\security.store with the following format:
    {"ClientID":"yourClientSecret","ClientSecret":"yourClientSecret"}
    
    • To generate a key pair, navigate to https://developer.spotify.com/dashboard/, login, and generate your own ID & Key
  • To get started:
    • Restore all NuGet dependencies (nuget restore packages.config -PackagesDirectory ..\packages)
    • Run build script (visual studio code)

Third-Party Libraries

To Do - Ideas

  • Better solution to #6
  • Search user content (playlists, saved music)
  • Configurable default search type (now track search is default, album/playlist search might be more suitable to some)
    • Potentially, change default search type to generic search
  • Add configuration menu
  • Improve device management workflow
  • Clear Cache folder