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

Feature Request: "--get-playlist-number" #13688

Closed
keybounce opened this issue Jul 20, 2017 · 4 comments
Closed

Feature Request: "--get-playlist-number" #13688

keybounce opened this issue Jul 20, 2017 · 4 comments

Comments

@keybounce
Copy link

@keybounce keybounce commented Jul 20, 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.07.15. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ x] I've verified and I assure that I'm running youtube-dl 2017.07.15

Before submitting an issue make sure you have:

  • [x ] At least skimmed through README and most notably FAQ and BUGS sections
  • [ x] 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)
  • [x ] Feature request (request for a new functionality)
  • [x ] Question
  • Other

I want to select specific videos from a playlist. Said playlist includes videos I've already downloaded and will skip.

I want to be able to say "youtube-dl --get-filename --get-playlist-number playlist" (or something similar), so I know what numbers to pass to "youtube-dl --playlist-items 2,3,5,7,11" (or similar).

Is there any way to do something like this now?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 20, 2017

Why even bother with that? Just use --download-archive.

@dstftw dstftw closed this Jul 20, 2017
@keybounce
Copy link
Author

@keybounce keybounce commented Jul 22, 2017

Nope.

I am using --download-archive. (It's in the default config file for me).
Some videos in the playlist I have are of no interest to me.

I want to see what videos are in the playlist, and decide which to download.

If a video is in the playlist and in the download-archive list file, then it won't even be attempted, and I won't see a filename for it -- so if I am counting filenames, I won't have the right playlist index.

(Entirely separate, why am I not getting notices when a response to my posts here come in?)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 22, 2017

--get-filename -o '%(playlist_index)s - %(title)s'.

@keybounce
Copy link
Author

@keybounce keybounce commented Sep 3, 2017

Ohh, that should work nicely.

(and still no email notices of responses.)

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.