Tvheadend Guide discussion thread

    • OMV 2.x
    • Resolved
    • Vasa wrote:

      Yes, I got it to work with hdhomerun tuners by using the latest compiled version in this thread. Did you use this version as well? The tuners were recognized via the gui.

      My problem is that some hd channels don't record properly. Starts out good but starts stuttering after 30 min when playing back with kodi. Doesn't matter if I stop and restart to rebuffer so I think it something wrong with the recording itself. Any tips how to troubleshoot?


      I'm not sure... it's been a while now. I may have to give it another shot as I'm really not crazy about using up resources just to run TVHeadend.

      Are you streaming your playback, or are you trying to do it locally? Perhaps you should try copying the recorded .ts file locally and trying it again on your Kodi system and maybe on another computer using a different player. At least that way you could make sure it was streaming properly.

      What hardware are you running on both ends?
    • Excellent work, thank you very much!

      Works fine on OMV 2.1 (3.16) with my TeVii S660 DVB-S2 USB. But I have problems to bring my DVBSKY S952 v3 to life :( I did exactly as decribed in this install guide:
      linuxtv.org/wiki/index.php/DVBSky

      dmesg | grep -i dvb
      [ 2.892753] dvb-usb: found a 'TeVii S660 USB' in cold state, will try to load a firmware
      [ 2.895430] usb 1-1.5: firmware: direct-loading firmware dvb-usb-s660.fw
      [ 3.018265] dvb-usb: found a 'TeVii S660 USB' in warm state.
      [ 3.018295] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
      [ 3.022318] DVB: registering new adapter (TeVii S660 USB)
      [ 3.039414] dvb-usb: MAC address: 01:01:01:01:01:01
      [ 3.041610] dvb-usb: no frontend was attached by 'TeVii S660 USB'
      [ 3.066338] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/rc/rc0/input15
      [ 3.066445] rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/rc/rc0
      [ 3.066447] dvb-usb: schedule remote query interval to 150 msecs.
      [ 3.066448] dvb-usb: TeVii S660 USB successfully initialized and connected.
      [ 3.134578] dvb-usb: TeVii S660 USB successfully deinitialized and disconnected.
      [ 4.775229] usb 1-1.5: Product: DVBS2BOX
      [ 4.775526] dvb-usb: found a 'TeVii S660 USB' in cold state, will try to load a firmware
      [ 4.782008] usb 1-1.5: firmware: direct-loading firmware dvb-usb-s660.fw
      [ 4.902211] dvb-usb: found a 'TeVii S660 USB' in warm state.
      [ 4.902257] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
      [ 4.902484] DVB: registering new adapter (TeVii S660 USB)
      [ 5.033210] dvb-usb: MAC address: 00:18:bd:5b:c7:58
      [ 5.055628] usb 1-1.5: DVB: registering adapter 0 frontend 0 (Montage Technology DS3000)...
      [ 5.056070] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/rc/rc0/input16
      [ 5.056099] rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/rc/rc0
      [ 5.056101] dvb-usb: schedule remote query interval to 150 msecs.
      [ 5.056102] dvb-usb: TeVii S660 USB successfully initialized and connected.
      [ 5.486731] ds3000_firmware_ondemand: Waiting for firmware upload (dvb-fe-ds3000.fw)...
      [ 5.487072] usb 1-1.5: firmware: direct-loading firmware dvb-fe-ds3000.fw

      But the card is not shown in TVH.

      Any ideas or anybody who runs the S952 successfully?

      Cheers,

      Chris
      Hardware: MSI B150M ECO - Intel Pentium G4400 - 16GB Crucial CT2K8G4DFD8213 - Mushkin Chronos SSD 120 GB - 4x WD Red 4TB (RAID5) - DVBSky S952 Dual DVB-S/S2 PCIe (V3)
      Software: OMV 2.1.x (3.16.0-0.bpo.4-amd64), Plex Media Server, Tvheadend 4.1.x
    • I downloaded the Media Built Driver media_build-bst-14-141106

      When I try to compile I get this error:

      Source Code

      1. root@nas:~/media_build-bst-14# ./v4l/build_x64.sh if build for 64 bit system os to support multi-standard, include DVB-T,DVB-T2 and DVB-C
      2. root@nas:~/media_build-bst-14# make
      3. make -C /root/media_build-bst-14/v4l
      4. make[1]: Entering directory `/root/media_build-bst-14/v4l'
      5. No version yet, using 3.16.0-0.bpo.4-amd64
      6. make[1]: Leaving directory `/root/media_build-bst-14/v4l'
      7. make[1]: Entering directory `/root/media_build-bst-14/v4l'
      8. scripts/make_makefile.pl
      9. Updating/Creating .config
      10. Preparing to compile for kernel version 3.16.0
      11. File not found: /lib/modules/3.16.0-0.bpo.4-amd64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
      12. make[1]: Leaving directory `/root/media_build-bst-14/v4l'
      13. make[1]: Entering directory `/root/media_build-bst-14/v4l'
      14. Updating/Creating .config
      15. Preparing to compile for kernel version 3.16.0
      16. File not found: /lib/modules/3.16.0-0.bpo.4-amd64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
      17. make[1]: *** Keine Regel vorhanden, um das Target ».myconfig«,
      18. benötigt von »config-compat.h«, zu erstellen. Schluss.
      19. make[1]: Leaving directory `/root/media_build-bst-14/v4l'
      20. make: *** [all] Fehler 2
      Display All


      BTW: The card works fine with OMW 3 beta(4.3.0 BPO).
      Hardware: MSI B150M ECO - Intel Pentium G4400 - 16GB Crucial CT2K8G4DFD8213 - Mushkin Chronos SSD 120 GB - 4x WD Red 4TB (RAID5) - DVBSky S952 Dual DVB-S/S2 PCIe (V3)
      Software: OMV 2.1.x (3.16.0-0.bpo.4-amd64), Plex Media Server, Tvheadend 4.1.x
    • Neither of these methods worked for me when trying to install TVHeadend. If I do
      dpkg -i tvheadend_4.1-xxxx.deb
      I get an error saying no such file or directory.

      If I try to compile using the second set of instructions, I get stuck at the first step. The directory in line one
      cd /home/hts
      doesn't exist. If I'm supposed to have that, I do not in the latest OMV build.

      Thoughts? Or can someone point me to a guide that has more detailed instructions? I feel like I should have done something before running dpkg, but the guide doesn't say to.

      Thanks.
    • I'm having problems using your guide.

      I've downloaded the latest version with
      wget bintray.com/artifact/download/…g0b69407~wheezy_amd64.deb

      Then I tried to run dpkg -i tvheadend-dbg_.....deb but I get this error.

      Source Code

      1. root@OMV:/# dpkg -i tvheadend-dbg_4.1-1853~g0b69407~wheezy_amd64.deb
      2. (Reading database ... 54327 files and directories currently installed.)
      3. Preparing to replace tvheadend-dbg 4.1-1853~g0b69407~wheezy (using tvheadend-dbg_4.1-1853~g0b69407~wheezy_amd64.deb) ...
      4. Unpacking replacement tvheadend-dbg ...
      5. dpkg: dependency problems prevent configuration of tvheadend-dbg:
      6. tvheadend-dbg depends on tvheadend (= 4.1-1853~g0b69407~wheezy); however:
      7. Package tvheadend is not installed.
      8. dpkg: error processing tvheadend-dbg (--install):
      9. dependency problems - leaving unconfigured
      10. Errors were encountered while processing:
      11. tvheadend-dbg
      12. root@OMV:/#
      Display All


      EDIT: I fixed my problem by removing tv headend and then reinstalling it and then installing liburiparser1 (as it seemd to be needed).

      The post was edited 1 time, last by schpongo ().

    • I have managed to get TVH up and running on OMV and everything is working well, except the OTA grabbing - not all that great in the UK.

      I have a Schedules Direct account and wanted to use the latest version of XMLTV-Util (05.69, which offers SDJsn grabbing) but I realised that Jessie does not support this - the latest version is 05.63-2.

      My other option, now, is to use mc2xml instead but I am having trouble understanding how to install and set it up.

      Any help would be much appreciated.