From eca1c5e1dbb305cf61f1e497242a317987109582 Mon Sep 17 00:00:00 2001 From: Maxim Lihachev Date: Tue, 12 Jul 2016 15:43:45 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D1=91=D0=BD=20?= =?UTF-8?q?=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=20=D1=83=D0=BA=D0=B0=D0=B7?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BF=D1=80=D0=BE=D0=B3=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BC=D1=8B=20=D0=B8=D0=BB=D0=B8=20=D0=BA=D0=B0=D0=BD?= =?UTF-8?q?=D0=B0=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.xml | 2 +- streamsaver | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/settings.xml b/settings.xml index 84a3019..3677ab9 100644 --- a/settings.xml +++ b/settings.xml @@ -18,7 +18,7 @@ mp2 - 0:p:4098 + p:4098 /tmp/RT/FILES/archive/TK04/CH4098/ diff --git a/streamsaver b/streamsaver index ce3b4fa..d625ccf 100755 --- a/streamsaver +++ b/streamsaver @@ -156,7 +156,7 @@ makeCMD() { # enableOption output_format -c %% #ICECAST - enableOption input_channel -map %% + enableOption input_channel -map 0:%% enableOption channel_name \ -legacy_icecast 1 \ -content_type audio/mpeg \ @@ -169,7 +169,7 @@ makeCMD() { icecast://source:${config[password]}@${config[icecast]}/${config[mountpoint]} # АРХИВ - enableOption input_channel -map %% + enableOption input_channel -map 0:%% enableOption archive_log \ -segment_list %% \ -segment_list_entry_prefix "${config[archive_dir]}" \ @@ -186,7 +186,7 @@ makeCMD() { -strftime 1 "${config[archive_dir]}/$FILE_NAME" # АНАЛИЗ - enableOption input_channel -map %% + enableOption input_channel -map 0:%% enableOption slices_log \ -segment_list %% \ -segment_list_entry_prefix "${config[slices_dir]}" \