[Enhancement] Allow setting preference for video/audio codec (#255)

* [WIP] started on codec parser

* Added codec preferences to settings model

* [WIP] added basic codec preference fields to settings form

* Hooked up the backend portion of the codec preference work

* Added codec settings to frontend

* Ensured you can remove codec data
This commit is contained in:
Kieran
2024-05-21 16:28:19 -07:00
committed by GitHub
parent dec3938780
commit 81d5efd4c1
12 changed files with 373 additions and 31 deletions
@@ -0,0 +1,10 @@
defmodule Pinchflat.Repo.Migrations.AddCodecPreferencesToSettings do
use Ecto.Migration
def change do
alter table(:settings) do
add :video_codec_preference, {:array, :string}, default: []
add :audio_codec_preference, {:array, :string}, default: []
end
end
end