aboutsummaryrefslogtreecommitdiff
path: root/lisp/emms-player-mpd.el
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/emms-player-mpd.el: interactiveYoni Rabkin2017-11-221-0/+1
| | | | Make `emms-player-mpd-play interactive.
* * lisp/emms-player-mpd.el: allow socketYoni Rabkin2017-10-201-4/+8
| | | | Allow mpd to read directly from a named socket.
* Move from cl to cl-lib.Yoni Rabkin2017-07-141-4/+5
| | | | Patch by tumashu <tumashu@163.com>.
* * lisp/emms-player-mpd.el: Remove obsoleteYoni Rabkin2017-02-261-5/+1
| | | | Replace the obsolete function with its up-to-date equivalent.
* Correct documentation.Yoni Rabkin2014-07-281-2/+3
| | | | Changes by Alexis <flexibeast@gmail.com>.
* * lisp/emms-player-mpd.el: Fix MPD listinfoall.Yoni Rabkin2014-06-301-7/+23
| | | | Patch by Jose Antonio Ortega Ruiz <jao@gnu.org>.
* * lisp/emms-player-mpd.el: Require code which provides emms-url-... functions.Yoni Rabkin2014-04-221-0/+1
|
* * lisp/emms-player-mpd.el: Require the code which provides emms-cache-db.Yoni Rabkin2014-04-221-0/+1
|
* * lisp/emms-player-mpd.el (emms-player-mpd-get-supported-regexp):Johnathan Rabkin2012-10-141-24/+39
| | | | | | | | | extend the supported formats scanning to the new (0.17) output of `mpd --version', keeping the previous scanners for earlier versions. We include not only file extensions, but also supported network protocols, which are also reported by mpd. Patch by Jose Antonio Ortega Ruiz <jao@gnu.org>
* emms-player-mpd.el: Parsing of supported formats for newer versions of mpd.David Engster2010-03-041-10/+15
| | | | | * emms-player-mpd: (emms-player-mpd-get-supported-regexp): Added code to parse the output of newer versions of mpd.
* * emms-player-mpd: (emms-player-mpd-seek, emms-player-mpd-seek-to):Lucas Bonnet2010-03-011-2/+2
| | | | | | | Round to full seconds since mpd doesn't allow float values for seeking (this usually happens with emms-cue-next, for instance). Patch by David Engster <deng@randomsample.de>
* * lisp/emms-player-mpd.el: new function to update all MPD tracks, thenLucas Bonnet2010-02-261-0/+46
| | | | | | clear local cache and fetch new updated cache from MusicPD Patch by David Engster <deng@randomsample.de>
* * lisp/emms-player-mpd.el (emms-player-mpd-add): do not add files not ↵Lucas Bonnet2010-02-221-1/+2
| | | | | | recognized by MPD Patch by David Engster <deng@randomsample.de>
* Introduce emms-insert-file-contents.Michael Olson2009-08-051-1/+1
| | | | | | This function is a safe way to insert the contents of a file without triggering major mode detection, and has been tested on several versions of Emacs and XEmacs.
* Update copyright headers.Michael Olson2009-02-081-1/+1
|
* Clean up use of regexps to match supported tracks.Michael Olson2008-09-201-1/+2
| | | | | | | | | | | | | | | | * 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-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.
* Implement filtering of track data after retrieving it.Michael Olson2008-08-071-0/+2
| | | | | | | | | | | | | * 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-player-mpd: Fix compiler warning.Michael Olson2008-07-171-1/+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.
* *.el -> lisp/*.el: Move lisp files into "lisp/" subdirectory.William Xu2008-06-171-0/+1198