 ;;; Commentary:
 
 ;;; Code:
+
+(declare-function emms-shuffle "emms")
+(declare-function emms-mode-line "emms-mode-line")
+(declare-function emms-playlist-new "emms")
+(declare-function emms-stop "emms")
+(declare-function emms-playlist-set-playlist-buffer "emms")
+(declare-function emms-playlist-current-clear "emms")
+(declare-function emms-playlist-current-insert-source "emms")
+(declare-function emms-playlist-select-first "emms")
+(declare-function emms-start "emms")
+(declare-function emms-track-get "emms")
+(declare-function emms-track-simple-description "emms")
+(declare-function emms-playlist-ensure-playlist-buffer "emms")
+(declare-function emms-propertize "emms-compat")
+(declare-function emms-track-force-description "emms")
+(declare-function emms-playlist-selected-track-at-p "emms")
+(declare-function emms-playlist-mode-overlay-selected "emms-playlist-mode")
+(declare-function emms-track-description "emms")
+(declare-function emms-playlist-current-selected-track "emms")
+(declare-function emms-next "emms")
+(declare-function emms-previous "emms")
+(declare-function emms-pause "emms")
+(declare-function emms-show "emms")
+(declare-function emms "emms-playlist-mode")
 
  

;; Track description

(defun db/emms-track-description (track)
  (require 'seq)
  (let* ((artist    (propertize (emms-track-get track 'info-artist "")
                                'face 'emms-browser-artist-face))


(setq emms-source-file-default-directory "~/Documents/media/audio/")

(advice-add 'emms-tag-editor-submit :after #'delete-window)

(bind-key "S s" #'emms-shuffle emms-playlist-mode-map)

