Skip to content

Commit

Permalink
Merge pull request #4 from radiofrance/feat-2.2.1
Browse files Browse the repository at this point in the history
feat(liquidsoap): update to 2.2.1
  • Loading branch information
uZer authored Sep 6, 2023
2 parents d3729b8 + 12fba4c commit aa040b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- /conf/test.liq
- /scripts/00-live.liq
container_name: liquidsoap-test
image: savonet/liquidsoap:v2.2.0
image: savonet/liquidsoap:v2.2.1
networks:
- default
volumes:
Expand All @@ -20,7 +20,7 @@ services:
- /conf/myradio.liq
- /scripts/00-live.liq
container_name: liquidsoap-myradio
image: savonet/liquidsoap:v2.2.0
image: savonet/liquidsoap:v2.2.1
networks:
- default
restart: unless-stopped
Expand Down Expand Up @@ -56,7 +56,7 @@ services:
- "srt://liquidsoap-myradio:10000" # voieA_caller1
container_name: source-voieA-caller1
entrypoint: []
image: savonet/liquidsoap:v2.2.0
image: savonet/liquidsoap:v2.2.1
networks:
- default
restart: unless-stopped
Expand All @@ -77,7 +77,7 @@ services:
- "srt://liquidsoap-myradio:10002" # voieB_caller1
container_name: source-voieB-caller1
entrypoint: []
image: savonet/liquidsoap:v2.2.0
image: savonet/liquidsoap:v2.2.1
networks:
- default
restart: unless-stopped
Expand All @@ -98,7 +98,7 @@ services:
- "srt://liquidsoap-myradio:10004" # override_caller1
container_name: source-override-caller1
entrypoint: []
image: savonet/liquidsoap:v2.2.0
image: savonet/liquidsoap:v2.2.1
networks:
- default
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion scripts/50-hls.liq
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def segment_name(~position,~extname=_,stream_name) =
end

def on_file_change(~state,fname) =
if state == "closed" and file.extension(fname) != '.m3u8' then
if (state == "created" or state == "updated") and file.extension(fname) != '.m3u8' then
log.info("Segment #{fname} written on disk.")
def upload_segment(target) = fun () ->
begin
Expand Down

0 comments on commit aa040b3

Please sign in to comment.