NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Extras v
« Previous 1 2 3 4 Next »
Custom HDHR Extra

 
  • 0 Vote(s) - 0 Average
Custom HDHR Extra
Route66Fan
Offline

Junior Member

USA
Posts: 2
Threads: 0
Joined: Aug 2021
#51
2021-08-25, 09:45 PM
How do I get this to work? When I try to install it, I get the following message:
C:\Windows\system32>python C:\Users\Public\NPVR-data\scripts\hdhrconnect\hdhrconnect.py install
Traceback (most recent call last):
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\connection.py", line 96, in create_connection
    raise err
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1257, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1303, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1252, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1012, in _send_output
    self.send(msg)
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 952, in send
    self.connect()
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 200, in connect
    conn = self._new_conn()
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x00000115E2B80490>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.64', port=80): Max retries exceeded with url: /discover.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x00000115E2B80490>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Public\NPVR-data\scripts\hdhrconnect\hdhrconnect.py", line 106, in <module>
    FindIP()
  File "C:\Users\Public\NPVR-data\scripts\hdhrconnect\hdhrconnect.py", line 79, in FindIP
    discovered = requests.get(device['DiscoverURL'])
  File "C:\Users\uhfvh\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Users\uhfvh\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Users\uhfvh\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Users\uhfvh\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\Users\uhfvh\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.64', port=80): Max retries exceeded with url: /discover.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x00000115E2B80490>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#52
2021-08-25, 09:59 PM
Can you see your device(s) on http://ipv4-api.hdhomerun.com/discover in a browser? If yes can you click through to the DiscoverURL link that is returned?

If not I suspect a firewall blocking your access.

Martin
Route66Fan
Offline

Junior Member

USA
Posts: 2
Threads: 0
Joined: Aug 2021
#53
2021-08-26, 07:00 AM
I disabled my firewall & I now get this error message:
C:\Windows\system32>python C:\Users\Public\NPVR-data\scripts\hdhrconnect\hdhrconnect.py install
HDHomeRun CONNECT 4K http://192.168.1.64:80
Add this device (y/N)?: y
Use transcoding for this device (y/N)?: y
Generating Extra file in C:\Users\Public\NPVR-data\
Traceback (most recent call last):
File "C:\Users\Public\NPVR-data\scripts\hdhrconnect\hdhrconnect.py", line 118, in <module>
GenerateExtras(device, install, transcode = True)
File "C:\Users\Public\NPVR-data\scripts\hdhrconnect\hdhrconnect.py", line 48, in GenerateExtras
if device['ModelNumber'].startswith('HDHR5-4K') and (station['AudioCodec'].upper() == 'NONE' or station['AudioCodec'].upper() == 'AC4'):
KeyError: 'AudioCodec'
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#54
2021-08-26, 12:31 PM
I have updated post #1 with a fix for that. We don't have ATSC 3.0 in Canada so I don't have a device to use.

I don't think sub ever implemented my suggestion too automap the EPG based on pseudo ATSC channels > 100 that Silicon Dust assign so this script numbers them with the real number. The name will show you which are ATSC 3.0

My recommendation is not use the > 100 channels in NextPVR that NextPVR detects on the HDHR device unless you have a Roku Ultra that can play them. Recordings will need to stay as ts.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6


Possibly Related Threads…
Thread Author Replies Views Last Post
  TabloTV Extra mvallevand 17 4,729 2025-03-13, 10:55 PM
Last Post: mvallevand
  Reminder Pluto TV Extra removed mvallevand 0 341 2025-01-04, 06:32 PM
Last Post: mvallevand
  HDHR-Flex template VCR58 3 427 2024-11-15, 07:41 PM
Last Post: mvallevand
  help requested with sending IR Blast command with extra _Dam0_ 3 449 2024-10-11, 12:53 PM
Last Post: mvallevand
  Getting Pluto extra to work ballfam 163 14,260 2024-08-08, 07:23 PM
Last Post: mvallevand
  Is 'TabloTv Extra' Compatible with Gen 4 Devices? POWerSUrgeSW3 4 1,024 2024-06-23, 01:23 PM
Last Post: mvallevand
  windows media player extra buntay20 4 910 2023-12-17, 06:48 PM
Last Post: Jaggy
  PlutoTV Extra Commerical Exit freezing bisonfan 13 2,271 2023-12-16, 07:42 PM
Last Post: mvallevand
  Extra donation access -plutotv bisonfan 3 936 2023-09-04, 07:26 PM
Last Post: mvallevand
  PlutoTV Extra Problem Metroid 3 954 2023-07-23, 06:41 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode