Merge pull request 'hls-streams' (#1) from hls-streams into main

Reviewed-on: #1
main
lambda 2 years ago
commit 9692cc8d4b

@ -2,6 +2,30 @@
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
- - -
## 0.3.3 - 2024-02-12
#### Bug Fixes
- syntax fix - (7ff1b2b) - lambda
- - -
## 0.3.2 - 2024-02-12
#### Bug Fixes
- use different directory for temp files - (c1647f6) - lambda
- - -
## 0.3.1 - 2024-02-12
#### Bug Fixes
- write hls stream to different directory - (db98667) - lambda
- - -
## 0.3.0 - 2024-02-12
#### Features
- add hls output as separate file - (24e86a3) - lambda
- - -
## 0.2.1 - 2024-01-27
#### Bug Fixes
- change commands for backward compat - (185e552) - lambda

@ -8,6 +8,8 @@ RUN echo "Europe/Moscow" > /etc/timezone
RUN mkdir -p /home/stream
RUN mkdir -p /home/stream/music
RUN mkdir -p /home/stream/hls
RUN mkdir -p /home/stream/tmp
RUN chown -R liquidsoap:liquidsoap /home/stream
USER liquidsoap

@ -61,3 +61,14 @@ output.icecast(%mp3,
password = "hackme",
mount = "iceberg.ogg",
radio)
output.file.hls(
temp_dir="/home/stream/tmp",
"/home/stream/hls",
[
("hi", %mp3(bitrate=320)),
("mid", %mp3(bitrate=160)),
("low", %mp3(bitrate=96))
],
radio
)