Emacs user interface for Music Player Daemon (https://www.musicpd.org/), a flexible, powerful, server-side application for playing music.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.1KB

  1. ;;; mpdel.el --- Play and control your MPD music -*- lexical-binding: t; -*-
  2. ;; Copyright (C) 2018-2019 Damien Cassou
  3. ;; Author: Damien Cassou <damien@cassou.me>
  4. ;; Keywords: multimedia
  5. ;; Url: https://gitlab.petton.fr/mpdel/mpdel
  6. ;; Package-requires: ((emacs "25.1") (libmpdel "1.2.0") (navigel "0.7.0"))
  7. ;; Version: 1.0.0
  8. ;; This program is free software; you can redistribute it and/or modify
  9. ;; it under the terms of the GNU General Public License as published by
  10. ;; the Free Software Foundation, either version 3 of the License, or
  11. ;; (at your option) any later version.
  12. ;; This program is distributed in the hope that it will be useful,
  13. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. ;; GNU General Public License for more details.
  16. ;; You should have received a copy of the GNU General Public License
  17. ;; along with this program. If not, see <https://www.gnu.org/licenses/>.
  18. ;;; Commentary:
  19. ;; MPDel is an Emacs client for Music Player Daemon (MPD), a flexible,
  20. ;; powerful, server-side application for playing music. This project
  21. ;; provides an Emacs user interface including playlists, navigation in
  22. ;; the database and playback control. Read the README.org file for
  23. ;; more information.
  24. ;;; Code:
  25. (require 'mpdel-song)
  26. (require 'mpdel-playlist)
  27. (require 'mpdel-tablist)
  28. (require 'mpdel-browser)
  29. ;;; Customization
  30. (defgroup mpdel nil
  31. "Configure MPDel."
  32. :group 'libmpdel)
  33. (defcustom mpdel-prefix-key (kbd "C-x Z")
  34. "Prefix key to all global mpdel keybindings."
  35. :type 'key-sequence)
  36. ;;; Minor mode: Define the global minor mode so users can control MPD
  37. ;;; from non-MPDel buffers
  38. (defvar mpdel-mode-map
  39. (let ((map (make-sparse-keymap)))
  40. (define-key map mpdel-prefix-key 'mpdel-core-map)
  41. map)
  42. "Keymap activating variable `mpdel-core-map'.")
  43. (define-minor-mode mpdel-mode
  44. "Activate keybindings to play and control your MPD server.
  45. \\{mpdel-mode-map}"
  46. :global t
  47. :require 'mpdel
  48. :lighter " MPDel")
  49. (provide 'mpdel)
  50. ;;; mpdel.el ends here
  51. ;;; LocalWords: Mpdel mpdel