aboutsummaryrefslogtreecommitdiff
path: root/emms.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-07-02 01:21:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-07-02 01:21:00 +0000
commit4a873b05b48e1b3bca23499494cff40bf6a3e74a (patch)
treeda2eee3e961a92200d3ddc3e92846f4d74deba8d /emms.el
parentaccfde0f1a53e921406bb352fc5c3081ef9dbe97 (diff)
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
Diffstat (limited to 'emms.el')
-rw-r--r--emms.el7
1 files changed, 7 insertions, 0 deletions
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."