[Enhancement] Improve support for 4k videos with Plex (#181)

* Added WIP 4k MP4 fix [skip ci]

* Added tests for new remux options
This commit is contained in:
Kieran
2024-04-11 15:17:17 -07:00
committed by GitHub
parent 17f4bd70f7
commit 0aa4b5b119
2 changed files with 11 additions and 6 deletions
@@ -240,6 +240,7 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilderTest do
assert {:ok, res} = DownloadOptionBuilder.build(media_item)
assert {:format_sort, "res:#{resolution},+codec:avc:m4a"} in res
assert {:remux_video, "mp4"} in res
end)
end
@@ -250,6 +251,8 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilderTest do
assert :extract_audio in res
assert {:format, "bestaudio[ext=m4a]"} in res
refute {:remux_video, "mp4"} in res
end
end