Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomas-louvigne/playerctl.el
Play music from emacs with playerctl
https://github.com/thomas-louvigne/playerctl.el
emacs playerctl
Last synced: 3 months ago
JSON representation
Play music from emacs with playerctl
- Host: GitHub
- URL: https://github.com/thomas-louvigne/playerctl.el
- Owner: thomas-louvigne
- License: other
- Created: 2017-03-30T11:50:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-14T12:34:08.000Z (over 2 years ago)
- Last Synced: 2024-04-10T10:19:57.778Z (7 months ago)
- Topics: emacs, playerctl
- Language: Emacs Lisp
- Homepage:
- Size: 33.2 KB
- Stars: 13
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
- License: COPYING.org
Awesome Lists containing this project
README
#+TITLE: Playerctl.el
* What
- [[https://github.com/acrisci/playerctl][Playerctl]], let you control your music player (Spotify, vlc, audacious, bmp, xmms2, and others) from shell.
- playerctl.el is just a simple binding to play your music from emacs* Use
In your emacs.d/init.el :** Classic install
#+begin_example
#+begin_src el
(require 'playerctl)
(define-key global-map (kbd "C-c C-SPC") 'playerctl-play-pause-song)
(define-key global-map (kbd "C-c C-n") 'playerctl-next-song)
#+end_src el
#+end_example** Use-package install
#+begin_example
#+begin_src el
(use-package playerctl
:bind(
("C-c C-SPC" . playerctl-play-pause-song)
("C-c C-n" . playerctl-next-song)
("C-c C-p" . playerctl-previous-song)
("C-c C-f" . playerctl-seek-foward)
("C-c C-b" . playerctl-seek-backward)
)
)
#+end_src el
#+end_example** Commands
- ~[M-x] playerctl-play-pause-song~ : Creat joy or stop noise
- ~[M-x] playerctl-next-song~ : change your univers
- ~[M-x] playerctl-previous-song~ : Your best wish was yesterday
- ~[M-x] playerctl-stop-song~ : Push back your brain in real world
- ~[M-x] playerctl-status~ : Give you the status of the player
- ~[M-x] playerctl-volume-up~ : Turn volume up
- ~[M-x] playerctl-volume-down~ : Turns volume down
- ~[M-x] playerctl-seek-forward~ : Seeks forward
- ~[M-x] playerctl-seek-backward~ : Seeks backward
- ~[M-x] playerctl-metadata~ : Show metadata (player name, status, artist, album, and title)
* Need to do :
- Write a true documentation
- Check if playerctl is installed
- Put status / artist / song in statusbar