aboutsummaryrefslogtreecommitdiff
path: root/emms-playing-time.el
Commit message (Collapse)AuthorAgeFilesLines
* Adding a facility to resume from where the playback left at.Yuchen Pei2021-11-251-2/+27
| | | | | | | | - A custom option emms-playing-time-resume-from-last-played, default to nil, that resumes to the playing time when the track is started again. - Internally, emms-playing-time will update the playing-time property of the track, and reset it to nil when a track is finished.
* Removing an infinite loop enabling emms-playing-time-display-mode.Yuchen Pei2021-08-241-5/+1
|
* emms-(playing-time|mode-line).el: Use `define-minor-mode`Yoni Rabkin2021-04-291-12/+31
| | | | | | | | | | | | | | | | | | | | | | | | * emms-mode-line.el (emms-mode-line-active-p): Rename to `emms-mode-line-mode`. (emms-mode-line-mode): New minor mode, extracted from `emms-mode-line`. (emms-mode-line): Use it and mark as obsolete. (emms-mode-line-enable, emms-mode-line-toggle): Adjust accordingly and mark as obsolete as well. (emms-mode-line-disable): Adjust accordingly. * emms-playing-time.el (emms-playing-time-display-p): Rename to `emms-playing-time-display-mode`. (emms-playing-time-display-mode): New minor mode. (emms-playing-time-p): Rename to `emms-playing-time-mode`. (emms-playing-time-mode): New minor mode, extracted from `emms-playing-time`. (emms-playing-time): Use it and mark as obsolete. (emms-playing-time-display-mode, emms-playing-time-display-mode): Adjust and mark as obsolete. * emms-setup.el (emms-all): Avoid the now obsolete functions. patch by Stefan Monnier
* *.el: Minor improvements and simplificationsYoni Rabkin2021-04-291-49/+45
| | | | | | | | | | | | | | | | | | | | | | * emms-playlist-limit.el (emms-playlist-limit--limit-playlist): Simplify. * emms-playing-time.el (emms-playing-time-display): Simplify. * emms-player-mpv.el (emms-player-mpv-ipc-proc) (emms-player-mpv-ipc-connect-command, emms-player-mpv-ipc-id) (emms-player-mpv-ipc-stop-command) (emms-player-mpv-event-connect-hook) (emms-player-mpv-ipc-conn-emacs-26.1-workaround): Fit docstrings with 80 columns. * emms-player-mpd.el (emms-player-mpd-ensure-process): Simplify `if` with identical branches. * emms-browser.el (emms-browser-run-mode-hooks): Simplify and move it out of `eval-and-compile`. (emms-browser-sort-cadr, emms-browser-sort-car): Add `debug` spec. patch by Stefan Monnier
* Change the function quoting style to help the compiler.Yoni Rabkin2021-04-201-14/+14
| | | | Patch by Stefan Monnier
* *.el: Remove redundant `:group` argumentsYoni Rabkin2021-04-171-7/+4
| | | | | | Also, remove some redundant leading `*` in defcustom docstrings Patch by Stefan Monnier <monnier@iro.umontreal.ca>
* * emms-playing-time.el: add lexical and fixYoni Rabkin2021-03-031-3/+3
|
* move all files to top-levelYoni Rabkin2020-06-031-0/+239
|
* *.el -> lisp/*.el: Move lisp files into "lisp/" subdirectory.William Xu2008-06-171-226/+0
|
* change-all-file-headers-to-gpl3-or-later.dpatchTassilo Horn2007-06-261-1/+1
| | | | darcs-hash:20070626141221-c06f4-e034ff32ecc6e2d57ffaefaeb4f78d1e36a830a2.gz
* Bump copyright years to 2007 and standardize statementMichael Olson2007-03-191-1/+1
| | | | | | | | | Files made by those who haven't yet completed the assignment process remain copyrighted by that person. Those who have assigned have their files changed to be copyrighted by the FSF, but retain their Author line for the sake of giving proper credit. darcs-hash:20070319145852-1bfb2-2a4bb04c74262f43732fa5a81aa2d488da502995.gz
* emms-playing-time.el: Minor docstring updates.William Xu2007-03-191-3/+3
| | | | darcs-hash:20070319051306-cfa61-99781b572ba5eef00e1e72d2194691818b98a546.gz
* emms-playing-time: Add stuffs for controlling displaying on mode linewilliam.xwl2006-12-181-72/+82
| | | | | | while still enabling emms-playing-time module at backgrond. darcs-hash:20061218112057-e8fe6-5abc7b6dbad114317d325e86851be49dc73b2cfb.gz
* emms-playing-time.el: New variable `emms-playing-time-style', itwilliam.xwl2006-11-121-13/+34
| | | | | | supports two styles at present, `time' and `bar'. darcs-hash:20061112123308-e8fe6-144635260d3ece1eae45593f6900478b4f089bc2.gz
* Since emms-player-seeked-to-functions and emms-player-time-set-functions ↵Michael Olson2006-10-171-1/+0
| | | | | | hooks do the same thing, replace the former with the latter darcs-hash:20061017210238-1bfb2-bdadf89a3b753c5704e7252ff21d87ae6c59d79d.gz
* emms-playing-time.el: Minor cleanups.william.xwl2006-09-291-5/+2
| | | | darcs-hash:20060929081908-e8fe6-f709c35fd9e891da05ac0b55e311afe7f3fc639b.gz
* emms-playing-time.el now works with `seek-to'.yoni-r2006-09-221-0/+1
| | | | darcs-hash:20060922094757-85c19-fbb086056c6b7050585a8ad86996d39c2a8085e4.gz
* emms-playing-time: Don't require emms-info-mp3info, since none of its ↵Michael Olson2006-08-061-1/+0
| | | | | | functions are used directly. darcs-hash:20060806022659-1bfb2-85b04367707b2a25c93ed9d1f6b7b38c434c5fcb.gz
* Allow player to set the exact elapsed time of a track. emms-player-mpd and ↵Michael Olson2006-07-021-2/+10
| | | | | | emms-player-mpg321-remote both need this. darcs-hash:20060702012131-1bfb2-3e6229d68adf0d78574e0fc6cd1c1a4438c870c3.gz
* Standardize copyright notices. Add COPYING file. Mention license in README.Michael Olson2006-06-081-5/+6
| | | | darcs-hash:20060608194123-1bfb2-cbfbc9eacb41016b24acb9ea2654f141496b0caa.gz
* Make XEmacs21 and Emacs21 happy.Michael Olson2006-04-201-2/+2
| | | | darcs-hash:20060420234749-1bfb2-e458134b41ba8e28d25030fe5b6d6b8f4222c28d.gz
* Make all add-on files toggle-able.Michael Olson2006-04-011-22/+32
| | | | darcs-hash:20060401210634-1bfb2-6a8f735119b68c6ab80d503910ec0105680fec73.gz
* fixed copyright years and copyright holderyonirabkin2006-03-151-1/+1
| | | | darcs-hash:20060315155834-be80e-cda533a1510f20fdef5248ec0037ddaa037fa18b.gz
* Pass correct parameter to `run-at-time', to make sure only one timer iswilliam.xwl2006-01-181-2/+2
| | | | | | running. darcs-hash:20060118131412-e8fe6-d423f6a7aa50b929403fc333984280e137b6b8fe.gz
* Use emms-replace-regexp-in-string.Michael Olson2006-01-061-1/+1
| | | | darcs-hash:20060106032400-1bfb2-7036a03bfa98f5379e95bb61848c497de43b3be6.gz
* emms-playing-time: Make sure that we don't start more than one timer instance.Michael Olson2006-01-041-4/+6
| | | | darcs-hash:20060104224902-1bfb2-46604a22db0c34bd3fd5c9bf8b3d4cf6581361f0.gz
* Make emms-player-mpd work with emms-playing-time.Michael Olson2006-01-041-1/+2
| | | | darcs-hash:20060104081359-1bfb2-a0a8fad9d64ef84432c8698285f9c8293425152d.gz
* Use timers in a way that is compatible with both Emacs and XEmacs.Michael Olson2006-01-041-2/+6
| | | | darcs-hash:20060104061024-1bfb2-a35972f84a96c27a9a4bee6a245a8cbe2d6a8dd1.gz
* emms-playing-time.el: New function: `emms-playing-time-restore-mode-line'.william.xwl2005-10-051-4/+10
| | | | darcs-hash:20051005064846-e8fe6-c4f072868018fe19587c9d264de1d1b4057f85e0.gz
* emms-playing-time.el:william.xwl2005-09-231-36/+56
| | | | | | | | | | | | 1 New functions: `emms-playing-time-enable', `emms-playing-time-disable', `emms-playing-time-toggle', for handling hook stuffs. 2 Removed `emms-playing-time-display-p' where unnecessary now. 3 Updated commentary and author name. :-) darcs-hash:20050923163428-e8fe6-f9871c6d81c9dd347d7d3f1a90c7ccc53052a8f8.gz
* emms-playing-time.el: Applied standard customization definitions.william.xwl2005-09-231-9/+21
| | | | darcs-hash:20050923042230-e8fe6-7aa526aeb68fa6b3bd964dd17cc5d5627c2c6719.gz
* emms-playing-time: Since 'info-playing-time is an int now, changedwilliam.xwl2005-09-221-4/+3
| | | | | | `emms-playing-time-display' accordingly. darcs-hash:20050922161519-e8fe6-10afec9d862e9706358a9d7da3f9041c6d5a8236.gz
* emms-playing-time.el: Updated the playing-time retrieval method, so aswilliam.xwl2005-09-221-10/+10
| | | | | | to be able to display playing-time again. darcs-hash:20050922131319-e8fe6-31a021162b338fa900f3f04916b3232ba75c6efe.gz
* emms-playing-time.el: Changed to `emms-player-seeked-hook' towilliam.xwl2005-09-151-1/+1
| | | | | | `emms-player-seeked-functions', defined in `emms.el'. darcs-hash:20050915041250-e8fe6-9158bd4cdc7b6de802ca387dcec5760d20cdf9e3.gz
* Fixing the extensions problem.lucas2005-09-121-1/+0
| | | | | | | Just removed the requires, and added require mplayer in emms-default. darcs-hash:20050912125805-4f952-c8233776b898931b835cd6d6674b003ee01572ee.gz
* Fixed emms-mode-line-icon and -playing-timelucas2005-09-121-1/+1
| | | | darcs-hash:20050912114449-4f952-7673b38ea57a6c34a59500c0ae1769a98fb28c9f.gz
* Initial commit (CVS 2005-09-11)forcer2005-09-111-0/+137
darcs-hash:20050911200506-2189f-48a136015e33465c3cf09940ce935ec2203df463.gz