Skip to content

Commit

Permalink
Format .liq files with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 30, 2024
1 parent 6ce04dc commit 885df2d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions radio.liq
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,20 @@ studio_b =
)

# Consider inputs unavailable when silent
studio_a = blank.strip(id="stripped_studio_a", max_blank=10., min_noise=30., studio_a)
studio_b = blank.strip(id="stripped_studio_b", max_blank=10., min_noise=30., studio_b)
studio_a =
blank.strip(id="stripped_studio_a", max_blank=10., min_noise=30., studio_a)
studio_b =
blank.strip(id="stripped_studio_b", max_blank=10., min_noise=30., studio_b)

# Wrap it in a buffer to prevent latency from connection/disconnection to impact downstream operators/output
studio_a = buffer(id="buffered_studio", fallible=true, studio_a)
studio_b = buffer(id="buffered_studiobackup", fallible=true, studio_b)

# Combine live inputs and fallback
radio = fallback(id="radio_prod", track_sensitive=false, [studio_a, studio_b, noodband])
radio =
fallback(
id="radio_prod", track_sensitive=false, [studio_a, studio_b, noodband]
)

# Function to output an icecast stream with common parameters
def output_icecast_stream(~format, ~description, ~mount, ~source) =
Expand Down

0 comments on commit 885df2d

Please sign in to comment.