[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 authored and GitHub committed 2024-07-17 10:33:50 -07:00
1 parent d423e4486f
commit 029981b7ee
4 files changed
+29 -18

No files matched your search

@@ -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]