diff --git a/README.org b/README.org index 64b7e685..ecaf6e59 100644 --- a/README.org +++ b/README.org @@ -4875,11 +4875,11 @@ With empv we can perhaps control mpv much more fine grainly and even search yout (general-auto-unbind-keys) (add-hook 'empv-youtube-results-mode-hook #'evil-normal-state) - (defun mpv-start (video other) + (defun mpv-start (args video) "Load a video from mast into empv" (message video) - (message other) - (empv-play-or-enqueue file)) + (message args) + (empv-play-or-enqueue video)) (defun chris/empv-yt-dlp () "Download the current video and and play it" diff --git a/init.el b/init.el index e77dd9d7..d84aa8d3 100644 --- a/init.el +++ b/init.el @@ -3541,11 +3541,11 @@ targets." (general-auto-unbind-keys) (add-hook 'empv-youtube-results-mode-hook #'evil-normal-state) - (defun mpv-start (video other) + (defun mpv-start (args video) "Load a video from mast into empv" (message video) - (message other) - (empv-play-or-enqueue file)) + (message args) + (empv-play-or-enqueue video)) (defun chris/empv-yt-dlp () "Download the current video and and play it"