Fixed bug with redownloading not forcing download of the video

This commit is contained in:
Kieran Eglin 2024-04-10 21:43:15 -07:00
parent 1a699223fe
commit 25aaef7da4
2 changed files with 3 additions and 1 deletions

View file

@ -41,7 +41,8 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilder do
end
defp default_options do
[:no_progress, :windows_filenames]
# Add force-overwrites to make sure redownloading works
[:no_progress, :windows_filenames, :force_overwrites]
end
defp subtitle_options(media_profile) do

View file

@ -39,6 +39,7 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilderTest do
assert :no_progress in res
assert :windows_filenames in res
assert :force_overwrites in res
end
end