aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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