Commit graph

71 commits

Author SHA1 Message Date
Martin Wimpress
c78953780a feat: expand ~ to $HOME in the yaml parser 2024-07-25 09:00:48 +01:00
Martin Wimpress
132b240133 ci: tag containers with alpine so I can namespace future variants 2024-07-25 08:55:16 +01:00
Martin Wimpress
7b548aa7df refactor: give the snap artefact a more descriptive name 2024-07-25 08:25:03 +01:00
Martin Wimpress
6f89206695 fix: get current version from stream-sprout VERSION 2024-07-25 08:25:03 +01:00
Martin Wimpress
86352205af refactor: move test-snap-build alongside the other test build jobs 2024-07-25 08:25:03 +01:00
Martin Wimpress
9830543ac5 docs: minor updates for clarity 2024-07-25 08:25:03 +01:00
Martin Wimpress
f20bde1521 docs: add snap to install instructions 2024-07-25 08:25:03 +01:00
Martin Wimpress
cb86dfc5f4 chore: white space clean up 2024-07-25 08:25:03 +01:00
Martin Wimpress
ec278996b9 refactor: change awk to mawk in snapcraft.yaml; conform to Ubuntu defaults
Ubuntu ships mawk by default, Stage mawk in the snap so the behaviour between the .deb and snap is consistent.
2024-07-25 08:25:03 +01:00
Martin Wimpress
1cc2100527 docs: update versions in README 2024-07-25 08:25:03 +01:00
Martin Wimpress
5801fecb3d fix: remove incorrect query parameters from server URL 2024-07-25 08:25:03 +01:00
Martin Wimpress
1f5231c6e9 fix: get the complete video codec information in stream_details() 2024-07-25 08:25:03 +01:00
Martin Wimpress
cd6a8185c6 fix: avoid injection of substitution commands when parsing yaml 2024-07-25 01:39:10 +01:00
Martin Wimpress
f3b1271813 docs: update documentation to explain the new server config 2024-07-24 23:14:45 +01:00
Martin Wimpress
830edfabab refactor: add get_server_url() to validate server configuration 2024-07-24 23:14:45 +01:00
Martin Wimpress
f0262fbd38 refactor: update example yaml for new server configuration 2024-07-24 23:14:45 +01:00
Alan Pope
0eba5601d7
feat: Add snap support (#23)
* WIP: snapcraft config

* chore: tidy up snap workflow

* fix: update ld_library_path

* fix the version of the snap

This uses a combination of most recent git tag and short rev.

* Add git as a build package

Required because we have a dump plugin and a nill plugin which pull in next to nothing. Making it hard to do a version stamp without the git command
2024-07-24 19:23:58 +01:00
Martin Wimpress
a79438f0d2 fix: do not build STREAM_TEE inside a subshell. fixes #25
Iterate over the variables already exposed by parse_yaml and avoid populating the global variable STREAM_TEE inside a subshell because when a subshell exits the variables are reset.
2024-07-24 18:06:43 +01:00
Martin Wimpress
4928a51bd1 ci: add build/publish container image 2024-07-24 02:03:58 +01:00
Martin Wimpress
dda746f103 ci: add build container image 2024-07-24 02:03:58 +01:00
Martin Wimpress
4e32f890bc docs: update README with details about using the container 2024-07-24 02:03:58 +01:00
Martin Wimpress
f0916a091b feat: add Containerfile 2024-07-24 02:03:58 +01:00
Martin Wimpress
7998737c0e fix: also actually parse the config file 2024-07-24 02:03:58 +01:00
Martin Wimpress
8ca09f94b5
chore: bump version to 0.1.5 2024-07-23 23:20:23 +01:00
Martin Wimpress
6d14c84e72 docs: add details about --config 0.1.4 2024-07-23 23:11:19 +01:00
Martin Wimpress
dbc72f288c feat: add command line option to specify a custom config file
- Close #20
2024-07-23 23:11:19 +01:00
Martin Wimpress
5061ae32be fix: actually parse the configuration file 2024-07-23 23:11:19 +01:00
Martin Wimpress
080092e136
docs: add demo 2024-07-23 19:23:09 +01:00
Martin Wimpress
b2904c7481 feat: show stream audio and video details when a new stream is detected 2024-07-23 18:27:28 +01:00
Martin Wimpress
c4148c12a1 style: brand the log file 2024-07-23 18:27:28 +01:00
Martin Wimpress
cc928c2565 feat: trap more signals 2024-07-23 18:27:28 +01:00
Martin Wimpress
18c13219c0 feat: add a banner 2024-07-23 18:27:28 +01:00
Martin Wimpress
6e5098bf9f chore: update packaging and docs to remove procps 2024-07-23 16:35:45 +01:00
Martin Wimpress
71ed0d7c26 style: tidy up the status messages 2024-07-23 16:35:45 +01:00
Martin Wimpress
63c7aa39d7 fix: prevent server keys concatenating on restarts 2024-07-23 16:35:45 +01:00
Martin Wimpress
66b39fda90 refactor: just check for ffmpeg being available 2024-07-23 16:35:45 +01:00
Martin Wimpress
f81ff23d52 refactor: replace the use of procps utilities with kill 2024-07-23 16:35:45 +01:00
Martin Wimpress
d580129636 fix: don't echo control characters 2024-07-23 16:35:45 +01:00
Martin Wimpress
f8b3c9c794 feat: background ffmpeg and monitor what it is doing 2024-07-23 16:35:45 +01:00
Martin Wimpress
e42d6f9d39
chore: bump version to 0.1.4 2024-07-23 13:03:56 +01:00
Martin Wimpress
c523d9bae1 ci: resolve some dh warnings 0.1.3 2024-07-23 12:32:49 +01:00
Martin Wimpress
8844ba12be ci: drop -dev version suffix 2024-07-23 12:32:49 +01:00
Martin Wimpress
824a7e724b docs: improve yaml examples 2024-07-23 12:32:49 +01:00
Martin Wimpress
5f8f70bced refactor: update packaging to not depend on yq 2024-07-23 12:32:49 +01:00
Martin Wimpress
04db65ce11 docs: remove all references to yq 2024-07-23 12:32:49 +01:00
Martin Wimpress
aae7ce3afd refactor(yaml): drop all use of yq from stream-sprout 2024-07-23 12:32:49 +01:00
Martin Wimpress
db233cde72 feat(yaml): remove end of line comments
https://stackoverflow.com/questions/5014632/how-can-i-parse-a-yaml-file-from-a-linux-shell-script#comment119813940_21189044
2024-07-23 12:32:49 +01:00
Martin Wimpress
a3d4e11ee5 feat(yaml): strip leading and trailing whitespace from the vlaue
https://stackoverflow.com/questions/5014632/how-can-i-parse-a-yaml-file-from-a-linux-shell-script#comment51310697_21189044
2024-07-23 12:32:49 +01:00
Martin Wimpress
ed4b0ad746 refactor(yaml): simplify how fs is initialised
https://stackoverflow.com/questions/5014632/how-can-i-parse-a-yaml-file-from-a-linux-shell-script#comment131463136_21189044
2024-07-23 12:32:49 +01:00
Martin Wimpress
a77c910db2 fix(yaml): make parse_yaml() shellcheck compliant 2024-07-23 12:32:49 +01:00