summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcapture-pipeline12
1 files changed, 6 insertions, 6 deletions
diff --git a/capture-pipeline b/capture-pipeline
index 175ae5d..d5950bd 100755
--- a/capture-pipeline
+++ b/capture-pipeline
@@ -67,8 +67,8 @@ def timecode_string(seconds):
# audio
-def audio_suffix():
- return "." + settings["audio-extension"]
+def audio_suffix(shot):
+ return "." + settings_item_entry(shot, "audio-extension")
def audio_source_base(sequence, shot):
if "audio-source" in shot:
@@ -80,7 +80,7 @@ def audio_source_base(sequence, shot):
def audio_source_name(sequence, shot, take):
base = audio_source_base(sequence, shot)
- suffix = audio_suffix()
+ suffix = audio_suffix(shot)
name = shot_name(shot)
index = 1
@@ -101,7 +101,7 @@ def audio_source_name(sequence, shot, take):
def audio_source_path(sequence, shot, take):
base = audio_source_base(sequence, shot)
name = audio_source_name(sequence, shot, take)
- suffix = audio_suffix()
+ suffix = audio_suffix(shot)
if name:
return os.path.join(base, name + suffix)
@@ -112,7 +112,7 @@ def audio_output_name(sequence, shot, take, part = None):
base = os.path.join(settings["audio-output"], sequence["label"])
label = shot_label(shot)
prefix = shot_prefix(shot)
- suffix = audio_suffix()
+ suffix = audio_suffix(shot)
name = ""
if part and "actions" in part:
@@ -153,7 +153,7 @@ def audio_output_prepare(sequence, shot, take, part = None):
def audio_output_path(sequence, shot, take, part = None):
base = os.path.join(settings["audio-output"], sequence["label"])
name = audio_output_name(sequence, shot, take, part)
- suffix = audio_suffix()
+ suffix = audio_suffix(shot)
if name:
if name in sequence["audio-registry"]: