This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+music/pianobar/README.org
2020-02-27 21:53:37 -05:00

1.7 KiB

Pianobar layer

Description

This layer integrates an online music service into Spacemacs.

Features:

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

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))

Configure

Below is an example configuration from MacOS:

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

Relevant links:

Run

M-x pianobar

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

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