SOLVED: TVH on Win10 Home?
#1
solution here: 2881106 (post)


Currently, using Win10 NextPVR as backend and Kodi (android TV, RPi3) as frontend. This works 99% except for 1 minor issue (282357 (thread), "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 software - tvOS | android tv | win10 | kodi krypton
frontend hardware - apple tv | nvidia shield tv | yamaha rx-a1020 | quadral 5.1 | samsung le40a789
backend software - debian | kernel 4.14 | proxmox | omv | zfs raid-z2 | docker | emby | vdr | vnsi | fhem
backend hardware - supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x4tb wd red | dd max s8
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
 
Thread Rating:
  • 0 Vote(s) - 0 Average



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