truenas / apps

GNU Lesser General Public License v3.0
76 stars 24 forks source link

Community Chart Suggestion: Tvheadend #272

Open Kurisutian opened 4 months ago

Kurisutian commented 4 months ago

Hi,

it would be great to get Tvheadend as an official app, esp since when running an SatIP system there seems to be no good free alternative existing to it. I used to run it from some other catalog and some network fiddling is needed to be able to run it with proper SatIP capabilities but once done it runs flawless.

URL: https://tvheadend.org/

Thanks in advance!

chrisrnz commented 2 months ago

I was looking at adding this myself today and it was simple to add using the generic iX App template, the only thing I didn't figure out how to do was map the hardware tuner device into the container using the UI. ref: https://docs.linuxserver.io/images/docker-tvheadend/#device-mappings-device Perhaps device mappings could be a configuration section, something like GPU passthrough? Cheers!

chrisrnz commented 2 months ago

tiny update, I enabled gpu passthrough and edited the rendered/docker-compose.yaml then replaced devices: ["/dev/dri:/dev/dri"] with devices: ["/dev/dvb:/dev/dvb"] and the TV tuner was detected fine.

Kurisutian commented 2 months ago

I was looking at adding this myself today and it was simple to add using the generic iX App template, the only thing I didn't figure out how to do was map the hardware tuner device into the container using the UI. ref: https://docs.linuxserver.io/images/docker-tvheadend/#device-mappings-device Perhaps device mappings could be a configuration section, something like GPU passthrough? Cheers!

Thanks for the update. I do have a distinct SatIP Server in my network which is not directly connected to my NAS like a DVB device. So I need to mess with the network mode to expose the app like a own device in the network to make sure it can communicate with the SatIP server back and forth. So I need to attach it to my network interface (bond0) and give it a static IP address in order to make it work, along with some RUN_OPTS to point to the SatIP XML server list (--satip_xml http://:8000/description.xml). That was the only way I could make it work when using the TrueCharts app.