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
Lucius Hu fd652fae0c
update spacemacs/declare-prefix usages (#15278)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-04 05:36:11 +00:00
..
config.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
packages.el update spacemacs/declare-prefix usages (#15278) 2022-02-04 05:36:11 +00:00
README.org

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