2020-12-05, 04:21 AM
Did a fresh install of NextPVR v5.0.9.201026 on my media server (windows server 2019 datacenter) and supplied my Schedules Direct credentials, but no data appears to be retrieved from them.
I did some digging in the configuration file: \users\public\NPVR-data\config.xml and it looks OK, except that the URL for Schedules Direct appears to point to their deprecated API, v20140530 -- looking at github, it would seem that the this API version was superseded back in 2015 by v20141201.
I ran a wget against https://json.schedulesdirect.org and it returned:
wget https://json.schedulesdirect.org
StatusCode : 200
StatusDescription : OK
Content : <html>
See API documentation at <a
href="https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201">https://github.com/Schedul
esDirect/JSON-Service/wiki/API-20141201</a>
</html>
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Vary: Accept-Encoding
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Accept-Ranges: bytes
Content-Length: 186...
Forms : {}
Headers : {[Connection, keep-alive], [Vary, Accept-Encoding], [X-Frame-Options, SAMEORIGIN],
[X-Content-Type-Options, nosniff]...}
Images : {}
InputFields : {}
Links : {@{innerHTML=https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201;
innerText=https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201; outerHTML=<A href="htt
ps://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201">https://github.com/SchedulesDirect/
JSON-Service/wiki/API-20141201</A>;
outerText=https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201; tagName=A;
href=https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201}}
ParsedHtml : System.__ComObject
RawContentLength : 186
Which appears to point to API version 20141201 as the current API -- A quick reading of the wiki shows that the 20140530 API was
retired in 2015. It seems unlikely that no one but me been using NextPVR with Schedules Direct. Is there were a facility within NextPVR, or
perhaps a utility to test connection to Schedules Direct? (I didn't see anything in the documentation about it.)
Or maybe I'm just missing something really obvious.
Thanks for any assistance!
Mark
I did some digging in the configuration file: \users\public\NPVR-data\config.xml and it looks OK, except that the URL for Schedules Direct appears to point to their deprecated API, v20140530 -- looking at github, it would seem that the this API version was superseded back in 2015 by v20141201.
I ran a wget against https://json.schedulesdirect.org and it returned:
wget https://json.schedulesdirect.org
StatusCode : 200
StatusDescription : OK
Content : <html>
See API documentation at <a
href="https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201">https://github.com/Schedul
esDirect/JSON-Service/wiki/API-20141201</a>
</html>
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Vary: Accept-Encoding
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Accept-Ranges: bytes
Content-Length: 186...
Forms : {}
Headers : {[Connection, keep-alive], [Vary, Accept-Encoding], [X-Frame-Options, SAMEORIGIN],
[X-Content-Type-Options, nosniff]...}
Images : {}
InputFields : {}
Links : {@{innerHTML=https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201;
innerText=https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201; outerHTML=<A href="htt
ps://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201">https://github.com/SchedulesDirect/
JSON-Service/wiki/API-20141201</A>;
outerText=https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201; tagName=A;
href=https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201}}
ParsedHtml : System.__ComObject
RawContentLength : 186
Which appears to point to API version 20141201 as the current API -- A quick reading of the wiki shows that the 20140530 API was
retired in 2015. It seems unlikely that no one but me been using NextPVR with Schedules Direct. Is there were a facility within NextPVR, or
perhaps a utility to test connection to Schedules Direct? (I didn't see anything in the documentation about it.)
Or maybe I'm just missing something really obvious.
Thanks for any assistance!
Mark