Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert some stuff. #33

Merged
merged 1 commit into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions scripts/transcoder/00-live.liq
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,18 @@ live =
)

def mk_fallback_source(result, s) =
if
s.is_autofallback
then
[...result, (s.source : formats.pcm)]
else
result
end
if s.is_autofallback then [...result, s.source] else result end
end

radio_prod =
fallback(
id="fallback_prod",
track_sensitive=false,
[
(live : formats.pcm),
live,
...list.fold(mk_fallback_source, [], input_sources),

(safe_blank : formats.pcm)
safe_blank
]
)

Expand Down
6 changes: 1 addition & 5 deletions scripts/transcoder/30-formats.liq
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
let formats =
{
surround={icecast=(), hls=(), pcm=source(audio=pcm)},
stereo={icecast=(), hls=(), pcm=source(audio=pcm(5.1))}
}
let formats = {surround={icecast=(), hls=()}, stereo={icecast=(), hls=()}}

%include "formats/hls.aac.liq"
%include "formats/hls.libfdk_aac.liq"
Expand Down