Changes between Initial Version and Version 1 of Ticket #55533


Ignore:
Timestamp:
Dec 17, 2017, 12:12:06 AM (7 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

I don't know if this is the entire reason why it fails for you, but it looks like you forgot to escape special characters from the shell. Specifically, the & in the URL is a special character to the shell: it means "run the preceding command in the background instead of the foreground." Which means that you ran the command mpv https://www.youtube.com/watch?v=Vn7kB0f16jg in the background (which, as shown in your output, was assigned the process id 12138), and the command list=PL-2mqY82TEri1eOFZmhfwuLxX11V1TkcI in the foreground, which isn't what you meant to do.

Enclose the URL in quotes so that the shell doesn't interpret the & in a special way:

mpv 'https://www.youtube.com/watch?v=Vn7kB0f16jg&list=PL-2mqY82TEri1eOFZmhfwuLxX11V1TkcI'

I also wanted to point out that we do have a port for youtube-dl, and that if you installed the mpv port, it already declares a dependency on the youtube-dl port, so you don't need to (and shouldn't) install youtube-dl manually in /usr/local since MacPorts already installed it for you in /opt/local.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55533

    • Property Status changed from new to assigned
    • Property Summary changed from mpv(0.26@yosemite): can't playback youtube playlist to mpv @0.26: can't playback youtube playlist
    • Property Keywords mpv yosemite youtube-dl removed
    • Property Owner set to Ionic
    • Property Type changed from enhancement to defect
  • Ticket #55533 – Description

    initial v1  
     1{{{
    12richs-Mac-mini:~ rich$ mpv --version
    23mpv 0.26.0 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
     
    1011   libswresample   2.9.100
    1112ffmpeg version: 3.4.1
    12 
     13}}}
    1314
    1415built on yosemite 10.10 with youtube-dl installed  with
    1516
     17{{{
    1618sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
    1719sudo chmod a+rx /usr/local/bin/youtube-dl
    18 
    19 
     20}}}
    2021
    2122can' playback youtube playlist
     
    2324eg.
    2425
     26{{{
    2527mpv https://www.youtube.com/watch?v=Vn7kB0f16jg&list=PL-2mqY82TEri1eOFZmhfwuLxX11V1TkcI
    2628
     
    4446[ffmpeg] tls: IO Error: -9806
    4547Failed to recognize file format.
     48}}}
    4649
    47