Fix mpv format

This commit is contained in:
Jesús 2021-01-17 22:51:48 -05:00
parent acbd7fa835
commit 760deafd20
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -458,10 +458,10 @@ If ARG is given, make a new search."
(if (equal (livie--get-entry-type (livie-get-current-video)) 'video) (if (equal (livie--get-entry-type (livie-get-current-video)) 'video)
(let* ((video (livie-get-current-video)) (let* ((video (livie-get-current-video))
(id (livie-video-id video))) (id (livie-video-id video)))
(start-process "livie mpv" nil (start-process "livie-mpv" nil
"mpv" "mpv"
(concat "https://www.youtube.com/watch?v=" id (concat "https://www.youtube.com/watch?v=" id
"--ytdl-format=bestvideo[vcodec!=av01.0.05M.08]+bestaudio/best[vcodec!=av01.0.05M.08]")) " --ytdl-format='bestvideo[vcodec!=av01.0.05M.08]+bestaudio/best[vcodec!=av01.0.05M.08]'"))
(message "Starting streaming...")) (message "Starting streaming..."))
(message "It's not a video"))) (message "It's not a video")))