SOLVED: TVH on Win10 Home?
#1
solution here: https://forum.kodi.tv/showthread.php?tid...pid2881106


Currently, using Win10 NextPVR as backend and Kodi (android TV, RPi3) as frontend. This works 99% except for 1 minor issue (https://forum.kodi.tv/showthread.php?tid=282357, "Recorded TV playback ends when watching a current recording")

I've configured TVH on RPi3 + LibreELEC and TVH works for most part. Found HDHR tuners, can schedule record, watch live TV. But the issue is RPi3 is not fast enough to handle reading/writing/timeshifting two 20mbps ATSC MPEG2 streams simultaneously. So I am exploring TVH on Windows 10 desktop. (From my research, TVH doesn't have the above issue that NextPVR has)

I googled TVH + Win10 but most are old threads. Would appreciate if anyone has a working guide/tutorial.
Reply
#2
My understanding is that TVH only runs on Linux. It cannot run on Windows (although Kodi clients on Windows can connect to a TVH server).

I'd say you have two choices. If the Windows 10 PC you have is only being used for TV server and Kodi, consider installing LibreElec and TVH there.

Alternatively, upgrade your Raspberry Pi 3 to a Raspberry Pi 4, which has better USB and ethernet. I'm using this setup with three DVB-T2 tuners and not seen any problems so far.
Reply
#3
Maybe you can install Docker on Windows and install TVHeadend as a Container:

https://docs.docker.com/docker-for-windows/

Why don’t you setup a linux machine with Debian or Ubuntu?

Regards Hoppel
frontend: nvidia shield tv 2019 pro | apple tv 4k | sonos arc 5.1.2 | lg oled65c97la
backend: supermicro x11ssh-ctf | xeon | 64gb ecc | wd red | zfs raid-z2 | dd max s8

software: debian | proxmox | openmediavault | docker | kodi | emby | tvheadend | fhem | unifi
Reply
#4
Copied from https://tvheadend.org/boards/5/topics/38600

Finally, I have a fully functioning TVH backend running on Windows 10 with Kodi clients.

