Added support for ytdlp cache (#245)

This commit is contained in:
Kieran authored and GitHub committed 2024-05-15 13:17:11 -07:00
1 parent 8d9bd11882
commit dcf033f10a
2 files changed
+11 -1

No files matched your search

+5 -1
View File
@@ -71,7 +71,11 @@ defmodule Pinchflat.YtDlp.CommandRunner do
end
defp global_options do
[:windows_filenames, :quiet]
[
:windows_filenames,
:quiet,
cache_dir: Path.join(Application.get_env(:pinchflat, :tmpfile_directory), "yt-dlp-cache")
]
end
defp cookie_file_options do