v0.4.2 update

pull/140/head
Mason10198 2 years ago
parent 92d956e3d8
commit 3b17599688

@ -721,6 +721,7 @@ def say_alerts(alerts):
alert,
ALERT_INDEXES[index],
)
if config["Alerting"]["WithMultiples"]:
if len(set(descriptions)) > 1 or len(set(end_times)) > 1:
LOGGER.debug(
"sayAlert: Found multiple unique instances of the alert %s",
@ -951,7 +952,9 @@ def build_tailmessage(alerts):
multiples_sound = AudioSegment.from_wav(
os.path.join(SOUNDS_PATH, "ALERTS", "SWP_149.wav")
)
combined_sound += AudioSegment.silent(duration=200) + multiples_sound
combined_sound += (
AudioSegment.silent(duration=200) + multiples_sound
)
# Add county names if they exist
if county_identifiers:

Loading…
Cancel
Save

Powered by TurnKey Linux.