Findings: 
1. It takes 1 second to switch live TV channels with timeshifting on (vs 4 seconds w/ NextPVR) 
2. Timeshifting is flawless. For example, if I record a 1-hr show at 2 pm, I can start watching at 2:20 pm from beginning and watch the entire show while skipping commercials without disruption (couldn't do this in NextPVR) 
3. According to Windows task manager, TVH is using 4% of CPU and 18MB of memory, while recording/playing TV.
4. No stutter/pixelation (RPi3 TVH couldn't handle two 20mbps streams writing/reading simultaneously)

Installation steps:
1. Install Ubuntu 16.04 on Windows 10: https://www.microsoft.com/en-us/p/ubuntu...jn388hp8c9 (18.04 didn't work)
2. Install TVheadend unstable version https://tvheadend.org/projects/tvheadend...positories (stable version found tuners but didn't find services)
3. http://localhost:9981 Start Wizard to set up user account, tuners, channels, EPG 
https://dirtyoptics.com/how-to-configure...nd-server/
4. Set up frontend client such as Kodi>TVheadend PVR addon (w/ IP address, user account in #3)

Tips:
1. WSL automatically mounts all HDD. I'm using E drive as the recording storage instead of default /home/hts. 
2. Starting Linux background services on Windows startup https://dev.to/ironfroggy/wsl-tips-start...login-3o98 
3. (For USA) Free EPG XMLTV http://zap2xml.awardspace.info/ 
I couldn't get TVH to pull EPG XMLTV automatically daily. I used the above program w/ Windows task scheduler to pull 14 day guide at 6 am. Then TVH imports XMLTV file w/ "tv_grab_file" EPG grabber at 6:30 am.
Reply
#5
(2019-08-29, 13:28)acegolfer Wrote: Copied from https://tvheadend.org/boards/5/topics/38600

Finally, I have a fully functioning TVH backend running on Windows 10 with Kodi clients.

Findings: 
1. It takes 1 second to switch live TV channels with timeshifting on (vs 4 seconds w/ NextPVR) 
2. Timeshifting is flawless. For example, if I record a 1-hr show at 2 pm, I can start watching at 2:20 pm from beginning and watch the entire show while skipping commercials without disruption (couldn't do this in NextPVR) 
3. According to Windows task manager, TVH is using 4% of CPU and 18MB of memory, while recording/playing TV.
4. No stutter/pixelation (RPi3 TVH couldn't handle two 20mbps streams writing/reading simultaneously)

Installation steps:
1. Install Ubuntu 16.04 on Windows 10: https://www.microsoft.com/en-us/p/ubuntu...jn388hp8c9 (18.04 didn't work)
2. Install TVheadend unstable version https://tvheadend.org/projects/tvheadend...positories (stable version found tuners but didn't find services)
3. http://localhost:9981 Start Wizard to set up user account, tuners, channels, EPG 
https://dirtyoptics.com/how-to-configure...nd-server/
4. Set up frontend client such as Kodi>TVheadend PVR addon (w/ IP address, user account in #3)

Tips:
1. WSL automatically mounts all HDD. I'm using E drive as the recording storage instead of default /home/hts. 
2. Starting Linux background services on Windows startup https://dev.to/ironfroggy/wsl-tips-start...login-3o98 
3. (For USA) Free EPG XMLTV http://zap2xml.awardspace.info/ 
I couldn't get TVH to pull EPG XMLTV automatically daily. I used the above program w/ Windows task scheduler to pull 14 day guide at 6 am. Then TVH imports XMLTV file w/ "tv_grab_file" EPG grabber at 6:30 am.
Been trying to get this working on 18.04 for ages- with both stable & unstable I get no services found.

As per above now trying 16.04, but get this when first running 16.04 after install from the store:

Image

Did you get this too? If so how can it be got round?  I keep entering the new username and get the same error repeated.  This doesn't happen with either of the 18.04 versions from the store.
Reply
#6
(2019-08-31, 17:18)tredman Wrote:
(2019-08-29, 13:28)acegolfer Wrote: Copied from https://tvheadend.org/boards/5/topics/38600

Finally, I have a fully functioning TVH backend running on Windows 10 with Kodi clients.

Findings: 
1. It takes 1 second to switch live TV channels with timeshifting on (vs 4 seconds w/ NextPVR) 
2. Timeshifting is flawless. For example, if I record a 1-hr show at 2 pm, I can start watching at 2:20 pm from beginning and watch the entire show while skipping commercials without disruption (couldn't do this in NextPVR) 
3. According to Windows task manager, TVH is using 4% of CPU and 18MB of memory, while recording/playing TV.
4. No stutter/pixelation (RPi3 TVH couldn't handle two 20mbps streams writing/reading simultaneously)

Installation steps:
1. Install Ubuntu 16.04 on Windows 10: https://www.microsoft.com/en-us/p/ubuntu...jn388hp8c9 (18.04 didn't work)
2. Install TVheadend unstable version https://tvheadend.org/projects/tvheadend...positories (stable version found tuners but didn't find services)
3. http://localhost:9981 Start Wizard to set up user account, tuners, channels, EPG 
https://dirtyoptics.com/how-to-configure...nd-server/
4. Set up frontend client such as Kodi>TVheadend PVR addon (w/ IP address, user account in #3)

Tips:
1. WSL automatically mounts all HDD. I'm using E drive as the recording storage instead of default /home/hts. 
2. Starting Linux background services on Windows startup https://dev.to/ironfroggy/wsl-tips-start...login-3o98 
3. (For USA) Free EPG XMLTV http://zap2xml.awardspace.info/ 
I couldn't get TVH to pull EPG XMLTV automatically daily. I used the above program w/ Windows task scheduler to pull 14 day guide at 6 am. Then TVH imports XMLTV file w/ "tv_grab_file" EPG grabber at 6:30 am.
Been trying to get this working on 18.04 for ages- with both stable & unstable I get no services found.

As per above now trying 16.04, but get this when first running 16.04 after install from the store:

Image

Did you get this too? If so how can it be got round?  I keep entering the new username and get the same error repeated.  This doesn't happen with either of the 18.04 versions from the store. 
Ok, fixed it - have to install the Ubuntu app on the system drive - installing the ubuntu app forces this to happen, with the specific 16.04 version you need to change the location manually before install.
Reply
#7
Did you get this running? I have things up and running.

Few minor issues, but one bigger one: every now and then TV Headend stops responding (perhaps due to another issue that I have fixed right now) and then the only thing I can do to fix it is: restart my Windows host.

There seems to be a tvheadend process in Windows after setting this up in Ubuntu. This process stays alive, no matter what I do! I cannot kill or restart the process... nothing!
Reply
#8
(2019-08-29, 13:28)acegolfer Wrote: Copied from https://tvheadend.org/boards/5/topics/38600

Finally, I have a fully functioning TVH backend running on Windows 10 with Kodi clients.

Findings: 
1. It takes 1 second to switch live TV channels with timeshifting on (vs 4 seconds w/ NextPVR) 
2. Timeshifting is flawless. For example, if I record a 1-hr show at 2 pm, I can start watching at 2:20 pm from beginning and watch the entire show while skipping commercials without disruption (couldn't do this in NextPVR) 
3. According to Windows task manager, TVH is using 4% of CPU and 18MB of memory, while recording/playing TV.
4. No stutter/pixelation (RPi3 TVH couldn't handle two 20mbps streams writing/reading simultaneously)

Installation steps:
1. Install Ubuntu 16.04 on Windows 10: https://www.microsoft.com/en-us/p/ubuntu...jn388hp8c9 (18.04 didn't work)
2. Install TVheadend unstable version https://tvheadend.org/projects/tvheadend...positories (stable version found tuners but didn't find services)
3. http://localhost:9981 Start Wizard to set up user account, tuners, channels, EPG 
https://dirtyoptics.com/how-to-configure...nd-server/
4. Set up frontend client such as Kodi>TVheadend PVR addon (w/ IP address, user account in #3)

Tips:
1. WSL automatically mounts all HDD. I'm using E drive as the recording storage instead of default /home/hts. 
2. Starting Linux background services on Windows startup https://dev.to/ironfroggy/wsl-tips-start...login-3o98 
3. (For USA) Free EPG XMLTV http://zap2xml.awardspace.info/ 
I couldn't get TVH to pull EPG XMLTV automatically daily. I used the above program w/ Windows task scheduler to pull 14 day guide at 6 am. Then TVH imports XMLTV file w/ "tv_grab_file" EPG grabber at 6:30 am.
Have you managed to install any tuner drivers? Do you need to install them or are they passed through from Windows? 
My tuners require media_build, which doesn't seem to build on Ubuntu (running 20.04 and TVHeadend is running)
Reply
#9
I have been using HD Homerun network tuners. That works great! Everything needed was passed through from Windows
Reply
#10
@dave2318

Please don't needlessly quote an entire large post for 1 or 2 lines of reply.

On this forum, you can select/mark a small portion of text with your mouse, and a Reply option will appear in the lower left corner of that post.
Click the Reply bar, and the selected text will be pasted into the reply text box. Repeat if you need to quote more than 1 text. Thanks Smile
Reply
#11
(2019-08-29, 13:28)acegolfer Wrote: Copied from https://tvheadend.org/boards/5/topics/38600

Finally, I have a fully functioning TVH backend running on Windows 10 with Kodi clients.

Findings: 
1. It takes 1 second to switch live TV channels with timeshifting on (vs 4 seconds w/ NextPVR) 
2. Timeshifting is flawless. For example, if I record a 1-hr show at 2 pm, I can start watching at 2:20 pm from beginning and watch the entire show while skipping commercials without disruption (couldn't do this in NextPVR) 
3. According to Windows task manager, TVH is using 4% of CPU and 18MB of memory, while recording/playing TV.
4. No stutter/pixelation (RPi3 TVH couldn't handle two 20mbps streams writing/reading simultaneously)

Installation steps:
1. Install Ubuntu 16.04 on Windows 10: https://www.microsoft.com/en-us/p/ubuntu...jn388hp8c9 (18.04 didn't work)
2. Install TVheadend unstable version https://tvheadend.org/projects/tvheadend...positories (stable version found tuners but didn't find services)
3. http://localhost:9981 Start Wizard to set up user account, tuners, channels, EPG 
https://dirtyoptics.com/how-to-configure...nd-server/
4. Set up frontend client such as Kodi>TVheadend PVR addon (w/ IP address, user account in #3)

Tips:
1. WSL automatically mounts all HDD. I'm using E drive as the recording storage instead of default /home/hts. 
2. Starting Linux background services on Windows startup https://dev.to/ironfroggy/wsl-tips-start...login-3o98 
3. (For USA) Free EPG XMLTV http://zap2xml.awardspace.info/ 
I couldn't get TVH to pull EPG XMLTV automatically daily. I used the above program w/ Windows task scheduler to pull 14 day guide at 6 am. Then TVH imports XMLTV file w/ "tv_grab_file" EPG grabber at 6:30 am.
Ubuntu 16.04 LTS is currently not available in the store..

Is there any way to get this version from somewhere else?
Is it definitely that the lastest version will not work and need exactly 16.04 LTS?
Reply
#12
Quote:Copied from https://tvheadend.org/boards/5/topics/38600

Findings: 
1. It takes 1 second to switch live TV channels with timeshifting on (vs 4 seconds w/ NextPVR) 
2. Timeshifting is flawless. For example, if I record a 1-hr show at 2 pm, I can start watching at 2:20 pm from beginning and watch the entire show while skipping commercials without disruption (couldn't do this in NextPVR) 

Both of those statements from two years ago are outdated and incorrect.  In NextPVR You can watch in-process recordings to the end, and while starting timeshifting is slower then TVHeadend, it is closer to  1.5 to 2 seconds for digital and IPTV devices.   Also of course NextPVR doesn't require the WSL2 overhead of running and managing two platforms.

Martin
Reply
#13
(2021-08-23, 00:57)madmax2 Wrote:
(2019-08-29, 13:28)acegolfer Wrote:  
Ubuntu 16.04 LTS is currently not available in the store..

Is there any way to get this version from somewhere else?
Is it definitely that the lastest version will not work and need exactly 16.04 LTS?
I just used the latest version and it worked just fine.
Reply
#14
(2021-08-23, 10:17)Plantje Wrote:
(2021-08-23, 00:57)madmax2 Wrote:
(2019-08-29, 13:28)acegolfer Wrote:  
Ubuntu 16.04 LTS is currently not available in the store..

Is there any way to get this version from somewhere else?
Is it definitely that the lastest version will not work and need exactly 16.04 LTS?
I just used the latest version and it worked just fine.

Are you running it with ubuntu 22.04 LTS (latest version)?
Can you write a guide to how to setup the tv headend with 22.04 on windows 10?
Reply
#15
I am not running this anymore at all... I switched to the Ziggo Horizon Next. It works way better than fiddling around with this stuff.

I decided to switch, because I left the TV Headend settings to default and noticed people from the US using my tuners to watch live TV. My bad, but it was the trigger to switch.

But you are not completely out of luck. I did note the steps that I took and created screen shots when I was still doing this. It is in Dutch, but Google Translate should be able to help you with that. Send me a message and I will share it with you. I also have some documentation on how to use (the now free) TV Mosaic. At the time, I thought it was the best tool available!
Reply

Logout Mark Read Team Forum Stats Members Help
SOLVED: TVH on Win10 Home?0