Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Error when a playlist skips track number #19265
Comments
|
This is expected behavior. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.02.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Using curl config option.
Description of your issue, suggested solution and other information
What the problem is
Youtube-dl tries to download a playlist in sequence, however when the playlist skips numbers it will fail to get JSON metadata. The ignore-errors option is helpful, but I feel it shouldn't throw an error in the first place.
The problem is specifically when the track 8 finishes download and tries to go for track 9, which does not exist. Easy to visualize from the URL.
I am not sure if the problem is specific to soundcloud, but in any case I do not know any other URL so far to test it. It was the first time I have seen this.
How it could be fixed
Make sure to check if the track exist and skip it without throwing an error.