Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADDITION: TVHeadend #320

Closed
wants to merge 9 commits into from
Closed

Conversation

YurNaybor
Copy link
Contributor

@YurNaybor YurNaybor commented May 9, 2020

What this PR does / why we need it:

This PR adds TVHeadend as an installable service via Ansible and Docker. TVHeadend is a streaming and recording server for television broadcasting and can be used with different backends, like IPTV, DVB tuner cards and so on.

Which issue (if any) this PR fixes:

#325

Any other useful info:

Though I think the PR is ready as it is (and tested locally), there are still some thoughts I have:

  • I added a new directory / share for recordings, because I think the "tv" folder does not quite fit the needs of TVHeadend which not only records series. I'm open for other opinions here.
  • DVB drivers / firmware: I wasn't sure whether to include tasks for installing DVB drivers and firmware. For my personal hardware (WinTV Quad HD), I would need, for example, the Hauppauge ppa and the Linux media tree (see https://hauppauge.com/pages/support/support_linux.html#ppa). As this is very specific to the users hardware, I currently see this out of scope for ansible-nas.

will then add the device / folder '/dev/dvb' to the list of docker volumes. This is disabled by default.

For discovery of local IPTV services, you may need to change the network mode of the docker container to
`host`, default is 'bridge'.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👸 For clarification, I would add the full property name tvheadend_network_mode.

tvheadend_docker_devices: "{{ tvheadend_docker_devices + [ '/dev/dri:/dev/dri' ] }}"
when: tvheadend_hw_accel

- name: Add dvb hw
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little 'princess' comment but it seems a bit cryptic with two abbreviations in the name. Maybe something along the lines of 'Add hardware TV Tuner' or 'Mount hardware TV Tuner' would be a little more accessible.

@Vinibo
Copy link

Vinibo commented Jan 25, 2021

I went on and tested it on my 'test' server. I don't know what caused it but when I complete the 'Quick setup', I end up locked out of the TVHeadend interface with a password prompt. I tried the 'admin' and 'user' password specified during the quick setup but nothing seems to work.

Here's my configuration:

tvheadend_enabled: true
tvheadend_network_mode: host

I had to put 'tvheadend_network_mode: host' for the discovery of my HDHomeRun.

@davestephens
Copy link
Owner

Closing due to no activity, and I don't have the hardware to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants