Remove ror from paths
This commit is contained in:
parent
7ec0d6bfc8
commit
51fd340cd2
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
AUDIO_INPUT = "http://storage/ror"
|
||||
AUDIO_INPUT = "http://storage"
|
||||
# decomment this if you want to test with local audio source
|
||||
# AUDIO_INPUT = "/rec/ror"
|
||||
# AUDIO_INPUT = "/rec"
|
||||
AUDIO_OUTPUT = "/src/output"
|
||||
DEBUG = True
|
||||
HOST = "0.0.0.0"
|
||||
|
|
|
@ -19,8 +19,8 @@ output.file(
|
|||
id="rorrec",
|
||||
reopen_when={0m},
|
||||
%mp3(bitrate=80, samplerate=44100, stereo=true,stereo_mode="joint_stereo"),
|
||||
"/rec/ror/%Y-%m/%d/rec-%Y-%m-%d-%H-%M-%S.mp3",
|
||||
"/rec/%Y-%m/%d/rec-%Y-%m-%d-%H-%M-%S.mp3",
|
||||
# %vorbis(quality=0.3, samplerate=44100, channels=2),
|
||||
# "/rec/ror/%Y-%m/%d/rec-%Y-%m-%d-%H-%M-%S.ogg",
|
||||
# "/rec/%Y-%m/%d/rec-%Y-%m-%d-%H-%M-%S.ogg",
|
||||
rorinput
|
||||
);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -xueo pipefail
|
||||
|
||||
FILEPATH="/rec/ror/$(date +%Y-%m)/$(date +%d)/rec-$(date +%Y-%m-%d-%H)-00-00.mp3"
|
||||
FILEPATH="/rec/$(date +%Y-%m)/$(date +%d)/rec-$(date +%Y-%m-%d-%H)-00-00.mp3"
|
||||
mkdir -p $(dirname ${FILEPATH})
|
||||
if ! [[ -f ${FILEPATH} ]]; then
|
||||
ffmpeg -f lavfi -i anullsrc=r=11025:cl=mono -t 3600 -acodec mp3 ${FILEPATH}
|
||||
|
|
Loading…
Reference in a new issue