~heckyel/livie

760deafd201abad58b04c6a8d7fa478df72b8eda — Jesús 3 years ago acbd7fa
Fix mpv format
1 files changed, 2 insertions(+), 2 deletions(-)

M livie.el
M livie.el => livie.el +2 -2
@@ 458,10 458,10 @@ If ARG is given, make a new search."
  (if (equal (livie--get-entry-type (livie-get-current-video)) 'video)
      (let* ((video (livie-get-current-video))
             (id    (livie-video-id video)))
        (start-process "livie mpv" nil
        (start-process "livie-mpv" nil
                       "mpv"
                       (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 "It's not a video")))