a
Size: a a a
a
a
D
D
D
Aß
VL
D
D
Aß
D
¥
Aß
(cl-defun start-mpv (path &key start end fullscreen pause)
(cl-remove nil
(list (when fullscreen "--fullscreen")
(when pause "--pause")
(when start (format "--start=%s" start))
(when end (format "--end=%s" end)))))
D
Aß
D
D
Aß
D
(dolist (el keys) (set-option el))
нельзя?Aß
(cl-defun start-mpv (path &key start end fullscreen pause)
(unless (file-exists-p path)
(user-error "File not found"))
(apply #'call-process
"mpv"
nil
0
nil
(cl-remove nil
(list (when fullscreen "--fullscreen")
(when pause "--pause")
(when start (format "--start=%s" start))
(when end (format "--end=%s" end))
(expand-file-name path)))))