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

Bypassing youtubedl crash when creating .cache dir #4

Open
pafontai opened this issue Apr 24, 2020 · 0 comments
Open

Bypassing youtubedl crash when creating .cache dir #4

pafontai opened this issue Apr 24, 2020 · 0 comments

Comments

@pafontai
Copy link

When downloading video, youtube-dl uses by default a cache directory.
This directory is located at ~/.cache/youtube-dl by default

When running into a webserver in ubuntu, youtube-dl tries to create /var/www/.cache and crashes because this operation is forbidden.

I could bypass this error by adding parameters at "youtubedlExe" configuration into "config.php"
'youtubedlExe' => '/usr/local/bin/youtube-dl --cache-dir /var/www/html/youtube-dl-webui/tmp ',

I propose two improvements :

  • adding a new parameters youtubedlCacheDir
  • Tell the user into the guidelines that it's able to add parameters to control youtubedl executio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant