From: Christophe Rhodes Date: Tue, 23 Apr 2013 14:44:38 +0000 (+0100) Subject: support other versions of get-iplayer X-Git-Tag: v0.1~12 X-Git-Url: http://christophe.rhodes.io/gitweb/?p=iplayer-el.git;a=commitdiff_plain;h=c637da1996edc05cf4ace5879c133cd263d9fdb1;ds=sidebyside support other versions of get-iplayer use --modes=best to avoid errors from not having a particular kind of stream available. (I'm not at all clear where the errors come from: I have never needed this before, but some users do). --- diff --git a/iplayer.el b/iplayer.el index 1b02d16..5b5b5c4 100644 --- a/iplayer.el +++ b/iplayer.el @@ -185,7 +185,7 @@ The presets are defined in the variable `iplayer-presets'." ;; should probably use a process filter instead to give us a ;; progress bar (message "downloading id %s" id) - (start-process "get-iplayer" " *get-iplayer*" "get-iplayer" "--get" (format "%s" id))) + (start-process "get-iplayer" " *get-iplayer*" "get-iplayer" "--modes=best" "--get" (format "%s" id))) (message "no id at point")))) (defun iplayer-previous ()