[Enhancement] Support auto-generated subs when embedding subs in media file (#324)

* Allowed using auto subs when embedding

* Updated profile form
This commit is contained in:
Kieran
2024-07-17 10:33:50 -07:00
committed by GitHub
parent d423e4486f
commit 029981b7ee
4 changed files with 29 additions and 18 deletions
@@ -74,6 +74,9 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilder do
{{:download_auto_subs, true}, %{download_subs: true}} ->
acc ++ [:write_auto_subs]
{{:download_auto_subs, true}, %{embed_subs: true}} ->
acc ++ [:write_auto_subs]
{{:embed_subs, true}, %{preferred_resolution: pr}} when pr != :audio ->
acc ++ [:embed_subs]