From 4a873b05b48e1b3bca23499494cff40bf6a3e74a Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sun, 2 Jul 2006 01:21:00 +0000 Subject: Allow player to set the exact elapsed time of a track. emms-player-mpd and emms-player-mpg321-remote both need this. darcs-hash:20060702012131-1bfb2-3e6229d68adf0d78574e0fc6cd1c1a4438c870c3.gz --- emms.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'emms.el') diff --git a/emms.el b/emms.el index 0bcc686..80dc3a1 100644 --- a/emms.el +++ b/emms.el @@ -214,6 +214,13 @@ seconds the player did seek." :group 'emms :type 'hook) +(defcustom emms-player-time-set-functions nil + "*Functions called when a player is setting the elapsed time of a track. +The functions are called with a single argument, the time elapsed +since the beginning of the current track." + :group 'emms + :type 'hook) + (defcustom emms-cache-get-function nil "A function to retrieve a track entry from the cache. This is called with two arguments, the type and the name." -- cgit v1.2.3