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]}" \