2021-05-26, 03:57 PM
I am new to NextPVR and was setting up extra-locast. Everything seem to setup fine. I can see the channels and program guide, but when I go to click on a show I get "Failed to start requested stream". Based off of other help given in this forum I ran "C:\Users\Public\NPVR-data\scripts\locast\locast.bat" 1077. This gave me the following
Namespace(format='smart', tune='1077', base=None, stream=False, reverse=False, default=None)
1077
extralocast v0.70
Logging into Locast using username ******@gmail.com...
Validating User Info...
User Info obtained.
User didDonate: True
User donationExpire: 2021-07-12 21:44:48
Getting user location...
Getting location via IP Address.
Got external IP **.***.***.***.
Got location as Philadelphia - DMA 504 - Lat\Lon ********\*********
Getting station info for 1077...
Traceback (most recent call last):
File "C:\Users\Public\NPVR-data\scripts\locast\LocastService.py", line 488, in get_station_stream_uri
videoUrlRes = json.loads(videoUrlReq.text)
File "C:\Program Files\Python39\lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python39\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Public\NPVR-data\scripts\locast\locast.py", line 197, in <module>
print (locast.get_station_stream_uri(opts.tune))
File "C:\Users\Public\NPVR-data\scripts\locast\LocastService.py", line 495, in get_station_stream_uri
print("Error when getting the video URL: " + videoUrlReqErr.message)
AttributeError: type object 'JSONDecodeError' has no attribute 'message'
Namespace(format='smart', tune='1077', base=None, stream=False, reverse=False, default=None)
1077
extralocast v0.70
Logging into Locast using username ******@gmail.com...
Validating User Info...
User Info obtained.
User didDonate: True
User donationExpire: 2021-07-12 21:44:48
Getting user location...
Getting location via IP Address.
Got external IP **.***.***.***.
Got location as Philadelphia - DMA 504 - Lat\Lon ********\*********
Getting station info for 1077...
Traceback (most recent call last):
File "C:\Users\Public\NPVR-data\scripts\locast\LocastService.py", line 488, in get_station_stream_uri
videoUrlRes = json.loads(videoUrlReq.text)
File "C:\Program Files\Python39\lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python39\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Public\NPVR-data\scripts\locast\locast.py", line 197, in <module>
print (locast.get_station_stream_uri(opts.tune))
File "C:\Users\Public\NPVR-data\scripts\locast\LocastService.py", line 495, in get_station_stream_uri
print("Error when getting the video URL: " + videoUrlReqErr.message)
AttributeError: type object 'JSONDecodeError' has no attribute 'message'