aboutsummaryrefslogtreecommitdiff
path: root/emms-url.el
Commit message (Collapse)AuthorAgeFilesLines
* fix-ampersands-and-question-marks-in-lastfm.dpatchTassilo Horn2007-01-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-url: Only escape spaces and newlines, on second thoughtMichael Olson2007-01-051-5/+1
| | | | darcs-hash:20070105073821-1bfb2-160387bb8220df00cc01d0c69d441ca34069e44d.gz
* emms-url: New file containing the url.el interaction routines from ↵Michael Olson2007-01-051-0/+72
emms-lastfm.el. I plan to use these in other parts of EMMS as well. darcs-hash:20070105034035-1bfb2-d213da8dab318baf3fc5d6a1f7a3ac75d0e7640c.gz