Commit graph

56 commits

Author SHA1 Message Date
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
Martin Wimpress
67925af986 feat(yaml): add pure bash yaml parser
https://stackoverflow.com/questions/5014632/how-can-i-parse-a-yaml-file-from-a-linux-shell-script
2024-07-23 12:32:49 +01:00
Martin Wimpress
d1650f6d19
chore: bump version to 0.1.3-dev 2024-07-23 02:05:26 +01:00
Martin Wimpress
7c2373358b
docs: correct yq installation notes for macOS 2024-07-23 02:04:50 +01:00
Martin Wimpress
a1beb178f1
chore: bump version to 0.1.2 0.1.2 2024-07-23 01:52:31 +01:00
Martin Wimpress
11d61aa534 fix: update yq use to be compatible with github.com/kislyuk/yq 2024-07-23 01:51:27 +01:00
Martin Wimpress
dc44f33c81 chore: update debian/copyright with the correct license 2024-07-23 00:43:17 +01:00
Martin Wimpress
2774e28e91 fix: correct URLs to the project 2024-07-23 00:43:17 +01:00
Martin Wimpress
906f57b1c0 docs: improve README.md 0.1.1 2024-07-22 23:43:12 +01:00
dependabot[bot]
e09446bb19 chore(deps): bump DeterminateSystems/nix-installer-action from 12 to 13
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 12 to 13.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 23:00:29 +01:00
Martin Wimpress
979b5b967e
docs: add a chart emoji to README 2024-07-22 17:19:08 +01:00
Martin Wimpress
fc412d22d8 feat: add support for protecting the stream sprout server with a key
- Close #8
2024-07-22 17:14:16 +01:00
Martin Wimpress
a57ee9d0b4
chore: bump version to 0.1.1 2024-07-22 16:29:46 +01:00
Martin Wimpress
61a38c579d docs: update README 2024-07-22 16:24:12 +01:00
Martin Wimpress
15d407226d
ci: fix release workflow 0.1.0 2024-07-22 14:43:31 +01:00
Martin Wimpress
040d5f7ba9 ci: add release workflow and update docs 2024-07-22 14:33:28 +01:00