emms-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emms-patches] darcs patch: emms-player-mpd: Implement seek-to support (


From: Michael Olson
Subject: [Emms-patches] darcs patch: emms-player-mpd: Implement seek-to support (and 2 more)
Date: Tue, 17 Oct 2006 17:03:51 -0400

Tue Oct 17 16:51:06 EDT 2006  Michael Olson <address@hidden>
  * emms-player-mpd: Implement seek-to support

Tue Oct 17 16:53:10 EDT 2006  Michael Olson <address@hidden>
  * emms-browser: Fix compiler warning

Tue Oct 17 17:02:38 EDT 2006  Michael Olson <address@hidden>
  * Since emms-player-seeked-to-functions and emms-player-time-set-functions 
hooks do the same thing, replace the former with the latter
New patches:

[emms-player-mpd: Implement seek-to support
Michael Olson <address@hidden>**20061017205106] {
hunk ./emms-player-mpd.el 227
+(emms-player-set emms-player-mpd
+                 'seek-to
+                 'emms-player-mpd-seek-to)
+
hunk ./emms-player-mpd.el 879
+(defun emms-player-mpd-seek-to (pos)
+  "Seek to POS seconds from the start of the current track."
+  (interactive)
+  (emms-player-mpd-get-current-song
+   pos
+   (lambda (pos song)
+     (when (and song pos)
+       (emms-player-mpd-send
+        (concat "seek " song " " (number-to-string pos))
+        nil #'ignore)))))
+
}

[emms-browser: Fix compiler warning
Michael Olson <address@hidden>**20061017205310] {
hunk ./emms-browser.el 1109
-            parent-data parent-point)
+            parent-bdata parent-point)
}

[Since emms-player-seeked-to-functions and emms-player-time-set-functions hooks 
do the same thing, replace the former with the latter
Michael Olson <address@hidden>**20061017210238] {
hunk ./emms-playing-time.el 120
-       (add-hook 'emms-player-seeked-to-functions 'emms-playing-time-set)
hunk ./emms.el 222
-(defcustom emms-player-seeked-to-functions nil
-  "*Functions called when a player is seeking.
-The functions are called with a single argument, the amount of
-seconds the player seeked to."
-  :group 'emms
-  :type 'hook)
-
hunk ./emms.el 1345
-        (run-hook-with-args 'emms-player-seeked-to-functions seconds)))))
+        (run-hook-with-args 'emms-player-time-set-functions seconds)))))
}

Context:

[fix faulty emms-playlist-mode keybinding, fix due to William and Damien.
address@hidden 
[Added seeking to the playlist keymap, and updated the manual.
address@hidden 
[emms-player-mpd: Only display error if we are certain that url.el is not 
up-to-date
Michael Olson <address@hidden>**20061004032213] 
[seek-for-alsaplayer
address@hidden
 Add relative seek support for alsaplayer
] 
[midi-files-via-timidity
address@hidden
 A simple-player definition for timidity
] 
[emms-playing-time.el: Minor cleanups.
address@hidden 
[emms-lyrics.el: Minor Cleanups.
address@hidden 
[pause-for-alsaplayer
address@hidden
 Get pause/resume working for alsaplayer
] 
[mms-for-mplayer
address@hidden
 mplayer also supports mms:// URLs
] 
[DoTheRightThing with player pausing and emms-bookmarks.el
address@hidden 
[Added emms-bookmarks.el
address@hidden 
[Added `emms-pause' to emms-playlist-mode.el bound to to ``P''.
address@hidden 
[browser: add deletion started/finished message
Damien Elmes <address@hidden>**20060923051128] 
[Added a link to the online version of the manual.
address@hidden 
[emms-playing-time.el now works with `seek-to'.
address@hidden 
[Added `seek-to' to emms.el and emms-player-mplayer.el.
address@hidden 
[browser/cache: support deleting files, make emms-cache-dirty a defsubst
Damien Elmes <address@hidden>**20060922090553] 
[TAG 2.1
address@hidden 
Patch bundle hash:
b2e568d57fd0227ea19e6f4fe44845ca3a3375e7

reply via email to

[Prev in Thread] Current Thread [Next in Thread]