From ab32fb0ad4e7f450b0946eb45aa882686e6f244b Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 12 Dec 2024 09:54:23 -0600 Subject: [PATCH] adding empv mastodon --- README.org | 6 ++++++ init.el | 22 ++++++---------------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/README.org b/README.org index 575e4fc7..64b7e685 100644 --- a/README.org +++ b/README.org @@ -4875,6 +4875,12 @@ 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) + "Load a video from mast into empv" + (message video) + (message other) + (empv-play-or-enqueue file)) + (defun chris/empv-yt-dlp () "Download the current video and and play it" (interactive) diff --git a/init.el b/init.el index 8efd8a6f..e77dd9d7 100644 --- a/init.el +++ b/init.el @@ -3541,6 +3541,12 @@ targets." (general-auto-unbind-keys) (add-hook 'empv-youtube-results-mode-hook #'evil-normal-state) + (defun mpv-start (video other) + "Load a video from mast into empv" + (message video) + (message other) + (empv-play-or-enqueue file)) + (defun chris/empv-yt-dlp () "Download the current video and and play it" (interactive) @@ -4141,19 +4147,3 @@ interfere with the default `bongo-playlist-buffer'." gcmh-verbose nil)) (setq warning-suppress-types '((comp))) -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(pdf-misc-print-program-args - '("-o media=Letter" "-o fit-to-page" "-o sides=two-sided-long-edge")) - '(pdf-misc-print-program-executable "lpr") - '(safe-local-variable-values '((rustic-rustfmt-args . "--edition 2021")))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(markdown-code-face ((t (:inherit org-block)))) - '(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36"))))