Skip to content

Commit

Permalink
embark: add action to add stream to chosen playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo-Heagren committed Dec 27, 2021
1 parent 2f8c321 commit a4b6396
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions consult-emms-embark.el
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ Selected track is added to the current playlist."
(consult-emms--with-chosen-current-playlist
(consult-emms--add-stream stream-name)))

(embark-define-keymap consult-emms-embark-stream-actions
"Keymap for actions on streams in `consult-emms'."
("p" '("Add to playlist" . consult-emms-embark--add-stream-playlist)))

(add-to-list 'embark-keymap-alist '(stream . consult-emms-embark-stream-actions))

(provide 'consult-emms-embark)

;;; consult-emms-embark.el ends here

0 comments on commit a4b6396

Please sign in to comment.