Skip to content
Get Digitally Imported track listings from within Emacs
Emacs Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.org
di-macs.el

README.org

di-macs

Access Digitally Imported track listings from within Emacs

Setup

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

Usage

Query a channel

Display the currently playing song for a channel in the mini-buffer.

  • M-x di-macs-now-playing => Channel

Display recently played songs for a channel in a buffer.

  • 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)

About

The aim of this package is to allow users to check whats currently playing on other DI channels without having to change stream, all from the comfort of emacs. It is not intended to be a media player, thats because there are great tools already for this (see EMMS).

Please feel free to report any bugs or modify this package freely.

You can’t perform that action at this time.