aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright lines.Michael Olson2008-09-2037-46/+54
| | | | | | | | Also, - Force utf-8 encoding in all files. - Update header of tq.el from version in Emacs.
* Clean up use of regexps to match supported tracks.Michael Olson2008-09-205-18/+20
| | | | | | | | | | | | | | | | * lisp/emms-player-mpd.el (emms-player-mpd-supported-regexp): Use emms-player-simple-regexp. * lisp/emms-player-mplayer.el (mplayer): Ditto. (mplayer-playlist): Only match http:// at beginning of filename. * lisp/emms-player-simple.el (mikmod, alsaplayer): Don't put periods in extensions. Separate URLs from extensions. * lisp/emms-player-xine.el (xine): Use emms-player-simple-regexp. * lisp/emms-source-playlist.el (emms-source-playlist-parse-m3u) (emms-source-playlist-parse-pls): Make regexp easier to read.
* emms-tag-editor: Fix compiler warning.Michael Olson2008-09-191-1/+3
|
* emms-source-playlist: Remove unused helper functions.Michael Olson2008-09-191-24/+0
| | | | | * lisp/emms-source-playlist.el (emms-source-playlist-first) (emms-source-playlist-next): Remove.
* emms-source-playlist: Fix several bugs.Michael Olson2008-09-191-38/+49
| | | | | | | | | | * lisp/emms-source-playlist.el (emms-source-playlist-read-format): Make sure that the history has the complete format name. (emms-source-playlist-unparse-native) (emms-source-playlist-unparse-m3u) (emms-source-playlist-unparse-pls): Rewrite to use emms-walk, because that is easier to reason about. This fixes a bug where only the last half of a particular playlist was being written out.
* emms-player-mpd: Allow periodic song-change timer to be suppressed.Michael Olson2008-09-181-10/+17
| | | | | | | | * lisp/emms-player-mpd.el (emms-player-mpd-check-interval): Allow this to be nil. (emms-player-mpd-play): If nil, do just one check, so that we can record the current play/paused state. (emms-player-mpd-connect-1): If nil, don't install the timer.
* Makefile: Generate autoloads before compiling source.Michael Olson2008-09-171-1/+1
| | | | | This makes compilation warnings in the source easier to spot, and mirrors the behavior of Emacs itself.
* emms-info-libtag: Ignore taglib warnings.Tom Rauchenwald2008-09-151-1/+1
|
* Merge branch 'private'Yoni Rabkin2008-09-061-1/+7
|\
| * Ask before saving over an existing playlist file.Yoni Rabkin2008-09-021-1/+7
| | | | | | | | | | | | | | As suggested on the mailing list, this feature can be turned off. The appropriate documentation has been added to the Emms manual. Signed-off-by: Yoni Rabkin <yonirabkin@member.fsf.org>
* | Prevent interactive yanking from messing up the playlist buffer.Yoni Rabkin2008-08-291-2/+10
|/ | | | | | | | | | Usually, emms-playlist-mode tries not to alter the standard Emacs editing behavior, so that killing and yanking work exactly like they would everywhere else in Emacs. But having two Emms tracks in the emms-playlist-mode buffer on the same line doesn't make sense. This should stop yank commands from doing that. Signed-off-by: Yoni Rabkin <yonirabkin@member.fsf.org>
* emms-lastfm: Mention emms-play-lastfm-artist-fan in header.Michael Olson2008-08-091-3/+4
|
* emms-lastfm: Complete artist names from cache.Michael Olson2008-08-091-7/+21
| | | | | | | | | | | | | | | | * doc/emms.texinfo: Update copyright years. (Last.fm radio): Update names of functions. * lisp/emms-lastfm.el (emms-lastfm-read-artist): New function that reads an artist from the user, doing completions from the EMMS track cache if present. (emms-play-lastfm-similar-artists): Rename from emms-lastfm-radio-similar-artists. Use completion. Thanks to Thierry Volpiatto for the initial implementation (emms-play-lastfm-global-tag): Rename from emms-lastfm-radio-global-tag. (emms-play-lastfm-artist-fan): Rename from emms-lastfm-radio-artist-fan. Use completion.
* emms-lastfm: Fix timer issue when playing radio station.Michael Olson2008-08-081-3/+12
| | | | | | | | | | * lisp/emms-lastfm.el (emms-lastfm-radio-sentinel): Cancel the timer only after emms-player-started-hook is called. Make sure existing timer is canceled before starting new one. Thanks to Thierry Volpiatto for the initial code. (emms-lastfm-cancel-timer-after-stop): New barebones function to add to emms-player-started-hook. (emms-lastfm): Remove it from emms-player-started-hook.
* Introduce emms-completing-read.Michael Olson2008-08-084-13/+34
| | | | | | | | This allows users to specify which completing-read function to use, defaulting to ido-completing-read. The relevant option is emms-completing-read-function. Thanks to Thierry Volpiatto for the idea.
* Implement filtering of track data after retrieving it.Michael Olson2008-08-072-1/+12
| | | | | | | | | | | | | * lisp/emms.el (emms-track-info-filters): New option that allows the user to specify some functions that filter track data. One example of this is removing cruft like "(Album Version)" from music purchased over Amazon without having to edit every single music file. (emms-track-updated-functions): Update docstring to indicate that this is called after display of the track, not before. (emms-track-updated): Call emms-track-info-filters. * lisp/emms-player-mpd.el (emms-player-mpd-get-tracks-1) (emms-player-mpd-show-1): Call emms-track-info-filters.
* emms-playlist-mode: Use "EMMS" in mode-line.Michael Olson2008-08-071-1/+1
| | | | | | * lisp/emms-playlist-mode.el (emms-playlist-mode): Use "EMMS" in the mode-line, not the long "Emms-Playlist". This pretty much *is* the essence of EMMS now.
* emms-player-mpd: Fix compiler warning.Michael Olson2008-07-171-1/+1
|
* tq: Disable undo.Michael Olson2008-07-171-0/+1
|
* emms-player-mpd: Only try once to read tracks after running out of them.Michael Olson2008-07-161-2/+4
| | | | This fixes a bug introduced in the last commit.
* emms-player-mpd: Implement handling of non-EMMS stop of mpd.Michael Olson2008-07-161-7/+28
| | | | | | | | | | | | * lisp/emms-player-mpd.el (emms-player-mpd-last-state): New variable. (emms-player-mpd-detect-song-change-2): New function that triggers playing time update after a non-EMMS-triggered stop. (emms-player-mpd-detect-song-change-1): Do not disconnect on stop. Implement handling of the case where people run "mpc stop", "mpc start" manually. Have EMMS pick up from where they left off. (emms-player-mpd-clear): Trigger the removal of playing time from the modeline. (emms-player-mpd-disconnect): Clear emms-player-mpd-last-state.
* (emms-pause): If player hasn't started, then start it now.William Xu2008-06-171-3/+5
|
* *.el -> lisp/*.el: Move lisp files into "lisp/" subdirectory.William Xu2008-06-1746-0/+14396