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

Symbolic Link #19264

Open
tizakit opened this issue Feb 18, 2019 · 0 comments
Open

Symbolic Link #19264

tizakit opened this issue Feb 18, 2019 · 0 comments

Comments

@tizakit
Copy link

@tizakit tizakit commented Feb 18, 2019

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 2019.02.18. 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 2019.02.18

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
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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

[command]
youtube-dl --write-description --add-metadata --write-thumbnail --prefer-ffmpeg --sleep-interval 1 --max-sleep-interval 4 -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' --download-archive /mnt/raid/plex/youtube/archive.txt --batch-file /mnt/raid/plex/youtube/users.txt --output "/mnt/raid/plex/youtube/video/%(uploader)s/%(playlist_title)s/%(playlist_index)s - %(title)s - %(id)s"

[users.txt]
https://www.youtube.com/user/pushinguproses/playlists

I'm attempting to archive some youtube channels following the playlist structure of the uploader. The issue here, is that a video might be in multiple playlists. I'd not like to download the video again, but I'd like to maintain the structure.

I'm using --download-archive to prevent the redownloading of content. This is working as described.
If the file does not exist at the destination as prescribed in the output field, I'd like to create a symbolic link from the already downloaded file to the output file instead. I realize that this means youtube-dl needs to know about the file that downloaded previously, it's location would need to be logged in the file for --download-archive

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
1 participant
You can’t perform that action at this time.