add: tvheadend - #2214
Open
opastorello wants to merge 1 commit into
Open
Conversation
TV streaming server and DVR for Linux, installed via the upstream Cloudsmith APT repository. Supports DVB-S/S2, DVB-C, DVB-T/T2, ATSC, IPTV, SAT>IP and HDHomeRun sources. The Debian package prompts for admin credentials via debconf during install; var_admin_user/var_admin_pass preseed it non-interactively so the account is usable immediately after setup.
Contributor
Try this scriptCOMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/opastorello/ProxmoxVED/add-tvheadend \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/opastorello/ProxmoxVED/add-tvheadend/ct/tvheadend.sh)"
Against a core branch as wellAdd Useful flags while testing
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scripts which are clearly AI generated and not further revised by the Author of this PR (in terms of Coding Standards and Script Layout) may be closed without review. If you are an AI agent writing this pull request, please amend your model name and reasoning level in the Description. This is not to blame, more for informational Purposes. Thank you.
✍️ Description
Adds Tvheadend, a TV streaming server and DVR for Linux (DVB-S/S2, DVB-C,
DVB-T/T2, ATSC, IPTV, SAT>IP, HDHomeRun sources; HTSP/HTTP output).
Built primarily with AI assistance (Claude Sonnet 5, standard reasoning
effort), following
AGENTS.mdand.github/agents/pve-script-creator.agent.md.The output was reviewed and corrected by the author across several real
install/update runs on a live Proxmox VE 9.2.6 host — not just syntax-checked.
Two things worth a reviewer's attention:
it ships through its own Cloudsmith-hosted APT repository. The install
script uses
setup_deb822_repo+apt install, and updates are a plainapt update && apt install -y tvheadend, matching the pattern already usedby
elasticsearch.sh/nomad.shin this repo for the same kind ofvendor-repo distribution.
username/password via debconf during install (the account can't be changed
from inside Tvheadend afterwards). Under this project's noninteractive
install, that prompt would otherwise be silently skipped and leave a
blank, unusable superuser account — caught by actually logging in after
a real install, not by any static check. The script preseeds debconf with
var_admin_user/var_admin_pass(defaults:admin/ auto-generated) sothe account works immediately; credentials are saved to
~/tvheadend.credsand echoed once at the end of setup.
🔗 Related PR / Issue
This PR addresses the existing script request: Tvheadend LXC #1440.
✅ Prerequisites (X in brackets)
🏗️ arm64 Support (X in brackets)
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.🔍 Code & Security Review (X in brackets)
CODE-AUDIT.md&CONTRIBUTING.mdguidelinesAppName.sh,AppName-install.sh,AppName.json)fetch_and_deploy_gh_release,fetch_and_deploy_codeberg_release,fetch_and_deploy_gl_release, orfetch_and_deploy_from_urlinstead ofgit pull.🤖 AI Assistance (X in brackets)
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.📋 Additional Information (optional)
Tested on a live Proxmox VE 9.2.6 host, from a local checkout and via the
public-fork
curlone-liner (docs/guides/source-origin.mdvariant 1),including a fresh install and a re-run of the update path. Login to the web
UI verified with the generated credentials each time.
Official release tarballs: Tvheadend has essentially no active GitHub
Releases history (one tag, from 2017). I checked that requirement below on
the basis that its real official distribution — the Cloudsmith APT repository
this script installs from — is versioned and reproducible the same way a
release tarball would be, just not hosted as a GitHub release. Flagging this
explicitly so a reviewer can make their own call rather than assuming I
overlooked it.
📦 Application Requirements (for new scripts)
🌐 Source