Skip to content

Commit 0c87450

Browse files
committed
fix authentication with vlc (#28)
1 parent 3ff827a commit 0c87450

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ help:
1111
@echo " mod-tidy run go mod tidy"
1212
@echo " format format source files"
1313
@echo " test run available tests"
14-
@echo " run ARGS=args run app"
14+
@echo " run run app"
1515
@echo " release build release assets"
1616
@echo " dockerhub build and push docker hub images"
1717
@echo ""
@@ -64,12 +64,20 @@ RUN GOPROXY=direct go build -o /out .
6464
endef
6565
export DOCKERFILE_RUN
6666

67+
define CONFIG_RUN
68+
paths:
69+
all:
70+
readUser: test
71+
readPass: tast
72+
endef
73+
export CONFIG_RUN
74+
6775
run:
6876
echo "$$DOCKERFILE_RUN" | docker build -q . -f - -t temp
6977
docker run --rm -it \
7078
--network=host \
7179
temp \
72-
/out $(ARGS)
80+
sh -c "echo '$$CONFIG_RUN' | /out stdin"
7381

7482
define DOCKERFILE_RELEASE
7583
FROM amd64/$(BASE_IMAGE)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.13
55
require (
66
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
77
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
8-
github.com/aler9/gortsplib v0.0.0-20200704162620-4c712d2370a3
8+
github.com/aler9/gortsplib v0.0.0-20200709205811-04b0a6eabe37
99
github.com/stretchr/testify v1.4.0
1010
gopkg.in/alecthomas/kingpin.v2 v2.2.6
1111
gopkg.in/yaml.v2 v2.2.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafo
22
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
33
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E=
44
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
5-
github.com/aler9/gortsplib v0.0.0-20200704162620-4c712d2370a3 h1:pEigKatFbio1Z6YBbBvBqQ0BI4DqkMK95MlOYnmfrLg=
6-
github.com/aler9/gortsplib v0.0.0-20200704162620-4c712d2370a3/go.mod h1:sL64nUkmrTVhlT/GCaxRXyI2Xk7m8XSdw5Uv8xKGPdc=
5+
github.com/aler9/gortsplib v0.0.0-20200709205811-04b0a6eabe37 h1:O92YFUvPXejUg08pDIQTI8MydvHZBnCnSsOMxP2Q828=
6+
github.com/aler9/gortsplib v0.0.0-20200709205811-04b0a6eabe37/go.mod h1:sL64nUkmrTVhlT/GCaxRXyI2Xk7m8XSdw5Uv8xKGPdc=
77
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
88
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
99
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=

0 commit comments

Comments
 (0)