feat(server): accepted video containers (#11274)

* add accepted container config

* update api

* mp4 option makes no sense

* add to transcoding settings

* wording

* updated spec config

* formatting
This commit is contained in:
Mert
2024-07-21 17:14:23 -04:00
committed by GitHub
parent 7ecdcb3bc0
commit 9d2d556200
16 changed files with 234 additions and 30 deletions

View File

@@ -584,6 +584,8 @@ class ApiClient {
return ValidateLibraryResponseDto.fromJson(value);
case 'VideoCodec':
return VideoCodecTypeTransformer().decode(value);
case 'VideoContainer':
return VideoContainerTypeTransformer().decode(value);
default:
dynamic match;
if (value is List && (match = _regList.firstMatch(targetType)?.group(1)) != null) {