aboutsummaryrefslogtreecommitdiff
path: root/emms-lastfm.el
Commit message (Collapse)AuthorAgeFilesLines
* Fix several XEmacs compatibility issuesMichael Olson2007-02-151-3/+2
| | | | darcs-hash:20070215231146-1bfb2-8b67281c41a771504c6549ad234eb82e26bbfc91.gz
* restart-lastfm-plugin-when-md5challenge-expired.dpatchTassilo Horn2007-01-161-4/+15
| | | | darcs-hash:20070116202013-c06f4-ffed46f2b4507fd4aaf9d025efd052f8f169a7c0.gz
* fix-ampersands-and-question-marks-in-lastfm.dpatchTassilo Horn2007-01-131-38/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Roman Lagunov reported a bug: the last.fm plugin failed scrobbling tracks with & in artist/title/album. The same applies to streams containing an ampersand. So I added ?& and ?? to `emms-url-specials'. But because both are needed to submit values via HTTP GET now you have to `emms-escape-url' only the arguments that may contain special chars instead the complete url, e.g.: (url-retrieve (concat emms-lastfm-server "?hs=true&p=1.1" "&c=" emms-lastfm-client-id "&v=" (number-to-string emms-lastfm-client-version) "&u=" (emms-escape-url emms-lastfm-username)) instead of (url-retrieve (emms-escape-url (concat emms-lastfm-server "?hs=true&p=1.1" "&c=" emms-lastfm-client-id "&v=" (number-to-string emms-lastfm-client-version) "&u=" emms-lastfm-username)) darcs-hash:20070113104902-c06f4-9bf8c040fff6d350a3a7dafcaf2cbf26700d2f04.gz
* emms-lastfm: Remove periods from end of messagesMichael Olson2007-01-061-15/+15
| | | | darcs-hash:20070106011559-1bfb2-d2f2ae6b142c268090f8fff10aceacb1e8b30183.gz
* emms-lastfm: Add emms-lastfm-np, which displays the current song information ↵Michael Olson2007-01-051-0/+20
| | | | | | as a message or inserts it at point darcs-hash:20070105235058-1bfb2-35bf242a357711d2539c8d036f6ea6c8cff87957.gz
* Add support for playing Last.fm streams using emms-streams interfaceMichael Olson2007-01-051-0/+32
| | | | darcs-hash:20070105230616-1bfb2-51c5cd5cdac1b0ab9daee569c4258296a030cdf3.gz
* emms-lastfm: Use emms-cancel-timer, fix FIXME section, make ↵Michael Olson2007-01-051-37/+44
| | | | | | emms-lastfm-radio-request-metadata more flexible darcs-hash:20070105073906-1bfb2-729fbbac890b5f735db3aa4f91679d8e611f176a.gz
* emms-lastfm: Use emms-url.el, fix compiler warnings, and be kind to the ↵Michael Olson2007-01-051-40/+44
| | | | | | namespace darcs-hash:20070105035342-1bfb2-ec8cde77837ba0da40b1f1d0f9c143658f0e88c9.gz
* emms-url: New file containing the url.el interaction routines from ↵Michael Olson2007-01-051-20/+0
| | | | | | emms-lastfm.el. I plan to use these in other parts of EMMS as well. darcs-hash:20070105034035-1bfb2-d213da8dab318baf3fc5d6a1f7a3ac75d0e7640c.gz
* artist-fan-radio-and-texinfo-docs-for-lastfm.dpatchTassilo Horn2007-01-031-1/+6
| | | | | | | | | | | | This patch adds a new function to emms-lastfm.el: `emms-lastfm-radio-artist-fan' I also added a chapter about Last.fm in emms.texinfo. It compiles for me and looks good, but it wold be nice if someone could have a short look at it. It's my first work with texinfo. darcs-hash:20070103205523-c06f4-60d44277e0b325c4bd5bc61c4af7bed922afa1a9.gz
* fix-broken-multibyte-chars-in-http-responses.dpatchTassilo Horn2007-01-031-24/+52
| | | | | | | | | | | If a `url-retrieve' returns a buffer containing multibyte strings, they were displayed as \123\456. The bug occured mostly when listening to Last.fm radio playing a track with non-ascii title or artist. Thanks to fledermaus at #emacs for investigating what went wrong and putting together the function `http-decode-buffer'. The bug seems to be fixed with it. darcs-hash:20070103140726-c06f4-414b42c7fba6a1587d9a6c8f0dd2de8e1ca67cc0.gz
* metadata-for-lastfm-streams.dpatchTassilo Horn2007-01-021-5/+56
| | | | | | | | | Now the Artist and Title of the current song are displayed in the mode-line when listening to a last.fm stream. Additionally I made all user options customizable. darcs-hash:20070102222433-c06f4-8817244e846fa35dad3089f6f7e2796cece14d37.gz
* lastfm-skip-love-ban-plus-renaming.dpatchTassilo Horn2006-12-301-34/+95
| | | | | | | | | | First, I renamed all things "emms-lastfm-playback" to "emms-lastfm-radio", which fits much better. Then I added the functionality of loving/skipping/banning the song you're listening to on Last.fm Radio. darcs-hash:20061230115944-c06f4-2de5c66d5c0c6e598b01d4d77d1865d9ddf76602.gz
* fix-lastfm-streams-with-spaces.dpatchTassilo Horn2006-12-291-19/+22
| | | | darcs-hash:20061229155921-c06f4-369eab9cc2a0410ec195775bf5b7237c23bc3007.gz
* play-lastfm-streams.dpatchTassilo Horn2006-12-271-7/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch has two major parts: 1. Make emms-lastfm.el conforming to other emms plugins, meaning that there are those three user functions: `emms-lastfm' -- The usual prefix arg toggle `emms-lastfm-enable' `emms-lastfm-disable' 2. It adds the ability to play lastfm:// streams. New user functions: `emms-lastfm-playback' `emms-lastfm-playback-similar-artists' `emms-lastfm-playback-global-tag' Sadly there are 2 FIXMEs in the code: 1. Major problem: It doesn't work for lastfm urls which contain blanks. If someone is familiar with the url library, he could tell me how to fix it. (retrieving urls with whitespaces) 2. Minor problem: There's some ugly (but working) code to ensure the execution doesn't continue before a sentinel has been run. darcs-hash:20061227205745-c06f4-6dd67d84faed5fd0c40a762375c7c8bb39b22328.gz
* warn-if-playing-time-deactivated.dpatchTassilo Horn2006-12-191-9/+20
| | | | | | | New emms-lastfm-activate warns the user if he disabled emms-playing-time completely and points him to the right docs. darcs-hash:20061219085443-c06f4-68cc025edede1f9a399e0067526f5b519a5e2e69.gz
* fix-regression-in-lastfm.dpatchTassilo Horn2006-12-161-4/+5
| | | | | | | | | | | | My last path enabled emms-lastfm.el to submit tracks even if you paused them. I tested this extensively! But I didn't test if it still submits them if you don't pause it. Of course it didn't. ;-) The problem was that I rely on `emms-playing-time' to calculate when a track has to be submitted. But in `emms-player-started-hook' my new track function was run *before* `emms-playing-time' was set to 0 again. darcs-hash:20061216132209-c06f4-c25c2f5849e7492cec0cc0b95e347ce24db2a83d.gz
* replace-next-line-with-forward-line.dpatchTassilo Horn2006-12-201-2/+2
| | | | | | | The docstring of `next-line' suggest to use `forward-line' instead, so use that... darcs-hash:20061220205010-c06f4-2562ebd8052d536eebce9d1f6e21112f0934b3ec.gz
* submitting-when-paused.dpatchTassilo Horn2006-12-121-11/+21
| | | | | | | | This patch enables emms-lastfm.el to submit the current track even if the playback has been paused and resumed. It's done by canceling the `emms-lastfm-timer' when pausing and reenabling it on resume. darcs-hash:20061212200324-c06f4-2ab89e58a91532db90e54e84f209086aa28f3a7f.gz
* Fix various byte-compiler warnings throughoutMichael Olson2006-12-071-1/+3
| | | | darcs-hash:20061207143511-1bfb2-90e8bee5074d6ef5ca4c9998886d28eedf6df671.gz
* emms-lastfm.dpatchTassilo Horn2006-12-061-0/+219
This patch adds emms-lastfm.el, its setup to emms-setup.el and myself to AUTHORS. darcs-hash:20061206112823-c06f4-5194a01ee6fb3e33c67788f3cb884fe8a3123bb1.gz