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

Determine completed status without downloading videos? #12047

Closed
FredLackeyOfficial opened this issue Feb 9, 2017 · 1 comment
Closed

Determine completed status without downloading videos? #12047

FredLackeyOfficial opened this issue Feb 9, 2017 · 1 comment

Comments

@FredLackeyOfficial
Copy link

@FredLackeyOfficial FredLackeyOfficial commented Feb 9, 2017

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 that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.02.10. 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 2017.02.10

Before submitting an issue make sure you have:

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

What is the purpose of your issue?

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

How can I determine from bash if youtube-dl still has work to do for a particular playlist WITHOUT downloading videos? For example, if youtube-dl is used to CONTINUE downloading an existing playlist (for example, a Pluralsight course, a Youtube channel, etc.), youtube-dl loads the manifest and determines one-by-one if a video has already been downloaded. I would like to use youtube-dl to determine if all of the videos have already been downloaded WITHOUT doing the actual download. The goal is to mark the Pluralsight course or Youtube channel as "complete" so I may continue with other automated processing.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 10, 2017

Store video ids in --download-archive per playlist. List ids for a playlist with -o '%(extractor)s %(id)s' --get-filename and match against the archive file. If all of them present in the archive file then it's finished.

@dstftw dstftw closed this Feb 10, 2017
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.