Skip to content

Commit

Permalink
Add album of current song
Browse files Browse the repository at this point in the history
  • Loading branch information
pft committed Mar 10, 2016
1 parent 5ba81f9 commit 895f0af
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mingus.el
Original file line number Diff line number Diff line change
Expand Up @@ -3181,6 +3181,13 @@ deleted."
;;hmm, where IS this mingus-url for?
(save-window-excursion (mingus)))

(defun mingus-add-album ()
"In Mingus, add all songs in the same album as the song under point."
(interactive)
(let ((album (getf (mingus-get-details) 'X-AlbumUri)))
(if album
(mingus-add album)
(message "No album found for this song"))))

(defcustom mingus-stream-alist
'(("CRo 1 - Radiozurnal (czech)" . "http://amp1.cesnet.cz:8000/cro1-256.ogg")
Expand Down

0 comments on commit 895f0af

Please sign in to comment.