Make Emacs usable when a video is playing
This commit is contained in:
parent
cea5045859
commit
61d1c6c48d
@ -126,7 +126,10 @@
|
||||
(ytplay--raw-format-to-struct
|
||||
(ytplay--get-all-formats-raw video)))))))
|
||||
(with-temp-buffer
|
||||
(call-process ytplay-video-player nil t nil (format "--ytdl-format=%s+bestaudio/best" code) video))))
|
||||
(async-shell-command (format "%s --ytdl-format=%s+bestaudio/best \"%s\""
|
||||
ytplay-video-player
|
||||
code
|
||||
video)))))
|
||||
|
||||
(provide 'ytplay)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user