Compare commits

...

8 Commits

Author SHA1 Message Date
gronod 2ae8109335 Update README.md
CI / workflows (push) Failing after 1s
Release Drafter / workflows (push) Failing after 1s
2026-08-09 08:32:16 +01:00
gronod 92209c8638 Update README.md
CI / workflows (push) Failing after 1s
Release Drafter / workflows (push) Failing after 1s
2026-08-09 08:31:00 +01:00
gronod 3d1a7a8592 Update tvheadend/config.yaml
CI / workflows (push) Failing after 2s
Release Drafter / workflows (push) Failing after 1s
2026-08-09 08:27:48 +01:00
dependabot[bot] 011abf2aa5 ⬆️ Bump streamlink from 5.2.1 to 5.3.1 in /tvheadend (#208)
Bumps [streamlink](https://github.com/streamlink/streamlink) from 5.2.1 to 5.3.1.
- [Release notes](https://github.com/streamlink/streamlink/releases)
- [Changelog](https://github.com/streamlink/streamlink/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamlink/streamlink/compare/5.2.1...5.3.1)

---
updated-dependencies:
- dependency-name: streamlink
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 10:17:23 +05:30
dependabot[bot] 2fdd760070 ⬆️ Bump actions/cache from 3.2.5 to 3.2.6 (#206)
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.2.5...v3.2.6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 10:15:08 +05:30
dependabot[bot] a638507b2b ⬆️ Bump setuptools from 67.3.2 to 67.4.0 in /tvheadend (#207)
Bumps [setuptools](https://github.com/pypa/setuptools) from 67.3.2 to 67.4.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v67.3.2...v67.4.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 10:14:54 +05:30
Gautham Varma K ad2e249a87 🛂 Update exec permissions 2023-02-25 10:13:49 +05:30
Gautham Varma K 712841f292 🔨 Migrate old-style base scripts s6-rc 2023-02-19 21:05:33 +05:30
27 changed files with 70 additions and 24 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ jobs:
uses: actions/checkout@v3
- name: 🏗 Set up build cache
id: cache
uses: actions/cache@v3.2.5
uses: actions/cache@v3.2.6
with:
path: /tmp/.docker-cache
key: docker-${{ matrix.architecture }}-${{ github.sha }}
+2 -2
View File
@@ -86,13 +86,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
[contributors]: https://github.com/GauthamVarmaK/addon-tvheadend/graphs/contributors
[docs]: https://github.com/GauthamVarmaK/addon-tvheadend/blob/main/tvheadend/DOCS.md
[docs]: https://git.i3omb.com/Gronod/addon-tvheadend/blob/main/tvheadend/DOCS.md
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
[forum]: https://community.home-assistant.io/
[gautham]: https://github.com/GauthamVarmaK
[frenck]: https://github.com/frenck
[github-actions-shield]: https://github.com/GauthamVarmaK/addon-tvheadend/workflows/CI/badge.svg
[github-actions]: https://github.com/GauthamVarmaK/addon-tvheadend/actions
[github-actions]: https://git.i3omb.com/Gronod/addon-tvheadend/actions
[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg
[issue]: https://github.com/GauthamVarmaK/addon-tvheadend/issues
[license-shield]: https://img.shields.io/github/license/GauthamVarmaK/addon-tvheadend.svg
+1 -1
View File
@@ -4,7 +4,7 @@ version: dev
stage: experimental
slug: tvheadend
description: TV streaming server and recorder.
url: "https://github.com/GauthamVarmaK/addon-tvheadend"
url: "https://git.i3omb.com/Gronod/addon-tvheadend"
init: false
arch:
- aarch64
+2 -2
View File
@@ -1,2 +1,2 @@
setuptools==67.3.2
streamlink==5.2.1
setuptools==67.4.0
streamlink==5.3.1
+27
View File
@@ -0,0 +1,27 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: TVHeadend
# Take down the S6 supervision tree when cron fails
# ==============================================================================
declare exit_code
readonly exit_code_container=$(</run/s6-linux-init-container-results/exitcode)
readonly exit_code_service="${1}"
readonly exit_code_signal="${2}"
readonly service="cron"
bashio::log.info \
"Service ${service} exited with code ${exit_code_service}" \
"(by signal ${exit_code_signal})"
if [[ "${exit_code_service}" -eq 256 ]]; then
if [[ "${exit_code_container}" -eq 0 ]]; then
echo $((128 + $exit_code_signal)) > /run/s6-linux-init-container-results/exitcode
fi
[[ "${exit_code_signal}" -eq 15 ]] && exec /run/s6/basedir/bin/halt
elif [[ "${exit_code_service}" -ne 0 ]]; then
if [[ "${exit_code_container}" -eq 0 ]]; then
echo "${exit_code_service}" > /run/s6-linux-init-container-results/exitcode
fi
exec /run/s6/basedir/bin/halt
fi
@@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: TVHeadend
# Runs the cron daemon
@@ -0,0 +1 @@
longrun
@@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: TVHeadend
# Executes user customizations on startup
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-customizations/run
@@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: TVHeadend
# Executes user customizations on startup
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-tvheadend/run
+27
View File
@@ -0,0 +1,27 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: TVHeadend
# Take down the S6 supervision tree when tvheadend fails
# ==============================================================================
declare exit_code
readonly exit_code_container=$(</run/s6-linux-init-container-results/exitcode)
readonly exit_code_service="${1}"
readonly exit_code_signal="${2}"
readonly service="tvheadend"
bashio::log.info \
"Service ${service} exited with code ${exit_code_service}" \
"(by signal ${exit_code_signal})"
if [[ "${exit_code_service}" -eq 256 ]]; then
if [[ "${exit_code_container}" -eq 0 ]]; then
echo $((128 + $exit_code_signal)) > /run/s6-linux-init-container-results/exitcode
fi
[[ "${exit_code_signal}" -eq 15 ]] && exec /run/s6/basedir/bin/halt
elif [[ "${exit_code_service}" -ne 0 ]]; then
if [[ "${exit_code_container}" -eq 0 ]]; then
echo "${exit_code_service}" > /run/s6-linux-init-container-results/exitcode
fi
exec /run/s6/basedir/bin/halt
fi
@@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: TVHeadend
# Starts TVHeadend
@@ -0,0 +1 @@
longrun
@@ -1,9 +0,0 @@
#!/usr/bin/execlineb -S0
# ==============================================================================
# Home Assistant Community Add-on: TVHeadend
# Take down the S6 supervision tree when crond fails
# ==============================================================================
if -n { s6-test $# -ne 0 }
if -n { s6-test ${1} -eq 256 }
s6-svscanctl -t /var/run/s6/services
@@ -1,9 +0,0 @@
#!/usr/bin/execlineb -S0
# ==============================================================================
# Home Assistant Community Add-on: TVHeadend
# Take down the S6 supervision tree when TVHeadend fails
# ==============================================================================
if -n { s6-test $# -ne 0 }
if -n { s6-test ${1} -eq 256 }
s6-svscanctl -t /var/run/s6/services
View File