di-macs

Homepage: https://github.com/jhmw/di-macs

Author: Jack Williams

Updated:

Summary

Get Digitally Imported track listings from within Emacs

Commentary

Setup

(add-to-list 'load-path "~/.emacs.d/path/to/file")
(require 'di-macs)


Usage

M-x di-macs-now-playing => Channel
M-x di-macs-recently-played => Channel


Binding your favourite channel to a key.

(defun trance-now-playing ()
  (interactive)
  (di-macs-execute-user-command 'di-macs-get-now-playing "Trance"))

(defun trance-track-list ()
  (interactive)
  (di-macs-execute-user-command 'di-macs-get-recently-played' "Trance"))

(global-set-key (kbd "C-c C-t") 'trance-now-playing)
(global-set-key (kbd "C-c C-l") 'trance-track-list)

Dependencies