aboutsummaryrefslogtreecommitdiff
path: root/emms-player-mpd.el
Commit message (Collapse)AuthorAgeFilesLines
* Clean: emms-track-file-p replaces eq file type checksYoni Rabkin2021-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | There were about 10 checks throughout the code checking if a track is a file type. File type tracks are specific enough for a predicate function. Add: EMMS warning if no tagging program for audio file type Warn the user when there is no tag writing program available to EMMS for modifying the actual audio files. Current behavior allows the tags to be edited, saved to the EMMS cache db, and then silently skips past the part where the metadata would be applied to the file itself. The changes here prevent the user from even opening the editor for a file that has no tag writing program configured. This can be overridden with the prefix arg when user wants to edit the tags anyway, knowing they will only be saved in the emms-cache-db and not written to the source audio files. Patch by Grant Shangreaux
* *.el: Minor improvements and simplificationsYoni Rabkin2021-04-291-3/+1
| | | | | | | | | | | | | | | | | | | | | | * 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-10/+10
| | | | Patch by Stefan Monnier
* *.el: Remove redundant `:group` argumentsYoni Rabkin2021-04-171-22/+12
| | | | | | Also, remove some redundant leading `*` in defcustom docstrings Patch by Stefan Monnier <monnier@iro.umontreal.ca>
* * emms-player-mpd.el: add lexical and fixYoni Rabkin2021-03-031-5/+16
| | | | | This code is too smart for its own good and had left a lot of unused lexical variables.
* move all files to top-levelYoni Rabkin2020-06-031-0/+1320
|
* *.el -> lisp/*.el: Move lisp files into "lisp/" subdirectory.William Xu2008-06-171-1198/+0
|
* emms-player-mpd.el: Quote argument to "update" command.Michael Olson2008-06-041-1/+1
|
* emms-url: Add emms-url-quote-entire function.Michael Olson2008-02-151-1/+1
| | | | | | | | Use it to conservatively escape entire URLs. Make emms-player-mpd use this instead of emms-url-quote. darcs-hash:20080215173509-1bfb2-de02bb833c0ca4afefa42f232c1278d1c3e155ca.gz
* - emms-url.el: (emms-url-quote, emms-url-quote-plus), New functionsWilliam Xu2008-02-121-1/+1
| | | | | | | | | | | | | renamed from emms-lyrics-url-quote, emms-lyrics-url-quote-plus defined in emms-lyrics.el. - emms-url.el: (emms-escape-url, emms-url-specials), deleted, since they can only escape ASCII characters, emms-url-quote can handle all characters. - Update affected files accordingly. darcs-hash:20080212064822-cfa61-759d28b271024ab1a17bd23a2444c076d04e55e7.gz
* emms-player-mpd (clear): Use current buffer if it is an EMMS playlist buffer.Michael Olson2008-01-301-2/+11
| | | | darcs-hash:20080130063956-1bfb2-dfa5407041c7f4c4ab5622636c405901bd480bc2.gz
* Add support for composer and performer tags.Nix2007-08-181-0/+2
| | | | | | | | | | | | | | | | The browser keybindings are somewhat discontiguous to avoid breaking people's finger macros: browsing by composer and performer are `b 5' and `b 6' respectively, where artist is `b 1'. In the tag editor, I changed the note format character to %;, making room for composer as %c. I've not added support to last.fm for composer or performer, as it doesn't seem to support either. (I suspect that in most cases the composer should be reported as the artist if it is present, but that is not impolemented here.) darcs-hash:20070818133412-984cd-07ed55c9bf357ee6119f6d70fc2f267e9e8ecef9.gz
* emms-player-mpd: Fix bug with selecting an individual URL track to play from ↵Michael Olson2007-07-231-2/+1
| | | | | | a streamlist darcs-hash:20070723015956-1bfb2-e9fdefb2e8a6897384a6d8f1ca8ccb5016415631.gz
* emms-player-mpd: Make callback arg for emms-player-mpd-sync-from-emms optionalMichael Olson2007-07-231-2/+3
| | | | darcs-hash:20070723015722-1bfb2-917e1a705e793f4b1f9c34a0d0168aaa38efb355.gz
* change-all-file-headers-to-gpl3-or-later.dpatchTassilo Horn2007-06-261-1/+1
| | | | darcs-hash:20070626141221-c06f4-e034ff32ecc6e2d57ffaefaeb4f78d1e36a830a2.gz
* emms-player-mpd: Fix erroneous extra message and be more careful about the ↵Michael Olson2007-04-091-22/+24
| | | | | | current buffer darcs-hash:20070409051913-1bfb2-c965d42ac45f6510003919c6cba7783164028ea3.gz
* Fix use of `message', silence mpd-show if callback given and no song playingMichael Olson2007-04-081-2/+3
| | | | darcs-hash:20070408233853-1bfb2-c36da9a1961e7186ea3afd81445a011500cd7d64.gz
* emms-player-mpd: Integrate with emms-lastfm to show trackMichael Olson2007-04-081-25/+34
| | | | | | | | | | | | * emms-lastfm (emms-lastfm-np): Expand to take optional callback argument. Rename `arg' to `insertp' for clarity. * emms-player-mpd (emms-player-mpd-show-1): Detect if emms-lastfm is activated, and if the current track is a LastFM URL. If so, call emms-lastfm-np rather than continuing on. (emms-player-mpd-show): Docfix. darcs-hash:20070408205000-1bfb2-6207ca703571a4602c7b1510f62be33df9722a8d.gz
* emms-player-mpd: Stylize Lisp code in documentationMichael Olson2007-03-041-6/+6
| | | | darcs-hash:20070304075903-1bfb2-115b9f1758a4dd677989f03493b255ae724d6b58.gz
* emms-player-mpd: Miscellaneous docfixesMichael Olson2007-02-271-9/+5
| | | | darcs-hash:20070227180444-1bfb2-0b51168d8fcc72f778e096ffa1bfc144e6ccf6b2.gz
* emms-player-mpd: Use functions in emms-url.elMichael Olson2007-01-051-3/+13
| | | | darcs-hash:20070105035233-1bfb2-6b83da8301b2ea542a061a6baab437fea1dade9e.gz
* Remove emms-volume-mpd-raise/lower, make chapter in manual for emms-volume.elMichael Olson2007-01-051-20/+1
| | | | darcs-hash:20070105000820-1bfb2-20d9168d8cc55d2098f37602ade9aff5875b61aa.gz
* emms-player-mpd: Document how to use MusicPD to change the volume via ↵Michael Olson2006-12-081-0/+5
| | | | | | emms-volume.el darcs-hash:20061208223509-1bfb2-9566bd733009216ccf1b12e5c3ca17cc67db8d4e.gz
* emms-player-mpd: Deal with change in output when getting supported file typesMichael Olson2006-10-281-2/+3
| | | | darcs-hash:20061028042119-1bfb2-ac4774e6e82e7c4a15626c99d33efaa378d5e5a0.gz
* emms-player-mpd: Handle errors that occur when we begin playbackMichael Olson2006-10-221-35/+50
| | | | darcs-hash:20061022215310-1bfb2-b99b27d89e83a9657f43100cdae95791c4409dab.gz
* emms-player-mpd: Update version recommendationMichael Olson2006-10-221-4/+7
| | | | darcs-hash:20061022012223-1bfb2-b9ffb934c2cdf8f1516c35b12bc00ca6f9f6266c.gz
* emms-player-mpd: Work properly with tracks inserted by emms-browserMichael Olson2006-10-221-10/+54
| | | | darcs-hash:20061022011050-1bfb2-eac272f7163adf59d75547e7e4e81fd999d28ace.gz
* emms-player-mpd: When using the emms-volume interface, allow the user to ↵Michael Olson2006-10-171-3/+11
| | | | | | specify the amount of change in the volume darcs-hash:20061017220404-1bfb2-816cd9b19dfb4094787434034e46fddce4442831.gz
* Documentation cleanups in emms-player-mpd and emms-source-playlistMichael Olson2006-10-171-15/+28
| | | | darcs-hash:20061017215345-1bfb2-5b89694555857fdfa14f43aa1c62f17cd612287a.gz
* emms-player-mpd: Implement seek-to supportMichael Olson2006-10-171-0/+15
| | | | darcs-hash:20061017205106-1bfb2-d01f0f9e55a027a2f9a9467b7544bdc6df4cfa39.gz
* emms-player-mpd: Only display error if we are certain that url.el is not ↵Michael Olson2006-10-041-6/+4
| | | | | | up-to-date darcs-hash:20061004032213-1bfb2-090d7e68e56bc4639df136e47a67c5b0966fd9c0.gz
* emms-player-mpd: Use regexp-opt instead of mapconcat.Michael Olson2006-08-251-2/+1
| | | | darcs-hash:20060825203258-1bfb2-8be4ed4794be6581c6a1b65dfbbfdc991a826225.gz
* Include the tq.el file from Emacs 22 with EMMS, instead of re-implementing ↵Michael Olson2006-08-271-110/+9
| | | | | | it in emms-player-mpd.el. darcs-hash:20060827052155-1bfb2-b2b47f20d03eaa85cecdf3c1805279edc59c68ee.gz
* emms-player-mpd: Get rid of error messages when closing the MusicPD process ↵Michael Olson2006-08-181-36/+51
| | | | | | after playing the last track in the playlist. darcs-hash:20060818050516-1bfb2-a4d4b8d0a41a68014e7c5edb6e98a2f4ea3f48ec.gz
* emms-player-mpd: Really kill the client process, as documented, instead of ↵Michael Olson2006-08-111-1/+4
| | | | | | waiting for it to time out. darcs-hash:20060811185849-1bfb2-bcfc45ae54e42ad5c182bd7f3cd4b6ca5e76f3f3.gz
* emms-player-mpd: Make supported formats regexp customizable.Michael Olson2006-08-111-24/+30
| | | | darcs-hash:20060811184859-1bfb2-bec436303736ffda13cfffeb7a0eea38de054894.gz
* emms-player-mpd: Emacs21 fix.Michael Olson2006-08-061-4/+4
| | | | darcs-hash:20060806022640-1bfb2-a9c4a3d651c91ec8e1cf49e5efaa64fafa2bf7d6.gz
* emms-player-mpd: Use better logic for last patch.Michael Olson2006-08-041-14/+13
| | | | darcs-hash:20060804185308-1bfb2-ae78a2fb0939d2265454d088eee6881b780f89be.gz
* emms-player-mpd: Correctly fetch track data when using remote MusicPD server.Michael Olson2006-08-041-6/+6
| | | | darcs-hash:20060804183813-1bfb2-57e60908847a03eade1622689660cf2614d219e7.gz
* emms-player-mpd: Use better algorithm to detect whether the user has ↵Michael Olson2006-08-031-7/+5
| | | | | | requested a stop or whether we have run out of tracks. Thanks to dds for the report. darcs-hash:20060803030044-1bfb2-8ae4e59fcafcbfff9b8b2e764aceb82d80c16faf.gz
* emms-player-mpd: Add support for updating MusicPD's database and improve ↵Michael Olson2006-07-301-1/+31
| | | | | | documentation. darcs-hash:20060730223147-1bfb2-5e323fa65ecb32976db21c07a96143d36d65d7e8.gz
* emms-player-mpd: Allow a password to be sent to the MusicPD server.Michael Olson2006-07-301-2/+19
| | | | darcs-hash:20060730215000-1bfb2-492d75142915235bcc52d20e92d7d9973dfd8053.gz
* Allow player to set the exact elapsed time of a track. emms-player-mpd and ↵Michael Olson2006-07-021-1/+1
| | | | | | emms-player-mpg321-remote both need this. darcs-hash:20060702012131-1bfb2-3e6229d68adf0d78574e0fc6cd1c1a4438c870c3.gz
* emms-player-mpd: Make the playable-p function return nil if we cannot start ↵Michael Olson2006-06-161-1/+7
| | | | | | a connection to mpd. darcs-hash:20060616233847-1bfb2-6b95e1e17b907cc46204c74b7ea9a59963e86dde.gz
* emms-player-mpd: Add functionality to dump MusicPD data into the EMMS cache. ↵Michael Olson2006-06-091-0/+42
| | | | | | This allows for easy integration with emms-browser.el. darcs-hash:20060609043831-1bfb2-7c886a447a80ecd694c053d2a8a1a18f807e4594.gz
* emms-player-mpd: Rename volume functions to better match the namespace ↵Michael Olson2006-06-091-5/+9
| | | | | | created by emms-volume.el. darcs-hash:20060609043643-1bfb2-375117b7d9fef9f60119cb64b42095c609448a30.gz
* emms-player-mpd: Fix minor bug when importing the current MusicPD playlist ↵Michael Olson2006-06-091-12/+22
| | | | | | into EMMS. darcs-hash:20060609043538-1bfb2-40772d8300e40cdd9d4af794e6e8d3078e4f35f9.gz
* Standardize copyright notices. Add COPYING file. Mention license in README.Michael Olson2006-06-081-10/+12
| | | | darcs-hash:20060608194123-1bfb2-cbfbc9eacb41016b24acb9ea2654f141496b0caa.gz
* emms-player-mpd: Differentiate between files and URLs when it makes sense to ↵Michael Olson2006-06-041-8/+16
| | | | | | do so. darcs-hash:20060604195449-1bfb2-5f43698ad0ff4945541f3aaf8244e1590333f39d.gz
* emms-player-mpd: Use more robust method of detecting whether we need to ↵Michael Olson2006-05-251-6/+11
| | | | | | force-feed MusicPD our playlist. darcs-hash:20060525014253-1bfb2-8dc73d1dcd1c3e70703f4a377cfd18d29725c378.gz