Table of Contents

Spotify layer

Table of ContentsClose

spotify.png

1. Description

This layer integrates an online music service into Spacemacs.

1.1. Features:

  • Support for listening to music from within Emacs via Spotify.

2. Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add spotify to the existing dotspacemacs-configuration-layers list in this file.

3. Spotify Web API authentication when using search with Ivy

You'll need to register an application in Spotify in order to obtain a client id and a client secret. Then, you'll have to set the variables counsel-spotify-client-id and counsel-spotify-client-secret variables with your credentials to start using the search feature.

4. Key bindings

Key binding Description
SPC a m s p Play or pause Spotify
SPC a m s n Go to the next track
SPC a m s N Go to the previous track
SPC a m s Q Quit Spotify

If Helm layer is enabled, you can also use the following binding(s):

Key binding Description
SPC a m s g Search for a new track

If Ivy layer is enabled, you can also use the following binding(s):

Key binding Description
SPC a m s s a Spotify search artist
SPC a m s s A Spotify search album
SPC a m s s t Search for a new track
SPC a m s s T a Spotify search track by artist
SPC a m s s T A Spotify search track by album

Author: root

Created: 2024-11-15 Fri 04:05

Validate