Fix mpv format
This commit is contained in:
parent
acbd7fa835
commit
760deafd20
4
livie.el
4
livie.el
@ -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")))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user