aboutsummaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Introduce emms-insert-file-contents.Michael Olson2009-08-057-9/+30
| | | | | | 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.
* (emms-history-file-coding-system): New var.William Xu2009-07-261-0/+9
| | | | (emms-history-save): Set mode and coding-system in saved file.
* Merge branch 'master' of ssh://xwl@git.sv.gnu.org/srv/git/emmsWilliam Xu2009-07-267-41/+62
|\
| * * lisp/emms-playlist-mode.el: Bind "C-x u" to `emms-playlist-mode-undo' in ↵Yoni Rabkin2009-07-051-0/+1
| | | | | | | | emms-playlist-mode.
| * emms-source-playlist: Docstring typo.Michael Olson2009-06-091-1/+1
| |
| * emms-source-playlist: Fix bug, update docstring.Michael Olson2009-06-091-23/+29
| |
| * Allow relative file names in .m3u playlistsDieter Deyke2009-06-081-3/+3
| |
| * emms-tag-editor: Turn all symbols to strings before completing read.Michael Olson2009-03-311-6/+19
| | | | | | | | Otherwise ido-mode will choke on it.
| * Add "ogm" extension to VLC, MPlayer and Xine.Tassilo Horn2009-03-173-3/+3
| |
| * * lisp/emms-player-vlc.el: Add support for VLC versions > 0.8.6e.Yoni Rabkin2009-03-101-1/+1
| |
| * (emms-browser-mmatches-p): When performing searches, check whetherJose Antonio Ortega Ruiz2009-03-091-3/+3
| | | | | | | | | | | | This is the second patch addressing the null track fields issue. In this case, before trying to STRING-MATCH in a search, we check that the track's field is non-null.
| * * emms-browser.el (emms-browser-make-hash-by): Check that field is present ↵Jose Antonio Ortega Ruiz2009-03-091-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | before attempting to add entries. Addresses an issue'm encountered when using lastfm integration and mpd as the player. After requesting streaming from last.fm, a new track gets added to EMMS' database, which is named after the streaming URL but has no other fields. Thus, when adding entries or making searches, checking the the field at hand is non-nil is needed. This patch checks that for emms-browser-make-hash-by.
* | Merge branch 'master' of ssh://xwl@git.sv.gnu.org/srv/git/emmsWilliam Xu2009-02-2344-59/+62
|\|
| * Update copyright headers.Michael Olson2009-02-0843-51/+56
| |
| * tq.el: Update header.Michael Olson2009-02-081-8/+6
| |
* | Merge branch 'master' of ssh://xwl@git.sv.gnu.org/srv/git/emmsWilliam Xu2008-12-271-708/+80
|\|
| * * lisp/emms-stream-info.el: Reimplement using player backends.Yoni Rabkin2008-12-241-9/+76
| |
| * * lisp/emms-stream-info.el Nuke the contents of the oldYoni Rabkin2008-12-241-708/+13
| | | | | | | | emms-stream-info.el file in preparation for a rewrite.
* | emms-i18n-default-coding-system: Change default value from nil to ↵William Xu2008-12-211-2/+2
|/ | | | '(no-conversion . no-conversion).
* Don't set foreground explicitly to NIL in emms-stream-name-face.Sascha Wilde2008-10-161-1/+1
| | | | This is needed to make emms work with current GNU Emacs CVS HEAD.
* * emms-player-vlc.el: Add support for playlists.Yoni Rabkin2008-10-021-9/+13
| | | | Signed-off-by: Yoni Rabkin <yoni@rabkins.net>
* * emms-player-vlc.el (emms-player-vlc-seek): Add seek functionalityYoni Rabkin2008-10-021-3/+6
| | | | | | for vlc. * emms-player-vlc.el (emms-player-vlc-seek-to): Add docstring.
* Add VideoLAN, aka vlc, support to Emms.Yoni Rabkin2008-09-302-2/+85
| | | | | | | | | * lisp/emms-player-vlc.el: Add new file emms-player-vlc.el with preliminary support for vlc. * lisp/emms-setup.el: (emms-setup-default-player-list) Add the emms-player-vlc player. (emms-minimalistic) Add emms-player-vlc as a requirement.
* 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