Fixed bug with redownloading not forcing download of the video
This commit is contained in:
parent
1a699223fe
commit
25aaef7da4
2 changed files with 3 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilder do
|
||||||
end
|
end
|
||||||
|
|
||||||
defp default_options do
|
defp default_options do
|
||||||
[:no_progress, :windows_filenames]
|
# Add force-overwrites to make sure redownloading works
|
||||||
|
[:no_progress, :windows_filenames, :force_overwrites]
|
||||||
end
|
end
|
||||||
|
|
||||||
defp subtitle_options(media_profile) do
|
defp subtitle_options(media_profile) do
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilderTest do
|
||||||
|
|
||||||
assert :no_progress in res
|
assert :no_progress in res
|
||||||
assert :windows_filenames in res
|
assert :windows_filenames in res
|
||||||
|
assert :force_overwrites in res
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue