Benutzer-Werkzeuge

Webseiten-Werkzeuge


content:serverbasics:docker-tvheadend

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
content:serverbasics:docker-tvheadend [2026/01/27 23:31] obel1xcontent:serverbasics:docker-tvheadend [2026/03/06 16:33] (aktuell) – [Docker Compose] obel1x
Zeile 8: Zeile 8:
  
 or Kodinerds: [[https://github.com/jnk22/kodinerds-iptv|https://github.com/jnk22/kodinerds-iptv]] or Kodinerds: [[https://github.com/jnk22/kodinerds-iptv|https://github.com/jnk22/kodinerds-iptv]]
 +
 +Attention: you will get an error if you just use the link of your browser to the lists. You need to use the "raw" file link to it, which you can find at the fileview itself.
 +
 +e.g. https://raw.githubusercontent.com/jnk22/kodinerds-iptv/refs/heads/master/iptv/pipe/pipe.m3u
  
 ===== Satellite Dash Astra 19.2 ===== ===== Satellite Dash Astra 19.2 =====
Zeile 25: Zeile 29:
 Install linux- drivers video4linux: Install linux- drivers video4linux:
  
-  * v4l-conf +  * sudo zypper in v4l-utils
-  * v4l-tools +
-  * v4l-utils+
  
 If you have your DVB- Card in /dev/dvb, check if the settings allow user access like this: If you have your DVB- Card in /dev/dvb, check if the settings allow user access like this:
Zeile 65: Zeile 67:
 Meanwhile, the old w_scan has become obsolete. It was replaced by w_scan_cpp. Unfortunatelly w_scan_cpp is not delivered by opensuse any more. Meanwhile, the old w_scan has become obsolete. It was replaced by w_scan_cpp. Unfortunatelly w_scan_cpp is not delivered by opensuse any more.
  
-I got a working binary at https://github.com/wirbel-at-vdr-portal/w_scan_cpp-binaries like+I got a working binary at [[https://github.com/wirbel-at-vdr-portal/w_scan_cpp-binaries|https://github.com/wirbel-at-vdr-portal/w_scan_cpp-binaries]] like
  
-The Docs can be found here: https://www.gen2vdr.de/wirbel/w_scan_cpp/index2.html+The Docs can be found here: [[https://www.gen2vdr.de/wirbel/w_scan_cpp/index2.html|https://www.gen2vdr.de/wirbel/w_scan_cpp/index2.html]]
  
-Where i needed to install librepfunc from here: https://build.opensuse.org/repositories/home:seife:vdrdevel/librepfunc+Where i needed to install librepfunc from here: [[https://build.opensuse.org/repositories/home:seife:vdrdevel/librepfunc|https://build.opensuse.org/repositories/home:seife:vdrdevel/librepfunc]]
  
 To check, if this works, try this command (while this example is for Astra 19.2E Sattelite): To check, if this works, try this command (while this example is for Astra 19.2E Sattelite):
- 
 <code> <code>
 +
 ./w_scan_cpp -fs -sS19E2 --femon "SAT.1 Gold HD;ProSiebenSat.1:11111:HC23M5O35P0S1:S19.2E:22000:255=27:0;259=deu@106:32:1830,1860,1843,98C,9C4,186A,98D,186D,1842,4B64,4AF4:12500:1:1043:0" ./w_scan_cpp -fs -sS19E2 --femon "SAT.1 Gold HD;ProSiebenSat.1:11111:HC23M5O35P0S1:S19.2E:22000:255=27:0;259=deu@106:32:1830,1860,1843,98C,9C4,186A,98D,186D,1842,4B64,4AF4:12500:1:1043:0"
- <font inherit/monospace;;inherit;;#000000background-color:#ffffff;>/*******************************************************************************</font> +******************************************************************************* 
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +* w_scan_cpp Version 20231015 
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>* w_scan_cpp Version 20231015</font> +****************************************************************************** 
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +Device0 dvb:a0f0: ST STV0910 
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>******************************************************************************/</font> +Device1 dvb:a1f0: ST STV0910 
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +monitoring device 'ST STV0910' 
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>/*******************************************************************************</font> +lock 0 | signal 0% | 
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +lock 1 | signal 72.58dBuV  | quality 81% | snr 12.90dB | 
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>* devices</font> +lock 1 | signal 72.57dBuV  | quality 81% | snr 12.90dB | 
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>******************************************************************************/</font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>Device0 dvb:a0f0: ST STV0910</font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>Device1 dvb:a1f0: ST STV0910</font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>monitoring device 'ST STV0910'</font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>lock 0 | signal 0% |</font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>lock 1 | signal 72.58dBuV  | quality 81% | snr 12.90dB |</font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> +
- <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>lock 1 | signal 72.57dBuV  | quality 81% | snr 12.90dB |</font> +
 </code> </code>
  
Zeile 130: Zeile 119:
  
 docker@pcserver2023:~/docker_compose> mkdir -p /home/docker/docker_compose/tvheadend docker@pcserver2023:~/docker_compose> mkdir -p /home/docker/docker_compose/tvheadend
-docker@pcserver2023:~/docker_compose> mkdir -p /home/docker/videorecords+docker@pcserver2023:~/docker_compose> mkdir -p /home/docker/tvh_videorecords
  
 </code> </code>
Zeile 152: Zeile 141:
 Currently the content looks like that: Currently the content looks like that:
  
-<code>+<file>
 services: services:
   tvheadend:   tvheadend:
Zeile 158: Zeile 147:
 # After resolve, the latest Tag should be used! # After resolve, the latest Tag should be used!
 #    image: ghcr.io/tvheadend/tvheadend:latest #    image: ghcr.io/tvheadend/tvheadend:latest
-    image: ghcr.io/tvheadend/tvheadend:master-debian +#Test 11.10.2025 
-    cap_drop+# Commit: https://github.com/tvheadend/tvheadend/commit/d4dff154ae2499f29b31c680e9ba60f58166cc3e 
-      all +#    image: ghcr.io/tvheadend/tvheadend@sha256:b37cdd3c99c600f1a4d3dac520e119e6253322e707b39f14ca9016d0a4d60b19 
-    ulimits: +# result: Crash 
-      nproc256 +# Last working Commit: ghcr.io/tvheadend/tvheadend:master-debian@sha256:d67826adddfef86f1843bef1167132017d7af80c29b685173140c7b2bab4ed90 
-      nofile+ 
-        soft8192 +# So for now, the AlpineBased linuxserver- image is a very good alternative 
-        hard65535+    imagelscr.io/linuxserver/tvheadend:latest 
 + 
 +    restartunless-stopped 
 +    ports
 +      - "9981-9982:9981-9982/tcp"
     devices:     devices:
       - /dev/dvb/       - /dev/dvb/
-# See Volumes/localtime +      - /dev/dri
-#    environment: +
-#      TZ: Europe/Berlin+
     volumes:     volumes:
-      - tvheadend:/var/lib/tvheadend:rw +      - tvh2_config:/config 
-      - /home/docker/videorecords:/var/lib/tvheadend/recordings:rw+      - /home/docker/tvh_videorecords:/recordings 
 +      - tvh2_epg:/epg2xml
       - /etc/localtime:/etc/localtime:ro       - /etc/localtime:/etc/localtime:ro
     networks:     networks:
-      - default +      - pcserver2023_default 
-    ports+    environment
-      - "9981-9982:9981-9982/tcp" +     TZEurope/Berlin 
-    command--config '/var/lib/tvheadend' --nosatip --firstrun +      TZUTC # Hardwareclock Timezone NOT local timezone of System 
-    restart: unless-stopped +     PUID=<UID for user> 
-#Not working on master-debian: +#      - PGID=<GID for user>
-#    healthcheck: +
-#      test: wget -O - -q 'http://dockerstack-tvheadend-1:9981/ping' | grep -q 'PONG'+
  
-# Still needs to be defined while without it won't enable ipv6 
 networks: networks:
-  default+  server_default
-    driver: bridge +    external: true
-    enable_ipv6: true+
  
 volumes: volumes:
-  tvheadend:+    tvh2_config: 
 +    tvh2_epg:
  
-</code>+</file>
  
 You can now statup that container with ''docker compose up -d''  and navigate to [[http://localhost:9981|http://localhost:9981]] to set up TVheadend for the first start. You can now statup that container with ''docker compose up -d''  and navigate to [[http://localhost:9981|http://localhost:9981]] to set up TVheadend for the first start.
  
 ======   ====== ======   ======
 +
  
 ====== Caddy Service ====== ====== Caddy Service ======
Zeile 218: Zeile 208:
  
 Watching TV with e.g. Kodi needs port 9982 opened at your firewall. You may *not* want that port to be reached from the Internet (or will you??? - well its up to you). Watching TV with e.g. Kodi needs port 9982 opened at your firewall. You may *not* want that port to be reached from the Internet (or will you??? - well its up to you).
 +
 +====== Client: Kodi ======
 +
 +On Fedora: Do NOT use Discover to install kodi , because the Flathub Version does NOT support binary addons. You need binary addons.
 +
 +First, install RPM- Fusion and then
 +
 +<code>
 +sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
 +sudo dnf install kodi kodi-inputstream-adaptive kodi-pvr-hts
 +
 +</code>
 +
 +You should also create a new user in tvheadend, who is only able to watch tv - no webgui, nothing else.
 +
 +Now you start kodi , enable the pvr- addon and enter the credentials. It should work and you should see channels in TV popping up.
 +
 +====== Problems ======
 +
 +TVH can be tricky when something is not working.
 +
 +First check, if your tuner is found in DVB-Inputs / TV-Adapters. Those entries should show up automatically, otherwise something with the drivers has not worked.
 +
 +Second, check if your Network is set up AND is connect to at least one LNB (for example) - that means the Network must be show in the LNB / general Settings
  
  
content/serverbasics/docker-tvheadend.1769553075.txt.gz · Zuletzt geändert: von obel1x

Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki