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

Playlist author output template variable #15018

Closed
wlhlm opened this issue Dec 17, 2017 · 1 comment
Closed

Playlist author output template variable #15018

wlhlm opened this issue Dec 17, 2017 · 1 comment
Labels

Comments

@wlhlm
Copy link

@wlhlm wlhlm commented Dec 17, 2017

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

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?

  • 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

Description of your issue, suggested solution and other information

I'm trying to download playlists from Youtube and want to have them organized by the account that created the playlist. AFAICT, youtube-dl only gives the video author for output templates, which works as long as the playlist only includes videos from the same author.

Here is what I'm currently using: "%(uploader)s/%(playlist)s/%(playlist_index)s %(title)s.%(ext)s"

Let's say we have author1 with video1, video2, and playlist1, and author2 with video 3. playlist1 includes video1, video2, and video3. With the above template I end up with the following file structure when downloading playlist1:

author1/
   +- playlist1/
      +- video1
      +- video2
author2/
   +- playlist1/
      +- video3

What I want is:

author1/
   +- playlist1/
      +- video1
      +- video2
      +- video3

Which means I currently have to manually merge the author directories after downloading.

My request is to add an output template variable that corresponds to the author of the playlist (for example playlist_uploader).

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 17, 2017

Duplicate of #11427.

@dstftw dstftw closed this Dec 17, 2017
@dstftw dstftw added the duplicate label Dec 17, 2017
dstftw added a commit that referenced this issue Dec 18, 2017
…eta fields for playlists (#11427, #15018)
dstftw added a commit that referenced this issue Dec 18, 2017
dstftw added a commit that referenced this issue Dec 18, 2017
…d in output template (closes #11427, #15018)
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.