Set User Agent for FFmpeg calls (#4555)

* Set User Agent for FFmpeg calls

* Allow to use shell-like string args

* Add test for arg as string with space
This commit is contained in:
Felipe Santos
2022-11-30 19:53:45 -03:00
committed by GitHub
parent 5ad391977e
commit 4523c9b06d
8 changed files with 40 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ build: version amd64 arm64 armv7
push: build
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag $(IMAGE_REPO):${GITHUB_REF_NAME}-$(COMMIT_HASH) .
run_tests: frigate
run_tests: local
docker run --rm --entrypoint=python3 frigate:latest -u -m unittest
docker run --rm --entrypoint=python3 frigate:latest -u -m mypy --config-file frigate/mypy.ini frigate