iankelling.org
/
git
/
distro-setup
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3ada2fce4a9af1c02249e3e52ab6c628c1febabc
[distro-setup]
/
ffp
1
#!/bin/bash
2
3
volume
=
0
4
5
# 3 mountpoints: fsf-sysops (default, public), fsf (all staff), fsf-tech (tech team)
6
# # note: duplicated in ffp
7
mount_suffix
=
-sysops
8
while
[[
$1
]];
do
9
case
$1
in
10
sysops|tech
)
11
mount_suffix
=-
$1
12
;;
13
staff
)
14
mount_suffix
=
15
;;
16
-d
)
17
volume
=
100
18
;;
19
esac
20
shift
21
done
22
23
opts
=(
24
-v
error
25
-hide_banner
26
-nostats
27
-volume
$volume
28
-f
webm
29
-fast
30
-fflags
nobuffer
31
-flags
low_delay
32
-i
http
://
localhost
:
8000
/
fsf
$mount_suffix
.webm
33
-autoexit
34
)
35
ffplay
"
${opts[@]}
"