spacemacs/layers/+music/spotify/README.org

54 lines
2.0 KiB
Org Mode
Raw Permalink Normal View History

#+TITLE: Spotify layer
2015-06-10 16:44:30 +00:00
2019-05-02 21:49:30 +00:00
#+TAGS: layer|music
2015-06-10 16:44:30 +00:00
[[file:img/spotify.png]]
2019-05-07 20:05:06 +00:00
* Table of Contents :TOC_5_gh:noexport:
2017-05-22 14:16:12 +00:00
- [[#description][Description]]
- [[#features][Features:]]
2017-05-22 14:16:12 +00:00
- [[#install][Install]]
2019-10-15 11:21:43 +00:00
- [[#spotify-web-api-authentication-when-using-search-with-ivy][Spotify Web API authentication when using search with Ivy]]
2017-05-22 14:16:12 +00:00
- [[#key-bindings][Key bindings]]
2015-06-10 16:44:30 +00:00
* Description
This layer integrates an online music service into Spacemacs.
** Features:
- Support for listening to music from within Emacs via [[https://www.spotify.com][Spotify]].
2015-06-10 16:44:30 +00:00
* 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.
2015-06-10 16:44:30 +00:00
2019-10-15 11:21:43 +00:00
* Spotify Web API authentication when using search with Ivy
You'll need to [[https://developer.spotify.com/my-applications][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.
2015-06-10 16:44:30 +00:00
* Key bindings
| Key binding | Description |
2015-06-10 16:44:30 +00:00
|---------------+--------------------------|
| ~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 [[https://github.com/emacs-helm/helm][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 |
2018-09-05 23:09:49 +00:00
If [[https://github.com/abo-abo/swiper][Ivy]] layer is enabled, you can also use the following binding(s):
2018-09-06 21:42:09 +00:00
| Key binding | Description |
2018-09-05 23:09:49 +00:00
| ~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 |