Compare commits

..

No commits in common. "504089427de1ab9314e748c88c1186d2bc0d24b8" and "ee94e30004051e6666cf61e771c03aacd4e053a2" have entirely different histories.

2 changed files with 4 additions and 7 deletions

View file

@ -7,7 +7,6 @@ do
# get date in ISO 8601 format with nanoseconds # get date in ISO 8601 format with nanoseconds
PROGRAMM=$(test $(uname) = "Darwin" && echo "gdate" || echo "date") PROGRAMM=$(test $(uname) = "Darwin" && echo "gdate" || echo "date")
DATE=$($PROGRAMM "+%Y-%m-%d_%H-%M-%S.%6N%z") DATE=$($PROGRAMM "+%Y-%m-%d_%H-%M-%S.%6N%z")
FILE="recordings/$DATE.flac"
# record audio using ffmpeg # record audio using ffmpeg
ffmpeg \ ffmpeg \
@ -20,7 +19,5 @@ do
-t "3600" \ -t "3600" \
-c:a flac \ -c:a flac \
-compression_level 12 \ -compression_level 12 \
"$FILE.part" "recordings/$DATE.flac"
mv "$FILE.part" "$FILE"
done done

View file

@ -1,6 +1,6 @@
{ {
'dummy': True, 'dummy': True,
'hostname': '10.0.0.143', 'hostname': '10.0.2.100',
'groups': [ 'groups': [
'home', 'home',
], ],
@ -8,13 +8,13 @@
'id': '87879bc1-130f-4fca-a8d2-e1d93a794df4', 'id': '87879bc1-130f-4fca-a8d2-e1d93a794df4',
'network': { 'network': {
'internal': { 'internal': {
'ipv4': '10.0.0.143/24', 'ipv4': '10.0.2.100/24',
'mac': '00:17:88:67:e7:f2', 'mac': '00:17:88:67:e7:f2',
}, },
}, },
'dns': { 'dns': {
'hue.ckn.li': { 'hue.ckn.li': {
'A': {'10.0.0.143'}, 'A': {'10.0.2.100'},
}, },
}, },
}, },