Table of Contents

Pianobar layer

Table of ContentsClose

1. Description

This layer integrates an online music service into Spacemacs.

1.1. Features:

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

2. Install

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

For example:

dotspacemacs-configuration-layers
   '((pianobar :variables pianobar-config t))

3. Configure

Below is an example configuration from MacOS:

$ cat ~/.config/pianobar/config
user = foobar@gmail.com
password = 295TkBbHZiKwnDnQYhJW
autostart_station = 30385222902831057

Relevant links:

4. Run

M-x pianobar

With the above configuration, pianobar will login and start playing the autostart station.

5. Key bindings

Key binding Description
SPC a m p p Play or pause Pianobar
SPC a m p n Go to the next track
SPC a m p + Love current song
SPC a m p - Ban current song
SPC a m p t Tired of current song
SPC a m p s Switch station

Author: root

Created: 2024-04-03 Wed 19:39

Validate