TVH Server Automatic Discovery
Added by Delta Mike Charlie about 1 year ago
This feature may already exist, my apologies if I have missed it.
I recently installed the NextPVR client on Kodi alongside the TVH client for a project that I am working on. I was pleasantly surprised to see that the NextPVR client automatically discovered my NextPVR server. Apart from installing the NextPVR client, there was zero configuration.
In principle, would this be a good feature for TVH to have?
Having a basically zero-configuration client option could be attractive to new users. It’s way too early to be deciding on protocols and whatnot, however, it would be interesting to see if this is a feature that would be considered worthwhile.
How NextPVR did it:
From the network traffic that I captured, I could see that the NextPVR client sent a broadcast to UDP 65001. Shortly thereafter, the NextPVR server responded with some data. They had an exchange and then ‘hey presto’ it was automatically configured. Port 65001 UDP seems to be used by ‘HDHomerun’.
I like the way that there was no constant broadcast chatter involved. The client made a single broadcast asking “is anybody out there” and the server said “yep, over here” conducting the rest of the conversation via TCP directly.
Replies (4)
RE: TVH Server Automatic Discovery - Added by Flole Systems about 1 year ago
Tvheadend already support zeroconf. If clients don't use it you should direct your request at the specific client that doesn't use it.
RE: TVH Server Automatic Discovery - Added by Delta Mike Charlie about 1 year ago
Flole Systems wrote:
Tvheadend already support zeroconf. If clients don't use it you should direct your request at the specific client that doesn't use it.
Flole Systems - Thanks for the tip. I'll look into it and perhaps add it to the Kodi pvr.hts addon.
RE: TVH Server Automatic Discovery - Added by Jonas Lang almost 1 year ago
Delta Mike Charlie wrote:
This feature may already exist, my apologies if I have missed it.
I recently installed the NextPVR client on Kodi alongside the TVH client for a project that I am working on. I was pleasantly surprised to see that the NextPVR client automatically discovered my NextPVR server. Apart from installing the NextPVR client, there was zero configuration.
In principle, would this be a good feature for TVH to have?
Having a basically zero-configuration client option could be attractive to new users. It’s way too early to be deciding on protocols and whatnot, however, it would be interesting to see if this is a feature that would be considered worthwhile.
How NextPVR did it:
From the network traffic that I captured, I could see that the NextPVR client sent a broadcast to UDP 65001. Shortly thereafter, the NextPVR server responded with some data. They had an exchange and then ‘hey presto’ it was automatically configured. Port 65001 UDP seems to be used by ‘HDHomerun’.
I like the way that there was no constant broadcast chatter involved. The client made a single broadcast asking “is anybody out there” and the server said “yep, over here” conducting the rest of the conversation via TCP directly.
What do you think of Next PVR. Obviously not an FOSS application but certainly being actively worked on. I installed it a while back and it’s certainly standing up to testing. OTA EPG still a wip but shows promise. I generated a TVH xml epg file and added it to Next PVR for a full 7 day guide. I’ll work on it a bit more and see how it performs.
RE: TVH Server Automatic Discovery - Added by Delta Mike Charlie almost 1 year ago
Jonas Lang wrote:
What do you think of Next PVR.
It seemed easy to setup and the EPG lacked parental ratings, but apart from that, I was mostly interested in getting multiple PVRs on Kodi for a project I am working on. I now have TVH, NextPVR and Demo PVR clients available for testing my new feature.