Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] youtube-dl Doesn't download playlist. #15243

Closed
RustyTheDalek opened this issue Jan 13, 2018 · 1 comment
Closed

[Issue] youtube-dl Doesn't download playlist. #15243

RustyTheDalek opened this issue Jan 13, 2018 · 1 comment
Labels

Comments

@RustyTheDalek
Copy link

@RustyTheDalek RustyTheDalek commented Jan 13, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.01.07. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.01.07

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Site support request (request for adding support for a new site)
  • Bug report (encountered problems with youtube-dl)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

I am trying to use youtube-dl to download playlists from youtube. It downloads the first song in the playlist but then stops. the verbose log doesn't seem to give an error :

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--force-ipv4', '-x', '--audio-format', 'mp3', '--yes-playlist', '-i', '--verbose', '--newline', '-o', 'C:\\*PATHTOPROGRAM*/%(id)s.%(ext)s', 'https://www.youtube.com/watch?v=kXYiU_JCYtU&list=PL87FA01F68C540290']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2018.01.07
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: ffmpeg N-89773-g7fcbebbeaf, ffprobe N-89773-g7fcbebbeaf
[debug] Proxy map: {}

I am using C# Dot.NetCore and the code I'm using is :

private Process DownloadPlaylist(string url)
{ 
        Process downloadPlaylist = new Process
        {
                StartInfo = new ProcessStartInfo
                {
                        FileName = "youtube-dl.exe",
                        Arguments = $"--force-ipv4 -x --audio-format mp3 --yes-playlist -i --verbose --newline -o \"{Video.audioCache}%(id)s.%(ext)s\" \"{url}\"",
                        UseShellExecute = false,
                        RedirectStandardOutput = true,
                        CreateNoWindow = false,
                }
        };

        downloadPlaylist.Start();
        downloadPlaylist.WaitForExit();
        return downloadPlaylist;
}

If I'm being dumb please let me know, I've been looking around for an issue similar to this and I've found results that talk about escaping urls properly and I believe I am with \"{url}\""

Note - Just to clarify PATHTOPROGRAM is not what I actually send, just not comfortable wanting to post my directory.

Thanks in advance

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 13, 2018

Carefully read new issue template and provide all requested information.

@dstftw dstftw closed this Jan 13, 2018
@dstftw dstftw added the incomplete label Jan 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.