Hi Paul

On Thu, Jan 28, 2016 at 4:00 AM, Paul Sexton <[email protected]> wrote:

> Hi, I have just pushed the suggested change to the org-player repository on
> bitbucket. Please let me know if it has fixed the problem.

org-player.el 1.0.1 plays again for links with a position. For links
without position there is a change missing, see my attached patch as a
suggestion.

Michael
--- org-player.1.0.1.el	2016-01-29 21:32:18.000000000 +0100
+++ org-player.1.0.2.el	2016-02-06 09:27:14.000000000 +0100
@@ -2,7 +2,7 @@
 ;;; org-player.el - Play audio and video files in org-mode hyperlinks
 ;;;
 ;;; Author: Paul Sexton <[email protected]>
-;;; Version: 1.0.1
+;;; Version: 1.0.2
 ;;; Repository at http://bitbucket.org/eeeickythump/org-player/
 ;;;
 ;;;
@@ -102,7 +102,7 @@
 
 (add-to-list 'org-file-apps
              (cons (concat org-player-file-extensions-regexp "$")
-                   '(org-player-play-file file)))
+                   (lambda (file link) (org-player-play-file file))))
 
 (add-to-list 'org-file-apps
              (cons (concat org-player-file-extensions-regexp

Reply via email to