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

Use /tmp directory for frag and .vtt files #10993

Open
asgh opened this issue Oct 21, 2016 · 6 comments
Open

Use /tmp directory for frag and .vtt files #10993

asgh opened this issue Oct 21, 2016 · 6 comments
Labels

Comments

@asgh
Copy link

@asgh asgh commented Oct 21, 2016

I sometimes see leftover --Frag17 and -.ru.vtt files in my home directory. I assume it's from me interrupting youtube-dl during a download.

Can you use the /tmp (TMPDIR) instead for those files?

@jesus2099
Copy link

@jesus2099 jesus2099 commented Jan 1, 2017

Or a parameter that enables to choose temporary files’ folder/directory/path.
I would like to use my %TEMP% folder for those fragments, as it’s on an SSD, faster drive.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jan 1, 2017

Related: #11054

@yan12125 yan12125 mentioned this issue Feb 6, 2017
1 of 4 tasks complete
@Stonedestroyer
Copy link

@Stonedestroyer Stonedestroyer commented Feb 6, 2017

The way I want this to work is that you can specify the intermediate folder, what are the plans on this? As it would be good if it also could move after task done or after each video and you could decide.

@lvmm
Copy link

@lvmm lvmm commented Mar 21, 2018

I would also like to see a configurable temporary file folder, audio+video merging would work so much faster if source files were on a separate filesystem.

@nyuszika7h
Copy link
Contributor

@nyuszika7h nyuszika7h commented Apr 28, 2019

I would like to see this as well, it would be useful to download videos to a folder monitored by Serviio without manually moving them. youtube-dl sometimes fails to delete the temporary files after merging because Serviio opens them for a few seconds.

@sebastianhelbig
Copy link

@sebastianhelbig sebastianhelbig commented Apr 1, 2020

Using the current working directory for temporary files is never a good idea. youtube-dl should at least use the temporary folder defined by the system.

@ytdl-org ytdl-org locked and limited conversation to collaborators Apr 1, 2020
@dstftw dstftw removed the bug label Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.